* [PATCH v2] include:linux: task_struct personality comment
@ 2013-04-11 17:30 Andrei Epure
2013-04-14 16:09 ` [tip:sched/core] sched: Document task_struct::personality field tip-bot for Andrei Epure
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Epure @ 2013-04-11 17:30 UTC (permalink / raw)
To: mingo, peterz; +Cc: linux-kernel, Andrei Epure
Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
---
include/linux/sched.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d35d2b6..c6b2119 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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 */
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:sched/core] sched: Document task_struct::personality field
2013-04-11 17:30 [PATCH v2] include:linux: task_struct personality comment Andrei Epure
@ 2013-04-14 16:09 ` tip-bot for Andrei Epure
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Andrei Epure @ 2013-04-14 16:09 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, a.p.zijlstra, torvalds, akpm,
epure.andrei, tglx
Commit-ID: 9b89f6ba2ab56e4d9c00e7e591d6bc333137895e
Gitweb: http://git.kernel.org/tip/9b89f6ba2ab56e4d9c00e7e591d6bc333137895e
Author: Andrei Epure <epure.andrei@gmail.com>
AuthorDate: Thu, 11 Apr 2013 20:30:29 +0300
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Fri, 12 Apr 2013 07:20:27 +0200
sched: Document task_struct::personality field
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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9004f6e..6bdaa73 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-14 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-11 17:30 [PATCH v2] include:linux: task_struct personality comment Andrei Epure
2013-04-14 16:09 ` [tip:sched/core] sched: Document task_struct::personality field tip-bot for Andrei Epure
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®