aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-11-20 16:53:01 +0000
committerGerald Combs <gerald@wireshark.org>2007-11-20 16:53:01 +0000
commit58914b5248b3f4e09be4394ac47f297fbd226877 (patch)
tree28d99d540514df3932aa6671c77e3df03602b6c4 /Makefile.common
parentbe81aa150ebf189120bbfbdf1d9609c70d0b787a (diff)
If libcap is present, have dumpcap use it to drop privileges while
retaining CAP_NET_ADMIN and CAP_NET_RAW. Update some Makefile dependencies for dumpcap. svn path=/trunk/; revision=23511
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 3ce45aeb0e..9156b6b6b4 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -233,7 +233,8 @@ dumpcap_SOURCES = \
sync_pipe_write.c \
tempfile.c \
version_info.c \
- epan/unicode-utils.c
+ epan/unicode-utils.c \
+ epan/privileges.c
# corresponding headers
dumpcap_INCLUDES = \
@@ -241,7 +242,9 @@ dumpcap_INCLUDES = \
capture_stop_conditions.h \
conditions.h \
pcapio.h \
- ringbuffer.h
+ ringbuffer.h \
+ epan/unicode-utils.h \
+ epan/privileges.h
# this target needed for distribution only
noinst_HEADERS = \