Skip to contentSkip to conversation

include:linux: task_struct personality comment

PATCH New Andrei Epure 2 participants 2 messages Apr 11, 2013 – Apr 14, 2013 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 include:linux: task_struct personality comment

---
 include/linux/sched.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/sched.h +3 -1
index d35d2b6..c6b2119 100644
@@ -1274,8 +1274,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 */
Signature · 1 line
1.7.9.5
#1 lore raw

[tip:sched/core] sched: Document task_struct::personality field

sched: Document task_struct::personality field
Commit-ID:  9b89f6ba2ab56e4d9c00e7e591d6bc333137895e
Gitweb:     http://git.kernel.org/tip/9b89f6ba2ab56e4d9c00e7e591d6bc333137895e
Author:     Andrei Epure <[email protected]>
AuthorDate: Thu, 11 Apr 2013 20:30:29 +0300
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 12 Apr 2013 07:20:27 +0200

sched: Document task_struct::personality field

---
 include/linux/sched.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/linux/sched.h +3 -1
index 9004f6e..6bdaa73 100644
@@ -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 */