lkml.org 
[lkml]   [2007]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[TOMOYO 1/9] Allow use of namespace_sem from LSM module.
    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 file changed, 1 insertion(+), 1 deletion(-)

    diff -ubBpErN linux-2.6.21.5/fs/namespace.c linux-2.6.21.5-tomoyo/fs/namespace.c
    --- linux-2.6.21.5/fs/namespace.c 2007-06-12 03:37:06.000000000 +0900
    +++ linux-2.6.21.5-tomoyo/fs/namespace.c 2007-06-14 15:02:38.000000000 +0900
    @@ -37,7 +37,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);
    ---------------
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-14 11:47    [W:0.042 / U:1.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site