~xnox/upstart/do-not-launch-session-dbus

« back to all changes in this revision

Viewing changes to init/job_process.c

  • Committer: Dimitri John Ledkov
  • Date: 2014-03-06 14:25:46 UTC
  • mfrom: (1592.2.1 upstart-restrict-debug)
  • Revision ID: dimitri.ledkov@canonical.com-20140306142546-b3rvznclpe2u172v
mergeĀ lp:~jamesodhunt/upstart/restrict-debug-stanza

Show diffs side-by-side

added added

removed removed

Lines of Context:
915
915
         *   fail. Note that closing the pipe means from this point onwards,
916
916
         *   the parent cannot know the true outcome of the spawn: that
917
917
         *   responsibility lies with the debugger.
 
918
         *
 
919
         * - note that running with the debug stanza enabled will
 
920
         *   unavoidably stop stateful re-exec from working correctly
 
921
         *   since the stopped debug child process will hold copies of
 
922
         *   the parents file descriptors open until it continues to
 
923
         *   call exec below.
918
924
         */
919
925
        if (class->debug) {
920
926
                close (fds[1]);