~jamesodhunt/upstart/bug-1338968

Viewing all changes in revision 1644.

  • Committer: James Hunt
  • Date: 2014-07-08 14:11:53 UTC
  • Revision ID: james.hunt@ubuntu.com-20140708141153-2ntuihncjvqzy78l
* init/job_process.c:
  - job_process_data_serialise():
    - Unconditionally toggle CLOEXEC for job_process_fd (LP: #1338968).
    - Disregard valid flag when toggling CLOEXEC for script_fd since if
      the JobProcessData still exists, we need the fd to persist across
      the re-exec.
  - job_process_data_deserialise(): As above.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: