o Remove unnecessary jail() check in bpfopen() -- we limit device access

in jail using /dev namespace limits and mknod() limits, not by explicit
  checks in the device open code.
This commit is contained in:
Robert Watson 2001-02-21 05:34:34 +00:00
parent 639a9162ad
commit 5be30b375e
1 changed files with 0 additions and 3 deletions

View File

@ -322,9 +322,6 @@ bpfopen(dev, flags, fmt, p)
{
struct bpf_d *d;
if (p->p_prison)
return (EPERM);
mtx_lock(&bpf_mtx);
d = dev->si_drv1;
/*