aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorHsuan-Chi Kuo <[email protected]>2021-03-04 23:37:08 +0000
committerKees Cook <[email protected]>2021-08-11 18:48:28 +0000
commitb4d8a58f8dcfcc890f296696cadb76e77be44b5f (patch)
tree5ea7ce2adf796c1ae64f516dac67cfcc16a8f5a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentDocumentation: seccomp: Fix typo in user notification (diff)
downloadkernel-b4d8a58f8dcfcc890f296696cadb76e77be44b5f.tar.gz
kernel-b4d8a58f8dcfcc890f296696cadb76e77be44b5f.zip
seccomp: Fix setting loaded filter count during TSYNC
The desired behavior is to set the caller's filter count to thread's. This value is reported via /proc, so this fixes the inaccurate count exposed to userspace; it is not used for reference counting, etc. Signed-off-by: Hsuan-Chi Kuo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Co-developed-by: Wiktor Garbacz <[email protected]> Signed-off-by: Wiktor Garbacz <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] Fixes: c818c03b661c ("seccomp: Report number of loaded filters in /proc/$pid/status")
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions