You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/21 14:23:59 UTC
[GitHub] [incubator-nuttx] pussuw opened a new pull request #5814: env_dup: Allocate memory from the correct memory pool
pussuw opened a new pull request #5814:
URL: https://github.com/apache/incubator-nuttx/pull/5814
When the initial proxy task is duplicated into the first user task,
the environment exists in kernel memory and this must be copied to user
memory.
The memory allocated for the new task was allocated with the parent's
priority which is incorrect. Use the new task's priority instead.
Follow-up for: #5753
## Summary
Fix bug in environment duplication
## Impact
## Testing
Tested with icicle:knsh (CONFIG_BUILD_KERNEL=y), e.g. ls fails because the working directory name resides in kernel memory.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5814: env_dup: Allocate memory from the correct memory pool
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #5814:
URL: https://github.com/apache/incubator-nuttx/pull/5814
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #5814: env_dup: Allocate memory from the correct memory pool
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on pull request #5814:
URL: https://github.com/apache/incubator-nuttx/pull/5814#issuecomment-1073970099
Maybe the best place is put into user space stack just like argument.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org