summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/interface.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-06-20 01:20:55 +0000
committerschwarze <schwarze@openbsd.org>2014-06-20 01:20:55 +0000
commitfbc96d89d9d3b122b1baae6e3f140dc6e3221cfe (patch)
tree402d133f57a9b04ee40b1ac1f52f3b9c80ac44a0 /usr.sbin/tcpdump/interface.h
parentarc4random: hard fail with raise(SIGKILL) if getentropy() returns -1 (diff)
downloadwireguard-openbsd-fbc96d89d9d3b122b1baae6e3f140dc6e3221cfe.tar.xz
wireguard-openbsd-fbc96d89d9d3b122b1baae6e3f140dc6e3221cfe.zip
More tweaking of set_basedir().
1) Do not error out when getcwd(3) fails, only fail when inaccessibility of the cwd prevents processing of relative paths given on the command line. 2) Do not uselessly call set_basedir() twice in a row. While fts_read(3) in treescan() does cause the cwd to jump around, fts_close(3) is always called at the end, putting us back where we came from. The -d/-u fallback code already relied on this. 3) Fix the man-root-dir indicator in say().
Diffstat (limited to 'usr.sbin/tcpdump/interface.h')
0 files changed, 0 insertions, 0 deletions