Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 1 Nov 2002 13:03:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 1 Nov 2002 13:03:52 -0500 Received: from mailout11.sul.t-online.com ([194.25.134.85]:44957 "EHLO mailout11.sul.t-online.com") by vger.kernel.org with ESMTP id ; Fri, 1 Nov 2002 13:03:52 -0500 From: Olaf Dietsche To: linux-kernel@vger.kernel.org Subject: [PATCH] 2.5.45: fix fs capabilities initialization Date: Fri, 01 Nov 2002 19:10:16 +0100 Message-ID: <87vg3h6u0n.fsf@goat.bogus.local> User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Honest Recruiter, i386-debian-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 24 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: 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/