mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>
Subject: [PATCH] add syscalls.h (v2)
Date: Mon, 2 Feb 2004 20:53:21 -0800	[thread overview]
Message-ID: <20040202205321.12da4b04.rddunlap@osdl.org> (raw)


Andrew Morton wrote:
| +#include <asm/signal.h>
| +#include <asm/stat.h>
| 
| I'd be inclined to lose the includes and just add forward decls for
| structs.  Of course, you'll need the includes for typedefs. 

Yes, I was already contemplating on that one.

| +extern asmlinkage long sys_unlink(const char __user *pathname);
| +extern asmlinkage long sys_chmod(const char __user *filename, mode_t mode);
| +extern asmlinkage long sys_fchmod(unsigned int fd, mode_t mode);
| 
| Maybe lose the `extern' too.  It's just a waste of space.  I normally put
| it in for consistency if the surrounding code is done that way, but for a
| new header file, why bother?

Done.  And updated to 2.6.2-rc3.

Many more syscalls added.  Complete patch (87 KB) is at
  http://developer.osdl.org/rddunlap/syscalls/2.6.2-rc3-syscalls.diff

Build allmodconfig and allyesconfig on P4.  Not booted yet.
Plan to boot Tue. Feb. 3.

Also plan to build on ia64, maybe some other $ARCH that I don't have....


More comments etc.?
I'm still searching for syscalls that I have missed.

--
~Randy

                 reply	other threads:[~2004-02-03  4:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040202205321.12da4b04.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=akpm@osdl.org \
    --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®