mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
Merge tag 'lsm-pr-20260814' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm
Pull LSM updates from Paul Moore: - Remove task_euid() The task_euid(), and Rust counterpart, was never widely used, for good reason, and now that the only user is gone we're removing it to rid ourselves of both dead and funky code. - Documentation improvements Correct some of the kdoc comments for security_task_prctl() and clarify the rust comments on task UID accessors. - Fix a memory leak in the LSM syscall selftests * tag 'lsm-pr-20260814' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm: selftests/lsm: Fix memory leak in attr_lsm_count cred: delete task_euid() rust: task: clarify comments on task UID accessors lsm: clarify security_task_prctl() hook documentation
This commit is contained in:
+2
-3
@@ -3301,15 +3301,14 @@ int security_task_kill(struct task_struct *p, struct kernel_siginfo *info,
|
||||
}
|
||||
|
||||
/**
|
||||
* security_task_prctl() - Check if a prctl op is allowed
|
||||
* security_task_prctl() - Handle an LSM specific prctl() call
|
||||
* @option: operation
|
||||
* @arg2: argument
|
||||
* @arg3: argument
|
||||
* @arg4: argument
|
||||
* @arg5: argument
|
||||
*
|
||||
* Check permission before performing a process control operation on the
|
||||
* current process.
|
||||
* Handle lsm specific prctl() operations.
|
||||
*
|
||||
* Return: Return -ENOSYS if no-one wanted to handle this op, any other value
|
||||
* to cause prctl() to return immediately with that value.
|
||||
|
||||
Reference in New Issue
Block a user