[libcap-ng] Add PR_SET_NO_NEW_PRIVS call back to capng_lock

Steve Grubb sgrubb at fedoraproject.org
Wed May 7 14:12:29 UTC 2014


commit 75cf882f36cd6d039b2b819516945041c921a961
Author: sgrubb <sgrubb at redhat.com>
Date:   Wed May 7 10:12:49 2014 -0400

    Add PR_SET_NO_NEW_PRIVS call back to capng_lock

 libcap-ng-0.7.5-no-no_new_privs.patch |   14 --------------
 libcap-ng.spec                        |    7 ++++---
 2 files changed, 4 insertions(+), 17 deletions(-)
---
diff --git a/libcap-ng.spec b/libcap-ng.spec
index b6ce860..4a244f8 100644
--- a/libcap-ng.spec
+++ b/libcap-ng.spec
@@ -3,12 +3,11 @@
 Summary: An alternate posix capabilities library
 Name: libcap-ng
 Version: 0.7.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://people.redhat.com/sgrubb/libcap-ng
 Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
-Patch1: libcap-ng-0.7.5-no-no_new_privs.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: kernel-headers >= 2.6.11 
 
@@ -51,7 +50,6 @@ lets you set the file system based capabilities.
 
 %prep
 %setup -q
-%patch1 -p1
 
 %build
 %configure --libdir=/%{_lib}
@@ -113,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_mandir}/man8/*
 
 %changelog
+* Wed May 07 2014 Steve Grubb <sgrubb at redhat.com> 0.7.4-3
+- Add PR_SET_NO_NEW_PRIVS call back to capng_lock
+
 * Wed Apr 30 2014 Steve Grubb <sgrubb at redhat.com> 0.7.4-2
 - Remove PR_SET_NO_NEW_PRIVS call in capng_lock
 


More information about the scm-commits mailing list