2012-02-01 06:03:00

by Geunsik Lim

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Geunsik Lim <[email protected]>
---
include/linux/sched.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2234985..81e9de9 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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 */
--
1.7.8.1