2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-05 08:45:22 +00:00
Files
apparmor/kernel-patches/for-mainline/export-get_task_comm.diff
2007-04-27 11:20:11 +00:00

11 lines
254 B
Diff

--- 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)
{