lkml.org 
[lkml]   [2002]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 2.5.45: fix fs capabilities initialization
Date
This patch implements filesystem capabilities. It allows to run
privileged executables without the need for suid root.

Changes:
- recognize new capability db immediately instead of after the next
mount

The complete patch is available at:
<http://home.t-online.de/home/olaf.dietsche/linux/capability/>

Regards, Olaf.

diff -urN a/fs/fscaps.c b/fs/fscaps.c
--- a/fs/fscaps.c Fri Nov 1 18:52:41 2002
+++ b/fs/fscaps.c Fri Nov 1 02:06:15 2002
@@ -252,7 +252,7 @@
return;

if (__fscap_lookup(mnt, &nd))
- return;
+ nd.dentry = NULL;

__info_init(mnt, nd.dentry);
}
-
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: 2005-03-22 13:30    [W:0.030 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site