~jamesodhunt/ubuntu/natty/upstart/fix-chroot-sessions

Viewing all changes in revision 1144.

  • Committer: Scott James Remnant
  • Date: 2009-07-08 16:03:05 UTC
  • Revision ID: scott@netsplit.com-20090708160305-tqfv2n6lm5hs9gwp
* util/sysv.c (sysv_change_runlevel): Pretty much the core compat
function for System V, generate a runlevel event and store the
appropriate things in utmp and wtmp.
* util/sysv.h: Prototype.
* util/tests/test_sysv.c: Test cases for the new function.
* util/Makefile.am (TESTS): Run the sysv test cases
(test_sysv_SOURCES, nodist_test_sysv_SOURCES, test_sysv_LDFLAGS)
(test_sysv_LDADD): Details for the sysv test cases, which obviously
depend on the auto-generated bindings code.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: