sched: Document task_struct::personality field
authorAndrei Epure <epure.andrei@gmail.com>
Thu, 11 Apr 2013 17:30:29 +0000 (20:30 +0300)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Apr 2013 05:20:27 +0000 (07:20 +0200)
Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1365701429-4721-1-git-send-email-epure.andrei@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h

index 9004f6e19eacc462ba719e6bc9a4639bdea16928..6bdaa73ede13abb0f7a8bd11b43776a153874f4e 100644 (file)
@@ -1105,8 +1105,10 @@ struct task_struct {
        int exit_code, exit_signal;
        int pdeath_signal;  /*  The signal sent when the parent dies  */
        unsigned int jobctl;    /* JOBCTL_*, siglock protected */
-       /* ??? */
+
+       /* Used for emulating ABI behavior of previous Linux versions */
        unsigned int personality;
+
        unsigned did_exec:1;
        unsigned in_execve:1;   /* Tell the LSMs that the process is doing an
                                 * execve */