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

Viewing all changes in revision 13.

  • Committer: Scott James Remnant
  • Date: 2006-08-09 16:37:00 UTC
  • Revision ID: scott@netsplit.com-20060809163700-06c43cbbaa9ba9c9
* init/process.c (process_spawn): Spawn a process using the job
details to set up the environment, etc.
(process_setup_console): Set up the console according to the job.
(process_setup_limits): Set up the limits according to the job.
(process_setup_environment): Set up the environment according to
the job.
(process_kill): Simple function to send a kill signal or raise an
error; mostly just a wrapper without any particular logic.
* init/process.h: Prototypes and macros.
* init/tests/test_process.c: Test cases.
* init/Makefile.am (init_SOURCES): Build and link process.c and
its header file.
(TESTS): Run the process test suite.
(test_process_SOURCES, test_process_LDFLAGS, test_process_LDADD):
Details for process test sutie binary.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: