Merge lp:~goraxe/upstart/user_sid into lp:~canonical-scott/upstart/trunk
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~goraxe/upstart/user_sid |
| Merge into: | lp:~canonical-scott/upstart/trunk |
| Diff against target: |
616 lines (+460/-2) 8 files modified
init/job_class.c (+3/-0) init/job_class.h (+3/-0) init/job_process.c (+89/-0) init/job_process.h (+6/-1) init/parse_job.c (+85/-0) init/tests/test_job_class.c (+2/-0) init/tests/test_job_process.c (+47/-1) init/tests/test_parse_job.c (+225/-0) |
| To merge this branch: | bzr merge lp:~goraxe/upstart/user_sid |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott James Remnant (Canonical) | 2010-08-05 | Pending | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2011-04-27.
Description of the Change
adds a user stanza to the config set, job_process_spawn uses this to setuid before exec-ing
proposing for merge to get feedback/review on code, approach, tests, error handling etc.
| Johan Kiviniemi (ion) wrote : | # |
- 1244. By goraxe on 2010-08-07
-
convert indentation to spaces, minimise white space noise
- 1245. By goraxe on 2010-08-07
-
handle errors with getpwuid and setuid, report using nih_raise_
system_ error - 1246. By goraxe on 2010-08-10
-
change stanzer to uid, add gid, & initgroups
- 1247. By goraxe on 2010-08-10
-
fix white space
| termie (termie) wrote : | # |
ping?
| goraxe (goraxe) wrote : | # |
pong
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> termie
> Sent: January 12, 2011 1:36 PM
> To: <email address hidden>
> Subject: Re: [Merge] lp:~goraxe/upstart/user_sid into lp:upstart
>
> ping?
> --
> https:/
> You are the owner of lp:~goraxe/upstart/user_sid.
Sophos Limited, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 991 2418 08.
| Scott James Remnant (scott) wrote : | # |
At a first pass, this looks ok to me. But I'd like to do another pass or two before approving.
Could you change the proposed branch to be the new lp:upstart to make tracking easier?
Hey,
I've got some good news for you, read more about it here <http://
Later, <email address hidden>
Greetings,
Just take a look at that new store, they have so many cool things, they also have a very nice on-line store <http://
philipp
Yo!
Have you read this new book already? I'm so delighted with it, please read it here http://
Hugs, philipp
Hey,
I'd like to show you a nice gift a friend of mine gave me recently, it's something really cool)) Please take a look http://
Hope this helps, philipp
Hello,
I know you're interested in stuff like that, that is something really cool, just take a look http://
Hope this helps, philipp
Dear,
I was amazed by that shocking article I've recently read, please read it and tell me your opinion http://
Warmest regards, philipp
Hello friend,
I've recently came across that amazing stuff, it looks nice I think, take a look http://
Yours sincerely, philipp
Yo!
I've recently seen some nice stuff that might be useful for you, just take a look http://
My Best, philipp
Unmerged revisions
- 1247. By goraxe on 2010-08-10
-
fix white space
- 1246. By goraxe on 2010-08-10
-
change stanzer to uid, add gid, & initgroups
- 1245. By goraxe on 2010-08-07
-
handle errors with getpwuid and setuid, report using nih_raise_
system_ error - 1244. By goraxe on 2010-08-07
-
convert indentation to spaces, minimise white space noise
- 1243. By goraxe on 2010-08-05
-
become the user of the class
- 1242. By goraxe on 2010-08-05
-
set user to null in job_new
- 1241. By goraxe on 2010-08-05
-
add user to parser


There’s some inconsistent use of whitespace. There also are some superfluous whitespace changes to preexisting code.
Asserting getpwnam doesn’t fail might not be the best thing to do for an init daemon.
The success of the setuid call is not verified.