~ubuntu-branches/ubuntu/maverick/policycoreutils/maverick

« back to all changes in this revision

Viewing changes to {arch}/policycoreutils/policycoreutils--debian/policycoreutils--debian--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1

  • Committer: Bazaar Package Importer
  • Author(s): Manoj Srivastava
  • Date: 2005-03-17 19:54:20 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050317195420-ue1cxmipm7mm9ie7
Tags: 1.22+0-2
* New upstream release
* Bug fix: "policycoreutils: package description typo(s) and the like",
  thanks to Florian Zumbiehl                         (Closes: #300054).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
12
Keywords: 
 
13
 
 
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.
 
18
 
 
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.