diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2022-11-06 13:03:53 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2022-11-06 13:03:53 +0000 |
commit | ae05dc611f7910521716ea9425e7b0727d0a1405 (patch) | |
tree | fe430436e6a8c5ae599ae22a228f1ff531ae592b /etc/mail | |
parent | 7b8ba3f37866787039dd00df28185d5a09570700 (diff) |
make /dev/pf a clonable device.
this provides a 1:1 relationship of pfopen() calls to pfclose()
calls. in turn, this makes it a lot easier to track stuff allocated
by a process and then clean it up if that process goes away
unexpectedly. the unique dev_t provided by the cloning machinery
gives us a good identifier to track this state with too.
discussed with h2k22
ok sashan@
deraadt@ agrees this is a good time to put this in
Diffstat (limited to 'etc/mail')
0 files changed, 0 insertions, 0 deletions