Pull a security subsystem fix from James Morris "This fixes an issue in the Yama LSM" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: Yama: higher restrictions should block PTRACE_TRACEME
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -1242,8 +1242,6 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) · 1241 unmodified lines | ||
| 1242 | 1242 | * Check that the @parent process has sufficient permission to trace the |
| 1243 | 1243 | * current process before allowing the current process to present itself |
| 1244 | 1244 | * to the @parent process for tracing. |
| 1245 | − * The parent process will still have to undergo the ptrace_access_check | |
| 1246 | − * checks before it is allowed to trace this one. | |
| 1247 | 1245 | * @parent contains the task_struct structure for debugger process. |
| 1248 | 1246 | * Return 0 if permission is granted. |
| 1249 | 1247 | * @capget: |