diff options
author | Kees Cook <keescook@chromium.org> | 2016-01-20 15:00:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 17:09:18 -0800 |
commit | 41662f5cc55335807d39404371cfcbb1909304c4 (patch) | |
tree | 6416fe63b3eec53d98eda7e84ee1da01f82377b3 /arch/cris | |
parent | a460bece027301e079b9e53c5e0f67c8e3eaebc1 (diff) | |
download | op-kernel-dev-41662f5cc55335807d39404371cfcbb1909304c4.zip op-kernel-dev-41662f5cc55335807d39404371cfcbb1909304c4.tar.gz |
sysctl: enable strict writes
SYSCTL_WRITES_WARN was added in commit f4aacea2f5d1 ("sysctl: allow for
strict write position handling"), and released in v3.16 in August of
2014. Since then I can find only 1 instance of non-zero offset
writing[1], and it was fixed immediately in CRIU[2]. As such, it
appears safe to flip this to the strict state now.
[1] https://www.google.com/search?q="when%20file%20position%20was%20not%200"
[2] http://lists.openvz.org/pipermail/criu/2015-April/019819.html
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions