2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-06 01:05:11 +00:00
Files
apparmor/kernel-patches/for-mainline/export-get_task_comm.diff

11 lines
254 B
Diff
Raw Normal View History

--- a/fs/exec.c
+++ b/fs/exec.c
@@ -806,6 +806,7 @@ void get_task_comm(char *buf, struct tas
strncpy(buf, tsk->comm, sizeof(tsk->comm));
task_unlock(tsk);
}
+EXPORT_SYMBOL(get_task_comm);
void set_task_comm(struct task_struct *tsk, char *buf)
{