mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.45: fix fs capabilities initialization
@ 2002-11-01 18:10 Olaf Dietsche
  0 siblings, 0 replies; only message in thread
From: Olaf Dietsche @ 2002-11-01 18:10 UTC (permalink / raw)
  To: linux-kernel

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);
 }

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

only message in thread, other threads:[~2002-11-01 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 18:10 [PATCH] 2.5.45: fix fs capabilities initialization Olaf Dietsche

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®