summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-03-02 15:49:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-03-03 16:18:19 -0800
commite778361555713826481be6234fd1aa030bdb035e (patch)
treed9d3324983b1c843514559482b0d1776190218b5 /Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml
parentfb35342f0a6875e52ad2903b215525b24e2f19b3 (diff)
downloadlinux-stable-e778361555713826481be6234fd1aa030bdb035e.tar.gz
linux-stable-e778361555713826481be6234fd1aa030bdb035e.tar.bz2
linux-stable-e778361555713826481be6234fd1aa030bdb035e.zip
umh: simplify the capability pointer logic
The usermodehelper code uses two fake pointers for the two capability cases: CAP_BSET for reading and writing 'usermodehelper_bset', and CAP_PI to read and write 'usermodehelper_inheritable'. This seems to be a completely unnecessary indirection, since we could instead just use the pointers themselves, and never have to do any "if this then that" kind of logic. So just get rid of the fake pointer values, and use the real pointer values instead. Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Cc: Eric Biederman <ebiederm@xmission.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Kees Cook <keescook@chromium.org> Cc: Iurii Zaikin <yzaikin@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/fsl,imxrt1050.yaml')
0 files changed, 0 insertions, 0 deletions