diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-12-24 14:46:01 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-12-24 14:46:01 +0000 |
| commit | dcce7232efba9a590c63f736b9d036e0f2f283f7 (patch) | |
| tree | c0040261ba73a7967b61c848441f14b873d708be /sys/dev/an | |
| parent | f4ef616f9882eaac283d12eeabdd9c2ffe8ba31b (diff) | |
Notes
Diffstat (limited to 'sys/dev/an')
| -rw-r--r-- | sys/dev/an/if_an.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index cada570c66d1..3dccf0742487 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -1328,6 +1328,9 @@ an_ioctl(ifp, command, data) break; #ifdef ANCACHE if (sc->areq.an_type == AN_RID_ZERO_CACHE) { + error = suser(td); + if (error) + break; sc->an_sigitems = sc->an_nextitem = 0; break; } else if (sc->areq.an_type == AN_RID_READ_CACHE) { |
