summaryrefslogtreecommitdiff
path: root/lib/libc/sys/truncate.c
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2019-01-11 01:56:55 +0000
committerkn <kn@cvs.openbsd.org>2019-01-11 01:56:55 +0000
commitb91757e91a2808b17750d5ac32aebebfaeb5eef9 (patch)
tree048280e679f6e1e9761d4f9f637482f64ebdba61 /lib/libc/sys/truncate.c
parentd8ec5cced53c9b968b538b250734d4bdb7f2c932 (diff)
When creating tables inside anchors, pfctl warned about namespace
collisions with global tables, but only in certain cases and with limited information sometimes leaving users clueless. Deferring the check to process_tabledefs() where tables are eventually created, both anchor and table name are known which allows for checking all existing anchors. With this, warn on all duplicates even in dry-runs (`-n') and print quoted names so they can be copied to fix configurations right away. No functional change in parsing or ruleset production. Discussed with and OK sashan
Diffstat (limited to 'lib/libc/sys/truncate.c')
0 files changed, 0 insertions, 0 deletions