]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] prototypes for *at functions & typo fix
authorUlrich Drepper <drepper@redhat.com>
Wed, 1 Feb 2006 11:04:33 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:09 +0000 (08:53 -0800)
Here's the follow-up patch which introduces the prototypes for the new
syscalls.  There was also a typo in one of the new symbols.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/ia32_unistd.h
include/linux/syscalls.h

index e87cd83a0e86dbbce4e9eb21fa09787400b6d6fb..9afc0c7d3661931fbb52efa6c4a4be09c1ddc6d2 100644 (file)
 #define __NR_ia32_inotify_add_watch    292
 #define __NR_ia32_inotify_rm_watch     293
 #define __NR_ia32_migrate_pages                294
-#define __NR_ia32_opanat               295
+#define __NR_ia32_openat               295
 #define __NR_ia32_mkdirat              296
 #define __NR_ia32_mknodat              297
 #define __NR_ia32_fchownat             298
index e666d6070569021b62fb6e22e1d15e08fbe0419e..fdbd436b24ccda9e53ba1717fa6e66773f8c3f86 100644 (file)
@@ -50,6 +50,8 @@ struct timezone;
 struct tms;
 struct utimbuf;
 struct mq_attr;
+struct compat_stat;
+struct compat_timeval;
 
 #include <linux/config.h>
 #include <linux/types.h>
@@ -534,4 +536,35 @@ asmlinkage long sys_spu_run(int fd, __u32 __user *unpc,
 asmlinkage long sys_spu_create(const char __user *name,
                unsigned int flags, mode_t mode);
 
+asmlinkage long sys_mknodat(int dfd, const char __user * filename, int mode,
+                           unsigned dev);
+asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, int mode);
+asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag);
+asmlinkage long sys_symlinkat(const char __user * oldname,
+                             int newdfd, const char __user * newname);
+asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
+                          int newdfd, const char __user *newname);
+asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
+                            int newdfd, const char __user * newname);
+asmlinkage long sys_futimesat(int dfd, char __user *filename,
+                             struct timeval __user *utimes);
+asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
+asmlinkage long sys_fchmodat(int dfd, const char __user * filename,
+                            mode_t mode);
+asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user,
+                            gid_t group, int flag);
+asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
+                          int mode);
+asmlinkage long sys_newfstatat(int dfd, char __user *filename,
+                              struct stat __user *statbuf, int flag);
+asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf,
+                              int bufsiz);
+asmlinkage long compat_sys_futimesat(int dfd, char __user *filename,
+                                    struct compat_timeval __user *t);
+asmlinkage long compat_sys_newfstatat(int dfd, char __user * filename,
+                                     struct compat_stat __user *statbuf,
+                                     int flag);
+asmlinkage long compat_sys_openat(int dfd, const char __user *filename,
+                                  int flags, int mode);
+
 #endif