summaryrefslogtreecommitdiff
path: root/usr.bin/less/less.nro
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-11 14:40:58 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-11 14:40:58 +0000
commit866fc69bd8f9208577b8ac2725d227b4ff30de41 (patch)
tree77641cece26b2bd658b6d33587e9a730c6b19f05 /usr.bin/less/less.nro
parentc341e62e40dcf89b30d4a2bcf64d515b776dee81 (diff)
set/update the queue IDs on filter rules (qid and pqid) on
-DIOCCHANGERULE (just the affected rule) -DIOCCOMMITRULES (all filter rules that get committed - one anchor or main rs) -DIOCCOMMITALTQS (all filter rules, main set plus all anchors) This fixes a whole bunch of issues. previously, this was done in userland at load time. This worked fine for the usual case, full ruleset load. It did not work inside anchors, as the queue name <-> queue ID mapping is unknown there. Also, if the queue definitions were changed without reloading the rules too (pfctl -A), the queue IDs on the rules were not updated. The three ioctls mentioned above are all entry points where the mapping is touched. helpful discussion with dhartmei@ and cedric@ helped verifying my approach for this fix was right. ok dhartmei@ cedric@
Diffstat (limited to 'usr.bin/less/less.nro')
0 files changed, 0 insertions, 0 deletions