aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index aef47be2a5c1..1c5f3152cbb5 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -295,6 +295,13 @@ struct compat_old_sigaction {
295}; 295};
296#endif 296#endif
297 297
298struct compat_keyctl_kdf_params {
299 compat_uptr_t hashname;
300 compat_uptr_t otherinfo;
301 __u32 otherinfolen;
302 __u32 __spare[8];
303};
304
298struct compat_statfs; 305struct compat_statfs;
299struct compat_statfs64; 306struct compat_statfs64;
300struct compat_old_linux_dirent; 307struct compat_old_linux_dirent;
@@ -528,11 +535,6 @@ asmlinkage long compat_sys_old_readdir(unsigned int fd,
528asmlinkage long compat_sys_getdents(unsigned int fd, 535asmlinkage long compat_sys_getdents(unsigned int fd,
529 struct compat_linux_dirent __user *dirent, 536 struct compat_linux_dirent __user *dirent,
530 unsigned int count); 537 unsigned int count);
531#ifdef __ARCH_WANT_COMPAT_SYS_GETDENTS64
532asmlinkage long compat_sys_getdents64(unsigned int fd,
533 struct linux_dirent64 __user *dirent,
534 unsigned int count);
535#endif
536asmlinkage long compat_sys_vmsplice(int fd, const struct compat_iovec __user *, 538asmlinkage long compat_sys_vmsplice(int fd, const struct compat_iovec __user *,
537 unsigned int nr_segs, unsigned int flags); 539 unsigned int nr_segs, unsigned int flags);
538asmlinkage long compat_sys_open(const char __user *filename, int flags, 540asmlinkage long compat_sys_open(const char __user *filename, int flags,
@@ -723,6 +725,8 @@ asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid,
723asmlinkage long compat_sys_fanotify_mark(int, unsigned int, __u32, __u32, 725asmlinkage long compat_sys_fanotify_mark(int, unsigned int, __u32, __u32,
724 int, const char __user *); 726 int, const char __user *);
725 727
728asmlinkage long compat_sys_arch_prctl(int option, unsigned long arg2);
729
726/* 730/*
727 * For most but not all architectures, "am I in a compat syscall?" and 731 * For most but not all architectures, "am I in a compat syscall?" and
728 * "am I a compat task?" are the same question. For architectures on which 732 * "am I a compat task?" are the same question. For architectures on which