diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-11-20 16:53:01 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-11-20 16:53:01 +0000 |
commit | 58914b5248b3f4e09be4394ac47f297fbd226877 (patch) | |
tree | 28d99d540514df3932aa6671c77e3df03602b6c4 /Makefile.common | |
parent | be81aa150ebf189120bbfbdf1d9609c70d0b787a (diff) | |
download | wireshark-58914b5248b3f4e09be4394ac47f297fbd226877.tar.gz wireshark-58914b5248b3f4e09be4394ac47f297fbd226877.tar.bz2 wireshark-58914b5248b3f4e09be4394ac47f297fbd226877.zip |
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.common | 7 |
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 = \ |