Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   elad
Date:           Fri Nov 28 18:58:59 UTC 2008

Modified Files:
        src/sys/kern: init_sysctl.c

Log Message:
PR/40002: Daniel Horecki: sockstat doesn't work for user with sysctl
    security.curtain=1

If the kauth call failed, we'd silently continue the loop, but the error
code would remain and eventually "leak" to userspace. Reset the error to
zero when continuing.

Tested by snj@ and myself. Okay snj@.


To generate a diff of this commit:
cvs rdiff -r1.150 -r1.151 src/sys/kern/init_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index