tAdd PaX support. - surf - customized build of surf, the suckless webkit browser
HTML git clone git://src.adamsgaard.dk/surf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 294142a806c9423ab47309c8871815e12e7c0107
DIR parent 957a6f0812bbc7140b89219de68458c715f35999
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 18 Aug 2015 18:21:34 +0200
Add PaX support.
Mprotect needs to be turned off for Webkit.
Diffstat:
M Makefile | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -47,6 +47,7 @@ install: all
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f surf ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
+ @[ -e /sbin/paxctl ] && /sbin/paxctl -m ${DESTDIR}${PREFIX}/bin/surf
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1