summaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-12-31 17:00:29 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-31 17:00:29 -0800
commitde9e007d9105bf8fa613a89810feff32a43add03 (patch)
treeef7805d1e03e8648fbaca3713d1a749c27770339 /arch/i386
parent35f349ee082de0be45eb23926d9fc7569f5011f0 (diff)
downloadop-kernel-dev-de9e007d9105bf8fa613a89810feff32a43add03.zip
op-kernel-dev-de9e007d9105bf8fa613a89810feff32a43add03.tar.gz
sysctl: make sure to terminate strings with a NUL
This is a slightly more complete fix for the previous minimal sysctl string fix. It always terminates the returned string with a NUL, even if the full result wouldn't fit in the user-supplied buffer. The returned length is the full untruncated length, so that you can tell when truncation has occurred. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud