Use libcapng to drop all privileges
except for CAPNG_NET_BIND_SERVICE so we can bind to ports < 1024. Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
ec18315352
commit
45a94f309b
@@ -109,11 +109,12 @@ LDADD = $(top_builddir)/lib/hdb/libhdb.la \
|
||||
$(LIB_roken) \
|
||||
$(DBLIB)
|
||||
|
||||
kdc_LDADD = libkdc.la $(LDADD) $(LIB_pidfile)
|
||||
kdc_LDADD = libkdc.la $(LDADD) $(LIB_pidfile) $(CAPNG_LIBS)
|
||||
|
||||
if FRAMEWORK_SECURITY
|
||||
kdc_LDFLAGS = -framework SystemConfiguration -framework CoreFoundation
|
||||
endif
|
||||
kdc_CFLAGS = $(CAPNG_CFLAGS)
|
||||
|
||||
digest_service_LDADD = \
|
||||
libkdc.la \
|
||||
|
Reference in New Issue
Block a user