[Branch ~upstart-devel/upstart/trunk] Rev 1426: * init/control.c:
noreply at launchpad.net
noreply at launchpad.net
Thu Jan 31 17:25:38 UTC 2013
------------------------------------------------------------
revno: 1426
committer: James Hunt <james.hunt at ubuntu.com>
branch nick: upstart-setenv+getenv
timestamp: Thu 2013-01-31 17:23:55 +0000
message:
* init/control.c:
- Use control_check_permission() rather than
control_get_origin_uid() directly.
* init/control.h: Prototypes.
* init/job_class.c: Change calls to job_class_environment_init()
to asserts as the former only needs to be called once.
* init/main.c: main(): Make job_class_environment_init() call as
early as possible.
* init/tests/test_event.c: main(): Call
job_class_environment_init().
* util/tests/test_initctl.c:
- test_default_job_env():
- Set TERM and PATH if not set.
- Check line counts before checking expected output.
- test_clear_job_env():
- Make use of TEST_INITCTL_DEFAULT_PATH.
modified:
ChangeLog
init/control.c
init/control.h
init/job_class.c
init/main.c
init/tests/test_event.c
util/tests/test_initctl.c
--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk
Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision-diff.txt
Type: text/x-diff
Size: 15204 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20130131/faa4126f/attachment-0001.diff>
More information about the upstart-devel
mailing list