diff options
| author | Linus Torvalds <[email protected]> | 2006-01-01 01:00:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-01 01:00:29 +0000 |
| commit | de9e007d9105bf8fa613a89810feff32a43add03 (patch) | |
| tree | ef7805d1e03e8648fbaca3713d1a749c27770339 /Documentation/filesystems/configfs/configfs_example.c | |
| parent | Merge master.kernel.org:/home/rmk/linux-2.6-serial (diff) | |
| download | kernel-de9e007d9105bf8fa613a89810feff32a43add03.tar.gz kernel-de9e007d9105bf8fa613a89810feff32a43add03.zip | |
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 <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions
