[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] add syscalls.h (v2)



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」