diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-04-18 11:38:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-04-18 11:38:51 -0700 |
commit | 774acb2a094c218cb0129979afc67eda7e1ec4b9 (patch) | |
tree | 44073f65b4c65d3f7b583e855f0d24058cc78504 /fs/pipe.c | |
parent | b484f3c3c6f1d56cd976351d6e1bb1a4944d7447 (diff) | |
parent | a966dcfe153ab0a3d8d79cd971a079411a489be7 (diff) | |
download | linux-774acb2a094c218cb0129979afc67eda7e1ec4b9.tar.bz2 |
Merge tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux
Pull thread fixes from Christian Brauner:
"A few fixes and minor improvements:
- Correctly validate the cgroup file descriptor when clone3() is used
with CLONE_INTO_CGROUP.
- Check that a new enough version of struct clone_args is passed
which supports the cgroup file descriptor argument when
CLONE_INTO_CGROUP is set in the flags argument.
- Catch nonsensical struct clone_args layouts at build time.
- Catch extensions of struct clone_args without updating the uapi
visible size definitions at build time.
- Check whether the signal is valid early in kill_pid_usb_asyncio()
before doing further work.
- Replace open-coded rcu_read_lock()+kill_pid_info()+rcu_read_unlock()
sequence in kill_something_info() with kill_proc_info() which is a
dedicated helper to do just that"
* tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
clone3: add build-time CLONE_ARGS_SIZE_VER* validity checks
clone3: add a check for the user struct size if CLONE_INTO_CGROUP is set
clone3: fix cgroup argument sanity check
signal: use kill_proc_info instead of kill_pid_info in kill_something_info
signal: check sig before setting info in kill_pid_usb_asyncio
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions