Notes |
(0001107)
rfelker
02-18-06 22:21
|
As you can see, this bug is filed under busybox. :)
My bad for saying uClibc in the description. Everything else I said still applies (to busybox). |
| |
(0001108)
vapier
02-18-06 22:34
|
most of the time, vfork is used instead of fork so that busybox will work nicely on uClinux systems |
| |
(0001109)
rfelker
02-18-06 23:47
|
Ah, perhaps an option should be available then? Clearly BusyBox's use of vfork is not legitimate according to POSIX.
Actually in the case of my crash, it turned out to be another issue causing it; with that addressed, vfork does not cause corruption/crash. However, in theory it could cause a crash, and it would probably be a good idea to make the conformant behavior optional (even if just via -Dvfork=fork or something..). |
| |
(0001110)
vapier
02-18-06 23:53
|
vfork doesnt say that it's incorrect, simply that the behavior is undefined
in the linux world, this means that the child and parent process share the same bits of memory so running any calls in the child will affect the parent accordingly |
| |