[TOMOYO 01/15](repost) Allow use of namespace_sem from LSM module.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kentaro Takeda
Date: Tuesday, October 2, 2007 - 12:28 am

TOMOYO Linux uses pathnames for auditing and controlling file access.
Therefore, namespace_sem is needed.

Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
---
 fs/namespace.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/fs/namespace.c	2007-10-02 11:11:53.000000000 +0900
+++ linux-2.6/fs/namespace.c	2007-10-02 11:26:21.000000000 +0900
@@ -38,7 +38,7 @@ static int event;
 static struct list_head *mount_hashtable __read_mostly;
 static int hash_mask __read_mostly, hash_bits __read_mostly;
 static struct kmem_cache *mnt_cache __read_mostly;
-static struct rw_semaphore namespace_sem;
+struct rw_semaphore namespace_sem;
 
 /* /sys/fs */
 decl_subsys(fs, NULL, NULL);

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[TOMOYO 01/15](repost) Allow use of namespace_sem from LSM ..., Kentaro Takeda, (Tue Oct 2, 12:28 am)
[TOMOYO 06/15](repost) Auditing interface., Kentaro Takeda, (Tue Oct 2, 12:33 am)
[TOMOYO 07/15](repost) File access control functions., Kentaro Takeda, (Tue Oct 2, 12:34 am)
[TOMOYO 08/15](repost) Argv[0] access control functions., Kentaro Takeda, (Tue Oct 2, 12:35 am)
[TOMOYO 12/15](repost) LSM adapter for TOMOYO., Kentaro Takeda, (Tue Oct 2, 12:38 am)
[TOMOYO 13/15](repost) Conditional permission support., Kentaro Takeda, (Tue Oct 2, 12:39 am)
[TOMOYO 14/15](repost) LSM expansion for TOMOYO Linux., Kentaro Takeda, (Tue Oct 2, 12:39 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Tue Oct 2, 6:00 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 4:43 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 6:11 am)
Re: [TOMOYO 05/15](repost) Domain transition handler funct ..., YOSHIFUJI Hideaki / , (Wed Oct 3, 7:32 am)
Sleeping in RCU list traversal, Tetsuo Handa, (Sun Oct 7, 3:38 am)