aboutsummaryrefslogtreecommitdiff
path: root/security/safesetid
diff options
context:
space:
mode:
authorPaul Moore2023-11-01 18:42:12 -0400
committerPaul Moore2023-11-12 22:54:42 -0500
commit9ba8802c8b66fbde2ee32ab4c44cd418f9444486 (patch)
treec24159c49950527c3e9159cc0fbc7fbf1880c054 /security/safesetid
parent41793202292fd2acf99fdc09eff8323cc27c80eb (diff)
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202310270805.2ArE52i5-lkp@intel.com/ Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/safesetid')
0 files changed, 0 insertions, 0 deletions