As we can have both 64 & 32 bit Linuxulator running any eventhandler
can be called twice for us. To prevent this move eventhandlers code
from linux_emul.c to the linux_common.ko module.
Details
Details
- Reviewers
- None
- Group Reviewers
Linux Emulation - Commits
- rS283422: Refund the proc emuldata struct for future use. For now move flags from
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 | ||
---|---|---|
91 ↗ | (On Diff #2219) | Might be a good idea to convert this and pem to use UMA instead of malloc. But that's for a later commit. |
223 ↗ | (On Diff #2219) | I'd suggest moving this (sx_destroy and free) to a new function, pem_free(). |
sys/compat/linux/linux_fork.c | ||
456 ↗ | (On Diff #2219) | suword32(9) instead, perhaps? |
472 ↗ | (On Diff #2219) | linux_msg() instead of printf()? |
sys/compat/linux/linux_emul.c | ||
---|---|---|
91 ↗ | (On Diff #2219) | ok, joined the todo list |