]> The Tcpdump Group git mirrors - tcpdump/commit
Switch user ID/root directory with -Z before opening savefiles for output.
authorPaul Ferrell <[email protected]>
Sun, 7 Nov 2010 02:28:10 +0000 (19:28 -0700)
committerGuy Harris <[email protected]>
Sun, 7 Nov 2010 02:31:18 +0000 (19:31 -0700)
commit7d1f7c8db46f87de584bbcdf118d99d02eba57b9
treed824ef4e826d32183635ba4df9bc1282be8f0ec3
parent0580f13f62c8a01a5f52439b66a760deb62b8623
Switch user ID/root directory with -Z before opening savefiles for output.

In addition to Paul's change, I added a comment explaining why we do
this, and explaining that doing so after opening the first savefile
doesn't help with subsequent savefiles, so you'll have to come up with a
better fix if you want the savefiles opened by the original UID or
outside the chroot.

Reviewed-By: Guy Harris <[email protected]>
CREDITS
tcpdump.c