]> Git Repo - linux.git/commitdiff
Merge tag 'kernel.sys.v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner...
authorLinus Torvalds <[email protected]>
Tue, 31 Aug 2021 19:16:05 +0000 (12:16 -0700)
committerLinus Torvalds <[email protected]>
Tue, 31 Aug 2021 19:16:05 +0000 (12:16 -0700)
Pull set_user()  update from Christian Brauner:
 "This contains a single fix to set_user() which aligns permission
  checks with the corresponding fork() codepath. No one involved in this
  could come up with a reason for the difference.

  A capable caller can already circumvent the check when they fork where
  the permission checks are already for the relevant capabilities in
  addition to also allowing to exceed nproc when it is the init user.

  So apply the same logic to set_user()"

* tag 'kernel.sys.v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
  set_user: add capability check when rlimit(RLIMIT_NPROC) exceeds


Trivial merge
This page took 0.050566 seconds and 4 git commands to generate.