Skip to contentSkip to conversation

package/pax-utils: needs kernel headers >= 3.5

PATCH New Romain Naour 2 participants 2 messages Feb 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pax-utils: needs kernel headers >= 3.5

pax-utils require a toolchain with kernel headers >= 3.5 to provide PR_SET_NO_NEW_PRIVS.

Fixes:
http://autobuild.buildroot.net/results/a9e/a9e0287e67c03e5e385bf54578aa6c5c85206ec2

---
 package/pax-utils/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/pax-utils/Config.in +4 -0
index 58100e4..e61d9b3 100644
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_PAX_UTILS
 	bool "pax-utils"
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 # needs PR_SET_NO_NEW_PRIVS
 	help
 	  ELF related utils for ELF 32/64 binaries that can check files
 	  for security relevant properties.
 
 	  http://www.gentoo.org/proj/en/hardened/pax-utils.xml
+
+comment "pax-utils needs a toolchain w/ headers >= 3.5"
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 package/pax-utils: needs kernel headers >= 3.5

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

pax-utils require a toolchain with kernel headers >= 3.5 to provide PR_SET_NO_NEW_PRIVS.

Fixes:
http://autobuild.buildroot.net/results/a9e/a9e0287e67c03e5e385bf54578aa6c5c85206ec2

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard