mheily / jobd

A job management framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jail.c uses system() which doesn't work anymore

mheily opened this issue · comments

system() will not work because we SIG_IGN on SIGCHLD.

This breaks many things in jail.c.

as a workaround, we are not doing SIG_IGN anymore.

Need to replace all system() calls w/ run_system() and use kqueue in run_system();