Package: policycoreutils / 2.1.10-9
Metadata
| Package | Version | Patches format |
|---|---|---|
| policycoreutils | 2.1.10-9 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 legacy.patch | (download) |
run_init/open_init_pty.c |
2 1 + 1 - 0 ! |
legacy |
| 0002 Made fixfiles display the progress.patch | (download) |
scripts/fixfiles |
4 2 + 2 - 0 ! |
made fixfiles display the progress |
| 0003 init files.patch | (download) |
mcstrans/src/mcstrans.init |
36 23 + 13 - 0 ! |
init files |
| 0004 manpages.patch | (download) |
audit2why/audit2why.1 |
2 1 + 1 - 0 ! |
manpages |
| 0005 build system.patch | (download) |
Makefile |
6 4 + 2 - 0 ! |
build system |
| 0006 default config.patch | (download) |
restorecond/restorecond.conf |
5 5 + 0 - 0 ! |
default config |
| 0007 Fix infinite loop i watch code.patch | (download) |
restorecond/watch.c |
28 15 + 13 - 0 ! |
fix infinite loop i watch code
[topic--utmp-watch-fix]: Fix infinite loop i watch code
With kernel 2.6.31, restorecond uses 99% of my CPU.
This is because removing and readding the watch on utmp triggers inotify to
return an IN_IGNORED event for the old watch descriptor. If the watch gets
allocated the same wd when it is readded, then restorecond thinks that utmp
has changed, so removes and readds the watch again, potentially looping.
With kernel <= 2.6.30, this never happened, because the kernel didn't reuse
watch descriptors. So the IN_IGNORED event comes with a wd that is no
longer in use, and gets ignored. But kernel 2.6.31 reuses the same watch
descriptor.
This patch fixes that by ignoring inotify events whose only bit set is
IN_IGNORED.
Note: it is not clear to me why it is necessary to remove and readd the
watch in the first place.
Patch by Martin Orr.
Signed-off-by: Martin Orr <martin@martinorr.name>
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
|
| 0008 Only run setfiles if we found read write filesystems.patch | (download) |
scripts/fixfiles |
7 6 + 1 - 0 ! |
only run setfiles if we found read-write filesystems to run it on Signed-off-by: Manoj Srivastava <srivasta@debian.org> |
| 0009 find does not have a context switch.patch | (download) |
scripts/fixfiles |
10 5 + 5 - 0 ! |
find does not have a -context switch Do not error out if find does not have a -context switch. Signed-Off-By: Manoj Srivastava <srivasta@debian.org> |
| 0010 fix ftbfs with hardening flags.patch | (download) |
sandbox/seunshare.c |
4 2 + 2 - 0 ! |
fix ftbfs with hardening flags |
| 0011 restorecon no error.patch | (download) |
setfiles/restore.c |
3 1 + 2 - 0 ! |
make restorecon return 0 when a file has changed context with no error |
| 0012 sandbox_init_non_existing.patch | (download) |
sandbox/sandbox.init |
8 4 + 4 - 0 ! |
remove non-existing sucess and failure functions Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663419 |
| 0013 use_dpkg_buildflags.patch | (download) |
sestatus/Makefile |
2 1 + 1 - 0 ! |
use build flags from environment (dpkg-buildflags). Necessary for hardening flags. |
| 0014 po file update.patch | (download) |
po/af.po |
634 331 + 303 - 0 ! |
update po files to last source version The po files are getting updated to match the latest version of the sources during the build of the package. This is causing the package to fail to build twice in a row |
| 0015 mcstrans upgrade from squeeze | (download) |
mcstrans/src/mcstrans.c |
7 7 + 0 - 0 ! |
patch for mcstrans to not abort when it sees a squeeze config file |
| 0016 open init pty | (download) |
run_init/Makefile |
11 6 + 5 - 0 ! |
add new open_init_pty that doesn't waste cpu time |
| 0017 no sandbox | (download) |
Makefile |
2 1 + 1 - 0 ! |
add new open_init_pty that doesn't waste cpu time |
