Skip to contentSkip to conversation

Description of task_struct.personality element

PATCH New Geunsik Lim 1 participant 1 message Feb 1, 2012 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Description of task_struct.personality element

This is trivial patch for helpful description of task_struct.personality elements. '???'description is not suitable to understand a element meaning of data structure.

---
 include/linux/sched.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/linux/sched.h +1 -2
index 2234985..81e9de9 100644
@@ -1307,8 +1307,7 @@ struct task_struct {
 	int exit_code, exit_signal;
 	int pdeath_signal;  /*  The signal sent when the parent dies  */
 	unsigned int jobctl;	/* JOBCTL_*, siglock protected */
-	/* ??? */
-	unsigned int personality;
+	unsigned int personality; /* Personality types of process */
 	unsigned did_exec:1;
 	unsigned in_execve:1;	/* Tell the LSMs that the process is doing an
 				 * execve */
Signature · 1 line
1.7.8.1