1
Revision: policycoreutils--debian--1.0--patch-1
2
Archive: srivasta@debian.org--2003-primary
3
Creator: Manoj Srivastava <srivasta@debian.org>
4
Date: Sat Jan 15 01:29:44 CST 2005
5
Standard-date: 2005-01-15 07:29:44 GMT
6
New-files: run_init/.arch-ids/open_init_pty.8.id
7
run_init/.arch-ids/open_init_pty.c.id
8
run_init/open_init_pty.8 run_init/open_init_pty.c
9
Modified-files: run_init/Makefile run_init/run_init.c
10
New-patches: srivasta@debian.org--2003-primary/policycoreutils--debian--1.0--patch-1
11
Summary: Patch run_init to open a pty
14
Do not execvp the command directly from run_init; since it would run
15
under with a pty under sysadm_devpts_t. Instead, we call open_init_tty,
16
which transitions us into initrc_t, which then spawns a new process, that
17
gets a pty with initrc_devpts_t.
19
Also, since the old open_init_tty was just an expect script, it brought
20
in a dependency on expect for just a one line of expect -- so instead,
21
rewrote the functionality in C.