summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2014-03-13 16:46:00 +0000
committerJonathan Cameron <jic23@kernel.org>2014-03-15 14:45:14 +0000
commit598db5816664472e1649ef94b0ba4c5cc1b9f3b4 (patch)
tree4b65ace56d7a9e5617dc98bd8af60986affd415c /include/uapi/linux/errqueue.h
parent24e7d7990179e5ed38e90d78d12c25fa201c618a (diff)
iio: force snprintf for PAGE_SIZE bufs
This is a tiny preventative measure to make sure we can't write beyond PAGE_SIZE on the buffers being used in sysfs for iio. There is currently no way for this to happen, but the change makes this code more robust for the future. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions