summaryrefslogtreecommitdiff
path: root/addrtoname.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-27 11:38:31 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-27 11:38:31 -0800
commit913899bcbfbf37808b659b88518c6a29df89339a (patch)
treeecf948b4423c4297d512fc4fac27ea287fb7fe19 /addrtoname.h
parent5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0 (diff)
parentae7f445e458e36e2db00c270febc8066d62b784c (diff)
downloadtcpdump-913899bcbfbf37808b659b88518c6a29df89339a.tar.gz
Merge pull request #422 from tbeadle/capng_changes
Make sure to init capng before dropping root. capng_clear needs to be called before capng_change_id can be called within droproot. Otherwise, an (unusable) error message is output: "error : ret -1" and it fails to drop root privileges. This also fixes the dropping of the CAP_SETGID capability. Previously, CAP_SETUID was being dropped twice.
Diffstat (limited to 'addrtoname.h')
0 files changed, 0 insertions, 0 deletions