From: Olaf Dietsche <olaf.dietsche#list.linux-kernel@t-online.de>
To: Pavel Machek <pavel@ucw.cz>
Cc: torvalds@transmeta.com, viro@math.psu.edu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.45: Filesystem capabilities
Date: Sat, 02 Nov 2002 14:43:18 +0100 [thread overview]
Message-ID: <87of98ytmx.fsf@goat.bogus.local> (raw)
In-Reply-To: 20021101232758.GB289@elf.ucw.cz
Pavel Machek <pavel@ucw.cz> writes:
>> 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);
>> +}
Of course, this is a hack. A working hack, btw.
> Yup. Magic filename. With ACLs going in 2.5 and with ext2 support for
> arbitrary metadata, doing capabilities right might be feasible now.
I'm happy to take a look at a working solution.
How come, no one has implemented it yet? :-)
Regards, Olaf.
prev parent reply other threads:[~2002-11-02 13:37 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
2002-11-02 13:43 ` Olaf Dietsche [this message]
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=87of98ytmx.fsf@goat.bogus.local \
--to=olaf.dietsche#list.linux-kernel@t-online.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox