Re: [PATCH v1 0/2] Fix misuse of security_capable()

2020-11-17 Thread Kees Cook
On Fri, 30 Oct 2020 13:38:47 +0100, Mickaël Salaün wrote: > This series replaces all the use of security_capable(current_cred(), > ...) with ns_capable{,_noaudit}() which set PF_SUPERPRIV. > > This initially come from a review of Landlock by Jann Horn: >

[PATCH v1 0/2] Fix misuse of security_capable()

2020-10-30 Thread Mickaël Salaün
This series replaces all the use of security_capable(current_cred(), ...) with ns_capable{,_noaudit}() which set PF_SUPERPRIV. This initially come from a review of Landlock by Jann Horn: https://lore.kernel.org/lkml/cag48ez1fqvkt78129wozbwfbvhapyar9ojahfhabbnxebr9...@mail.gmail.com/ Mickaël