mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] CacheFiles: Fix the documentation to use the correct credential pointer names
@ 2009-04-23 10:21 David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2009-04-23 10:21 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: linux-kernel, Marc Dionne, David Howells

From: Marc Dionne <marc.c.dionne@gmail.com>

Adjust the CacheFiles documentation to use the correct names of the credential
pointers in task_struct.

The documentation was using names from the old versions of the credentials
patches.

Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
---

 Documentation/filesystems/caching/cachefiles.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Documentation/filesystems/caching/cachefiles.txt b/Documentation/filesystems/caching/cachefiles.txt
index c78a49b..748a1ae 100644
--- a/Documentation/filesystems/caching/cachefiles.txt
+++ b/Documentation/filesystems/caching/cachefiles.txt
@@ -407,7 +407,7 @@ A NOTE ON SECURITY
 ==================
 
 CacheFiles makes use of the split security in the task_struct.  It allocates
-its own task_security structure, and redirects current->act_as to point to it
+its own task_security structure, and redirects current->cred to point to it
 when it acts on behalf of another process, in that process's context.
 
 The reason it does this is that it calls vfs_mkdir() and suchlike rather than
@@ -429,9 +429,9 @@ This means it may lose signals or ptrace events for example, and affects what
 the process looks like in /proc.
 
 So CacheFiles makes use of a logical split in the security between the
-objective security (task->sec) and the subjective security (task->act_as).  The
-objective security holds the intrinsic security properties of a process and is
-never overridden.  This is what appears in /proc, and is what is used when a
+objective security (task->real_cred) and the subjective security (task->cred).
+The objective security holds the intrinsic security properties of a process and
+is never overridden.  This is what appears in /proc, and is what is used when a
 process is the target of an operation by some other process (SIGKILL for
 example).
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-23 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23 10:21 [PATCH] CacheFiles: Fix the documentation to use the correct credential pointer names David Howells

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®