revert last two commits. vfork cannot be used in subroutine,
it trashes stack on return
This commit is contained in:
@@ -890,7 +890,6 @@ get_mountport(struct pmap *pm_mnt,
|
||||
}
|
||||
|
||||
#if BB_MMU
|
||||
/* Unlike bb_daemonize(), parent does NOT exit here, but returns 0 */
|
||||
static int daemonize(void)
|
||||
{
|
||||
int fd;
|
||||
|
Reference in New Issue
Block a user