aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2015-10-19 10:20:28 +0000
committerDavid Howells <[email protected]>2015-10-19 10:24:51 +0000
commit911b79cde95c7da0ec02f48105358a36636b7a71 (patch)
tree623ed8957cae8115b835018968fec344fba9677d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentKEYS: Fix crash when attempt to garbage collect an uninstantiated keyring (diff)
downloadkernel-911b79cde95c7da0ec02f48105358a36636b7a71.tar.gz
kernel-911b79cde95c7da0ec02f48105358a36636b7a71.zip
KEYS: Don't permit request_key() to construct a new keyring
If request_key() is used to find a keyring, only do the search part - don't do the construction part if the keyring was not found by the search. We don't really want keyrings in the negative instantiated state since the rejected/negative instantiation error value in the payload is unioned with keyring metadata. Now the kernel gives an error: request_key("keyring", "#selinux,bdekeyring", "keyring", KEY_SPEC_USER_SESSION_KEYRING) = -1 EPERM (Operation not permitted) Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions