mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: cap_prctl: don't set error to 0 at 'no_change'
This commit is contained in:
commit
3d4d4c8bb6
@ -916,7 +916,6 @@ int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3,
|
||||
return commit_creds(new);
|
||||
|
||||
no_change:
|
||||
error = 0;
|
||||
error:
|
||||
abort_creds(new);
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user