[PATCH 52/63] libselinux: maintain mode even if umask is tighter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6wTKMACgkQrlYvE4MpobPpWgCgnI66Ll1IyYpHiCZPXjU21SyE
L/QAoM4IhpyH+mdtaBGwBMRDalceaJvT
=ERJ9
-----END PGP SIGNATURE-----
>From d83bfb48774dea79cdb27363953e371fa32366ac Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Thu, 20 Oct 2011 15:13:10 -0400
Subject: [PATCH 52/63] libselinux: maintain mode even if umask is tighter

When certain programs were run which created new files they would get
default permissions based on the current users umask.  However these
files should get the same permissions as those files which they
replaced.  Do that.

Patch from: Stephen Smalley

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 libselinux/man/man3/selinux_check_access.3 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 libselinux/man/man3/selinux_check_access.3

diff --git a/libselinux/man/man3/selinux_check_access.3 b/libselinux/man/man3/selinux_check_access.3
new file mode 100644
index 0000000..a60bca4
--- /dev/null
+++ b/libselinux/man/man3/selinux_check_access.3
@@ -0,0 +1 @@
+.so man3/security_compute_av.3
-- 
1.7.7


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux