From: Andrew Morton <akpm@osdl.org>
To: viro@parcelfarce.linux.theplanet.co.uk
Cc: bgerst@didntduck.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Clean up sys_ioperm stubs
Date: Wed, 25 Feb 2004 19:11:40 -0800 [thread overview]
Message-ID: <20040225191140.36288919.akpm@osdl.org> (raw)
In-Reply-To: <20040226030523.GE31035@parcelfarce.linux.theplanet.co.uk>
viro@parcelfarce.linux.theplanet.co.uk wrote:
>
> On Wed, Feb 25, 2004 at 09:51:30PM -0500, Brian Gerst wrote:
> > Remove stubs for sys_ioperm for non-x86 arches, using sys_ni_syscall
> > instead where applicable.
>
> I have better suggestion: make sys_ioperm() a cond_syscall(). Then kill
> its implementation on all platforms where it just returns -ENOSYS.
Why is that better? Sticking a pointer to the not-implemented-syscall into
the syscall table is pretty darn explicit.
next prev parent reply other threads:[~2004-02-26 3:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 2:51 Brian Gerst
2004-02-26 3:05 ` viro
2004-02-26 3:11 ` Andrew Morton [this message]
2004-02-26 3:15 ` viro
2004-02-26 4:12 ` Brian Gerst
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=20040225191140.36288919.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=bgerst@didntduck.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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®