* [PATCH] CRED: Use correct task_struct members in cred.h comments
@ 2008-09-25 14:03 David Howells
2008-09-25 21:56 ` James Morris
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2008-09-25 14:03 UTC (permalink / raw)
To: jmorris; +Cc: dhowells, marc.c.dionne, linux-security-module, linux-kernel
From: Marc Dionne <marc.c.dionne@gmail.com>
Adjust comments in linux/cred.h - use the correct names for the struct cred
pointers in the task_struct structure.
Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/cred.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/cred.h b/include/linux/cred.h
index 1f8d8d0..26c1ab1 100644
--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -101,14 +101,14 @@ struct thread_group_cred {
* Note that some members of this structure belong to both categories - the
* LSM security pointer for instance.
*
- * A task has two security pointers. task->sec points to the objective context
- * that defines that task's actual details. The objective part of this context
- * is used whenever that task is acted upon.
+ * A task has two security pointers. task->real_cred points to the objective
+ * context that defines that task's actual details. The objective part of this
+ * context is used whenever that task is acted upon.
*
- * task->act_as points to the subjective context that defines the details of
- * how that task is going to act upon another object. This may be overridden
+ * task->cred points to the subjective context that defines the details of how
+ * that task is going to act upon another object. This may be overridden
* temporarily to point to another security context, but normally points to the
- * same context as task->sec.
+ * same context as task->real_cred.
*/
struct cred {
atomic_t usage;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] CRED: Use correct task_struct members in cred.h comments
2008-09-25 14:03 [PATCH] CRED: Use correct task_struct members in cred.h comments David Howells
@ 2008-09-25 21:56 ` James Morris
0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2008-09-25 21:56 UTC (permalink / raw)
To: David Howells; +Cc: marc.c.dionne, linux-security-module, linux-kernel
On Thu, 25 Sep 2008, David Howells wrote:
> From: Marc Dionne <marc.c.dionne@gmail.com>
>
> Adjust comments in linux/cred.h - use the correct names for the struct cred
> pointers in the task_struct structure.
>
> Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
> Signed-off-by: David Howells <dhowells@redhat.com>
Applied to:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next-creds-subsys
--
James Morris
<jmorris@namei.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-25 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-25 14:03 [PATCH] CRED: Use correct task_struct members in cred.h comments David Howells
2008-09-25 21:56 ` James Morris
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®