From 58914b5248b3f4e09be4394ac47f297fbd226877 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 20 Nov 2007 16:53:01 +0000 Subject: 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 --- Makefile.common | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.common') 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 = \ -- cgit v1.2.3