aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-20 16:53:01 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-20 16:53:01 +0000
commit331d68f3269d75acb356dcb9edafeb4a550774bf (patch)
tree28d99d540514df3932aa6671c77e3df03602b6c4 /Makefile.common
parentf91022a24fed5755e9c4395c8eed29bb1f69af80 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23511 f5534014-38df-0310-8fa8-9805f1628bb7
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 = \