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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72784

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;
/*