Avoid unnecessary em zeroing in non-exec path as it already zeroed by malloc with M_ZERO flag and move zeroing to the proper place in exec path.
Details
Details
- Reviewers
trasz - Group Reviewers
Linux Emulation - Commits
- rS283454: Avoid unnecessary em zeroing in non-exec path
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/compat/linux/linux_emul.c | ||
---|---|---|
120 โ | (On Diff #3056) | Those three were not cleared in the previous version of the code. Why do it now? |
sys/compat/linux/linux_emul.c | ||
---|---|---|
120 โ | (On Diff #3056) | because it was a bug, this is the 'exec' case and for newly created process I'm clean previous proc's data. |