linux-hardened/fs/autofs
Sukadev Bhattiprolu fa0334f19f Replace pid_t in autofs with struct pid reference
Make autofs container-friendly by caching struct pid reference rather than
pid_t and using pid_nr() to retreive a task's pid_t.

ChangeLog:
	- Fix Eric Biederman's comments - Use find_get_pid() to hold a
	  reference to oz_pgrp and release while unmounting; separate out
	  changes to autofs and autofs4.
	- Fix Cedric's comments: retain old prototype of parse_options()
	  and move necessary change to its caller.

Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: containers@lists.osdl.org
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-11 08:29:36 -07:00
..
autofs_i.h Replace pid_t in autofs with struct pid reference 2007-05-11 08:29:36 -07:00
dirhash.c [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
init.c [PATCH] autofs3: Make sure all dentries refs are released before calling kill_anon_super() 2006-10-20 10:26:38 -07:00
inode.c Replace pid_t in autofs with struct pid reference 2007-05-11 08:29:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
root.c Replace pid_t in autofs with struct pid reference 2007-05-11 08:29:36 -07:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
waitq.c [PATCH] autofs4: panic after mount fail 2006-11-14 09:09:27 -08:00