summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-03-11 19:18:43 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2014-03-11 19:18:43 +0100
commit935f6cd323f5aa19143a3582e81e6dc544defba2 (patch)
treedd8f3524ae3ba0a638e6c5533f4da0eee3ff6c88
parent02deb090401bc84d5fe73b5bdc87e2b7a2ce856c (diff)
downloadextrace-935f6cd323f5aa19143a3582e81e6dc544defba2.tar.gz
extrace-935f6cd323f5aa19143a3582e81e6dc544defba2.tar.xz
extrace-935f6cd323f5aa19143a3582e81e6dc544defba2.zip
make cap to set the proper capabilities
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c355c4..46deaed 100644
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,8 @@ CFLAGS=-Wall -pedantic
 
 all: extrace
 
+cap: extrace
+	sudo setcap cap_net_admin+ep extrace
+
 clean:
 	rm -f extrace