aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-07-19 09:56:21 -0700
committerGitHub <[email protected]>2020-07-19 09:56:21 -0700
commite862b7ecfc6049df19cf0d439510f385a7707b8b (patch)
tree0522c698a48c711d37e3a1c0e7bbbb222f9e7c53 /udev
parent8fbf432ae274fc227c38012230c3bf23bda64d64 (diff)
Linux 4.10 compat: has_capability()
Stock kernels older than 4.10 do not export the has_capability() function which is required by commit e59a377. To avoid breaking the build on older kernels revert to the safe legacy behavior and return EACCES when privileges cannot be checked. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #10565 Closes #10573
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions