From: Bernd Eckenfels <ecki-news2002-05@lina.inka.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] remove suser()
Date: Fri, 7 Jun 2002 07:58:31 +0200 [thread overview]
Message-ID: <E17GClb-00072n-00@sites.inka.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0206062330480.16968-100000@sharra.ivimey.org>
In article <Pine.LNX.4.44.0206062330480.16968-100000@sharra.ivimey.org> you wrote:
>>> +++ linux/include/linux/compatmac.h Tue Jun 4 13:57:33 2002
>>> -#define capable(x) suser()
> Why? The file being changed is in a particular kernel, not in, say, glibc; to
> require compatibilty btw. a file in kernel X and another in kernel Y seems
> stupid... but perhaps I misunderstand.
I must admit, I do not understand why this is needed in new kernels, too.
But the suser() call which actually should be removed is in
/usr/src/linux/include/linux/sched.h. Same is true for fsuser().
It is a good idea to remove it from the code, so everybody is forced to use
a sane api everywhere.
Greetings
Bernd
prev parent reply other threads:[~2002-06-07 5:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 21:15 Robert Love
2002-06-06 21:48 ` Pavel Machek
2002-06-06 22:20 ` Robert Love
2002-06-06 22:32 ` Ruth Ivimey-Cook
2002-06-07 5:58 ` Bernd Eckenfels [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=E17GClb-00072n-00@sites.inka.de \
--to=ecki-news2002-05@lina.inka.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®