diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-08-28 08:12:18 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-08-28 08:12:18 +0000 |
commit | 2f94dd6944a290e51c2f0711b019811be4957ef0 (patch) | |
tree | c24ebca7adeb137315e8939eb2be05162b114bd5 /sys/net | |
parent | 0b1203824eabc6970b02ac235b767fc47392867e (diff) |
Add new ioctls to securelevel check, from Can Erkin Acar
<canacar@eee.metu.edu.tr>
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 8c0637e0192..70e208fa407 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.140 2001/08/28 00:02:43 frantzen Exp $ */ +/* $OpenBSD: pf.c,v 1.141 2001/08/28 08:12:17 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -821,6 +821,9 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) case DIOCADDRDR: case DIOCCOMMITRDRS: case DIOCCLRSTATES: + case DIOCCHANGERULE: + case DIOCCHANGENAT: + case DIOCCHANGERDR: case DIOCSETTIMEOUT: return EPERM; } |