]> The Tcpdump Group git mirrors - tcpdump/commit
Don't drop CAP_SYS_CHROOT before chrooting. 500/head
authorAdam Sampson <[email protected]>
Sun, 7 Feb 2016 12:43:29 +0000 (12:43 +0000)
committerAdam Sampson <[email protected]>
Sun, 7 Feb 2016 12:43:29 +0000 (12:43 +0000)
commit5a98bf50c695ce10867b7dc9d339c9686b5f643b
tree7bffd4bb4767596a5002a6a248f07a570dcf1214
parent35e410ca1f6ae8d87c9103cf04d6f6c85735b11b
Don't drop CAP_SYS_CHROOT before chrooting.

If tcpdump is configured with both libcap-ng and --with-chroot, then it
needs to keep CAP_SYS_CHROOT until droproot is complete.
tcpdump.c