diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/compat.h | 9 | ||||
| -rw-r--r-- | include/linux/efi.h | 2 | ||||
| -rw-r--r-- | include/linux/syscalls.h | 8 |
3 files changed, 16 insertions, 3 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 7450ca2ac1fc..ab25814690bc 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
| @@ -689,6 +689,15 @@ asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, | |||
| 689 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, | 689 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, |
| 690 | compat_stack_t __user *uoss_ptr); | 690 | compat_stack_t __user *uoss_ptr); |
| 691 | 691 | ||
| 692 | #ifdef __ARCH_WANT_SYS_SIGPENDING | ||
| 693 | asmlinkage long compat_sys_sigpending(compat_old_sigset_t __user *set); | ||
| 694 | #endif | ||
| 695 | |||
| 696 | #ifdef __ARCH_WANT_SYS_SIGPROCMASK | ||
| 697 | asmlinkage long compat_sys_sigprocmask(int how, compat_old_sigset_t __user *nset, | ||
| 698 | compat_old_sigset_t __user *oset); | ||
| 699 | #endif | ||
| 700 | |||
| 692 | int compat_restore_altstack(const compat_stack_t __user *uss); | 701 | int compat_restore_altstack(const compat_stack_t __user *uss); |
| 693 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); | 702 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); |
| 694 | #define compat_save_altstack_ex(uss, sp) do { \ | 703 | #define compat_save_altstack_ex(uss, sp) do { \ |
diff --git a/include/linux/efi.h b/include/linux/efi.h index b674837e2b98..cf7e431cbc73 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
| @@ -875,6 +875,8 @@ static inline efi_status_t efi_query_variable_store(u32 attributes, unsigned lon | |||
| 875 | #endif | 875 | #endif |
| 876 | extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); | 876 | extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); |
| 877 | extern int efi_config_init(efi_config_table_type_t *arch_tables); | 877 | extern int efi_config_init(efi_config_table_type_t *arch_tables); |
| 878 | extern int efi_config_parse_tables(void *config_tables, int count, int sz, | ||
| 879 | efi_config_table_type_t *arch_tables); | ||
| 878 | extern u64 efi_get_iobase (void); | 880 | extern u64 efi_get_iobase (void); |
| 879 | extern u32 efi_mem_type (unsigned long phys_addr); | 881 | extern u32 efi_mem_type (unsigned long phys_addr); |
| 880 | extern u64 efi_mem_attributes (unsigned long phys_addr); | 882 | extern u64 efi_mem_attributes (unsigned long phys_addr); |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 85893d744901..76d1e38aabe1 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -410,12 +410,16 @@ asmlinkage long sys_newlstat(const char __user *filename, | |||
| 410 | struct stat __user *statbuf); | 410 | struct stat __user *statbuf); |
| 411 | asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); | 411 | asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); |
| 412 | asmlinkage long sys_ustat(unsigned dev, struct ustat __user *ubuf); | 412 | asmlinkage long sys_ustat(unsigned dev, struct ustat __user *ubuf); |
| 413 | #if BITS_PER_LONG == 32 | 413 | #if defined(__ARCH_WANT_STAT64) || defined(__ARCH_WANT_COMPAT_STAT64) |
| 414 | asmlinkage long sys_stat64(const char __user *filename, | 414 | asmlinkage long sys_stat64(const char __user *filename, |
| 415 | struct stat64 __user *statbuf); | 415 | struct stat64 __user *statbuf); |
| 416 | asmlinkage long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf); | 416 | asmlinkage long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf); |
| 417 | asmlinkage long sys_lstat64(const char __user *filename, | 417 | asmlinkage long sys_lstat64(const char __user *filename, |
| 418 | struct stat64 __user *statbuf); | 418 | struct stat64 __user *statbuf); |
| 419 | asmlinkage long sys_fstatat64(int dfd, const char __user *filename, | ||
| 420 | struct stat64 __user *statbuf, int flag); | ||
| 421 | #endif | ||
| 422 | #if BITS_PER_LONG == 32 | ||
| 419 | asmlinkage long sys_truncate64(const char __user *path, loff_t length); | 423 | asmlinkage long sys_truncate64(const char __user *path, loff_t length); |
| 420 | asmlinkage long sys_ftruncate64(unsigned int fd, loff_t length); | 424 | asmlinkage long sys_ftruncate64(unsigned int fd, loff_t length); |
| 421 | #endif | 425 | #endif |
| @@ -771,8 +775,6 @@ asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | |||
| 771 | umode_t mode); | 775 | umode_t mode); |
| 772 | asmlinkage long sys_newfstatat(int dfd, const char __user *filename, | 776 | asmlinkage long sys_newfstatat(int dfd, const char __user *filename, |
| 773 | struct stat __user *statbuf, int flag); | 777 | struct stat __user *statbuf, int flag); |
| 774 | asmlinkage long sys_fstatat64(int dfd, const char __user *filename, | ||
| 775 | struct stat64 __user *statbuf, int flag); | ||
| 776 | asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf, | 778 | asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf, |
| 777 | int bufsiz); | 779 | int bufsiz); |
| 778 | asmlinkage long sys_utimensat(int dfd, const char __user *filename, | 780 | asmlinkage long sys_utimensat(int dfd, const char __user *filename, |
