From: Pavel Machek <pavel@ucw.cz>
To: Olaf Dietsche <olaf.dietsche#list.linux-kernel@t-online.de>
Cc: torvalds@transmeta.com, viro@math.psu.edu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.45: Filesystem capabilities
Date: Sat, 2 Nov 2002 00:27:58 +0100 [thread overview]
Message-ID: <20021101232758.GB289@elf.ucw.cz> (raw)
In-Reply-To: <87znsuy9ho.fsf@goat.bogus.local>
Hi!
> Hi Linus,
>
> This patch implements filesystem capabilities. It allows to run
> privileged executables without the need for suid root.
This is gross hack:
> +static char __capname[] = ".capabilities";
> +
> +static int __is_capname(const char *name)
> +{
> + if (*name != __capname[0])
> + return 0;
> +
> + return !strcmp(name, __capname);
> +}
Yup. Magic filename. With ACLs going in 2.5 and with ext2 support for
arbitrary metadata, doing capabilities right might be feasible now.
Pavel
--
When do you have heart between your knees?
next prev parent reply other threads:[~2002-11-02 12:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 14:21 [PATCH] 2.5.45: Filesystem capabilities Olaf Dietsche
2002-10-31 18:11 ` Dax Kelson
2002-11-01 23:27 ` Pavel Machek [this message]
2002-11-02 13:43 ` Olaf Dietsche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021101232758.GB289@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=olaf.dietsche#list.linux-kernel@t-online.de \
--cc=torvalds@transmeta.com \
--cc=viro@math.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.