X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fexec.c;h=aeb135c7ff5c0c1a6f1a1dfe3b5f2018dfbd6731;hb=5df1b274cd2f0304339c7f5586fa16cce0fdfce2;hp=3f64b9f26e7df51f24254f2885d67c1f54648923;hpb=2ac9d7aaccbd598b5bd19ac40761b723bb675442;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/exec.c b/fs/exec.c index 3f64b9f26e7d..aeb135c7ff5c 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -59,6 +59,8 @@ #include #include #include + +#include #include "internal.h" int core_uses_pid; @@ -1054,6 +1056,8 @@ void set_task_comm(struct task_struct *tsk, char *buf) { task_lock(tsk); + trace_task_rename(tsk, buf); + /* * Threads may access current->comm without holding * the task lock, so write the string carefully.