diff options
| author | Paul Moore <[email protected]> | 2023-11-01 22:42:12 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2023-11-13 03:54:42 +0000 |
| commit | 9ba8802c8b66fbde2ee32ab4c44cd418f9444486 (patch) | |
| tree | c24159c49950527c3e9159cc0fbc7fbf1880c054 /security/bpf/hooks.c | |
| parent | lsm: align based on pointer length in lsm_fill_user_ctx() (diff) | |
| download | kernel-9ba8802c8b66fbde2ee32ab4c44cd418f9444486.tar.gz kernel-9ba8802c8b66fbde2ee32ab4c44cd418f9444486.zip | |
lsm: convert security_setselfattr() to use memdup_user()
As suggested by the kernel test robot, memdup_user() is a better
option than the combo of kmalloc()/copy_from_user().
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Acked-by: Casey Schaufler <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions
