]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove slightly oddly placed suser() call from the KTR/ALQ setup sysctl:
authorRobert Watson <rwatson@FreeBSD.org>
Sat, 9 Sep 2006 16:09:01 +0000 (16:09 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Sat, 9 Sep 2006 16:09:01 +0000 (16:09 +0000)
commit484cc85edb630fcd57bf9841591a75a38f375841
tree0fb8c59b5bbf0db92241f8b2d3c58e24b0c344a9
parentf3ed5ebbcfb21ee4b0f008250a3301522317f26a
Remove slightly oddly placed suser() call from the KTR/ALQ setup sysctl:
it was present only in the enable path, not the disable path, which one
presumes would be equally of interest.  Either way, it was not needed,
as the sysctl framework already calls suser() if the operation is a
write operation, which configuration requests are.

Sponsored by: nCircle Network Security, Inc.
sys/kern/kern_ktr.c