From: Arnd Bergmann <arnd@arndb.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Matthew Wilcox <matthew@wil.cx>,
David Miller <davem@davemloft.net>,
rmk@arm.linux.org.uk, linux-arch@vger.kernel.org
Subject: Re: missing syscalls
Date: Mon, 2 Apr 2007 01:12:54 +0200 [thread overview]
Message-ID: <200704020112.54931.arnd@arndb.de> (raw)
In-Reply-To: <20070401201929.GB10652@uranus.ravnborg.org>
On Sunday 01 April 2007 22:19:29 Sam Ravnborg wrote:
> +#define __NR_getcpu /* 318 - not relevant */
> +#define __NR_epoll_pwait /* 319 - not relevant */
This looks like it is potentially harmful, since it breaks
user space code that does things like
int my_getcpy(void)
{
#ifdef __NR_getcpu
return syscall(__NR_getcpu);
#endif
return -1;
}
Arnd <><
next prev parent reply other threads:[~2007-04-01 23:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-01 16:01 missing syscalls Sam Ravnborg
2007-04-01 19:15 ` Russell King
2007-04-01 19:23 ` David Miller
2007-04-01 20:09 ` Matthew Wilcox
2007-04-01 20:16 ` David Miller
2007-04-01 20:44 ` Matthew Wilcox
2007-04-01 20:19 ` Sam Ravnborg
2007-04-01 21:32 ` Russell King
2007-04-01 23:12 ` Arnd Bergmann [this message]
2007-04-01 19:23 ` Sam Ravnborg
2007-04-01 21:33 ` Russell King
2007-04-01 20:54 ` Andi Kleen
2007-04-01 21:10 ` Sam Ravnborg
2007-04-02 5:58 ` Andi Kleen
2007-04-02 12:31 ` Matthew Wilcox
2007-04-12 20:51 ` David Miller
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=200704020112.54931.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=linux-arch@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=rmk@arm.linux.org.uk \
--cc=sam@ravnborg.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;
as well as URLs for NNTP newsgroup(s).