• Pavel Emelyanov's avatar
    daemon: Write own daemon routine · 29952618
    Pavel Emelyanov authored
    RPC will start page-server daemon and needs to get the
    controll back to report back to caller, but the glibc's
    daemon() does exit() in parent context preventing it.
    
    Thus -- introduce own daemonizing routine.
    
    Strictly speaking, this is not pure daemon() clone, as the
    parent process has to exit himself. But this is OK for now.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    29952618
util.h 6.95 KB