Fix English in templates for sepolgen
This commit is contained in:
parent
e1a62b20ba
commit
db51c1ef98
@ -81,7 +81,7 @@ index 9db766c..92034be 100644
|
|||||||
* Do not execvp the command directly from run_init; since it would run
|
* Do not execvp the command directly from run_init; since it would run
|
||||||
* under with a pty under sysadm_devpts_t. Instead, we call open_init_tty,
|
* under with a pty under sysadm_devpts_t. Instead, we call open_init_tty,
|
||||||
diff --git a/policycoreutils/sandbox/seunshare.c b/policycoreutils/sandbox/seunshare.c
|
diff --git a/policycoreutils/sandbox/seunshare.c b/policycoreutils/sandbox/seunshare.c
|
||||||
index c493e98..902792e 100644
|
index c493e98..a084e0e 100644
|
||||||
--- a/policycoreutils/sandbox/seunshare.c
|
--- a/policycoreutils/sandbox/seunshare.c
|
||||||
+++ b/policycoreutils/sandbox/seunshare.c
|
+++ b/policycoreutils/sandbox/seunshare.c
|
||||||
@@ -43,8 +43,8 @@
|
@@ -43,8 +43,8 @@
|
||||||
@ -140,8 +140,8 @@ index c493e98..902792e 100644
|
|||||||
|
|
||||||
+ /* Remount / as SLAVE so that nothing mounted in the namespace
|
+ /* Remount / as SLAVE so that nothing mounted in the namespace
|
||||||
+ shows up in the parent */
|
+ shows up in the parent */
|
||||||
+ if (mount("/", "/", NULL, MS_SLAVE | MS_REC , NULL) < 0) {
|
+ if (mount("none", "/", NULL, MS_SLAVE | MS_REC , NULL) < 0) {
|
||||||
+ fprintf(stderr, _("Failed to make / a SLAVE mountpoint\n"));
|
+ perror(_("Failed to make / a SLAVE mountpoint\n"));
|
||||||
+ goto childerr;
|
+ goto childerr;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.10
|
Version: 2.1.10
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# Based on git repository with tag 20101221
|
# Based on git repository with tag 20101221
|
||||||
@ -356,6 +356,9 @@ fi
|
|||||||
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 9 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.10-5
|
||||||
|
- Fix English in templates for sepolgen
|
||||||
|
|
||||||
* Fri Dec 23 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.10-4
|
* Fri Dec 23 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.10-4
|
||||||
- Fix the handling of namespaces in seunshare/sandbox.
|
- Fix the handling of namespaces in seunshare/sandbox.
|
||||||
- Currently mounting of directories within sandbox is propogating to the
|
- Currently mounting of directories within sandbox is propogating to the
|
||||||
|
Loading…
Reference in New Issue
Block a user