~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 405.

  • Committer: Scott James Remnant
  • Date: 2007-02-05 21:09:30 UTC
  • Revision ID: scott@netsplit.com-20070205210930-8cadyhviya03wb2e
* init/process.c (process_spawn): Exit with 255 so we don't clash
with anything that uses 1 as a normal exit code.  Note why we only
close 0..2 (everything else is FD_CLOEXEC).
* init/cfgfile.c (cfg_watch_dir): Mark the inotify watch descriptor
as FD_CLOEXEC.
* init/control.c (control_open): nih_io_set_cloexec can only ever
return EINVAL, so no point checking it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: