mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-08 18:59:00 +00:00
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>
57 KiB
57 KiB