aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/yama/yama_lsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
index c19f6e5df9a3..9b756b1f3dc5 100644
--- a/security/yama/yama_lsm.c
+++ b/security/yama/yama_lsm.c
@@ -47,8 +47,8 @@ static void report_access(const char *access, struct task_struct *target,
47{ 47{
48 char *target_cmd, *agent_cmd; 48 char *target_cmd, *agent_cmd;
49 49
50 target_cmd = kstrdup_quotable_cmdline(target, GFP_KERNEL); 50 target_cmd = kstrdup_quotable_cmdline(target, GFP_ATOMIC);
51 agent_cmd = kstrdup_quotable_cmdline(agent, GFP_KERNEL); 51 agent_cmd = kstrdup_quotable_cmdline(agent, GFP_ATOMIC);
52 52
53 pr_notice_ratelimited( 53 pr_notice_ratelimited(
54 "ptrace %s of \"%s\"[%d] was attempted by \"%s\"[%d]\n", 54 "ptrace %s of \"%s\"[%d] was attempted by \"%s\"[%d]\n",