lp:~broder/upstart/drop-privileges
- Get this branch:
- bzr branch lp:~broder/upstart/drop-privileges
Branch merges
- James Hunt: Needs Fixing
-
Diff: 748 lines (+536/-8)12 files modifiedcontrib/vim/syntax/upstart.vim (+1/-1)
init/errors.h (+4/-0)
init/job_class.c (+3/-0)
init/job_class.h (+4/-0)
init/job_process.c (+82/-0)
init/job_process.h (+4/-0)
init/man/init.5 (+26/-0)
init/parse_job.c (+84/-0)
init/tests/test_job_class.c (+4/-0)
init/tests/test_job_process.c (+49/-7)
init/tests/test_parse_job.c (+234/-0)
util/tests/test_user_sessions.sh (+41/-0)
Branch information
Recent revisions
- 1339. By Evan Broder
-
* init/job_process.c: Cast signed constants to uid_t and gid_t before
comparing them with the same to correct warnings from the
build. uid_t and gid_t are unsigned, but -1 is still their dummy
value - 1338. By Evan Broder
-
* init/tests/
test_job_ process. c, util/tests/ test_user_ sessions. sh:
Test setuid and setgid stanzas as thoroughly as an unprivileged user
can (i.e. make sure dropping to yourself works, and escalating to
anything else doesn't) - 1336. By Evan Broder
-
* init/man/init.5: Correct spelling typo and clarify that system jobs
which drop privilege are still system jobs, not user jobs. - 1335. By Evan Broder
-
* init/man/init.5: Document new setuid and setgid stanzas, including
their behavior when unspecified. - 1334. By Evan Broder
-
* init/job_process.c, init/job_process.h, init/errors.h: If setuid or
setgid stanzas are specified, drop privileges just before executing
the job. - 1332. By Evan Broder
-
* init/parse_job.c: Parse setuid and setgid stanzas from config files
taking a user and group name argument, respectively. - 1330. By Evan Broder
-
* init/job_class.c, init/job_class.h: Add new setuid and setgid fields
to JobClass
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:upstart