diff options
author | John Baldwin <jhb@FreeBSD.org> | 2011-08-18 22:20:45 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2011-08-18 22:20:45 +0000 |
commit | f55d3fbe8438d73a393729763a4abca5b72233a2 (patch) | |
tree | a8ee9be64f5c495066e35ec20358a668de26cc4a /sys/kern/kern_sig.c | |
parent | 672d7ddbcc406da93d22b0e74ee5d70659bd69ef (diff) | |
download | src-f55d3fbe8438d73a393729763a4abca5b72233a2.tar.gz src-f55d3fbe8438d73a393729763a4abca5b72233a2.zip |
One of the general principles of the sysctl(3) API is that a user can
query the needed size for a sysctl result by passing in a NULL old
pointer and a valid oldsize. The kern.proc.args sysctl handler broke
this assumption by not calling SYSCTL_OUT() if the old pointer was
NULL.
Approved by: re (kib)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=224986
Diffstat (limited to 'sys/kern/kern_sig.c')
0 files changed, 0 insertions, 0 deletions