[PATCH] Description of task_struct.personality element

From: Geunsik Lim
Date: Wed Feb 01 2012 - 01:03:16 EST


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 <geunsik.lim@xxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/