diff options
Diffstat (limited to 'include/linux/syscalls.h')
| -rw-r--r-- | include/linux/syscalls.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 1e67b7a5968c..a4a0588c5397 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -119,8 +119,10 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
| 119 | static struct syscall_metadata __syscall_meta_##sname; \ | 119 | static struct syscall_metadata __syscall_meta_##sname; \ |
| 120 | static struct ftrace_event_call __used \ | 120 | static struct ftrace_event_call __used \ |
| 121 | event_enter_##sname = { \ | 121 | event_enter_##sname = { \ |
| 122 | .name = "sys_enter"#sname, \ | ||
| 123 | .class = &event_class_syscall_enter, \ | 122 | .class = &event_class_syscall_enter, \ |
| 123 | { \ | ||
| 124 | .name = "sys_enter"#sname, \ | ||
| 125 | }, \ | ||
| 124 | .event.funcs = &enter_syscall_print_funcs, \ | 126 | .event.funcs = &enter_syscall_print_funcs, \ |
| 125 | .data = (void *)&__syscall_meta_##sname,\ | 127 | .data = (void *)&__syscall_meta_##sname,\ |
| 126 | .flags = TRACE_EVENT_FL_CAP_ANY, \ | 128 | .flags = TRACE_EVENT_FL_CAP_ANY, \ |
| @@ -133,8 +135,10 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
| 133 | static struct syscall_metadata __syscall_meta_##sname; \ | 135 | static struct syscall_metadata __syscall_meta_##sname; \ |
| 134 | static struct ftrace_event_call __used \ | 136 | static struct ftrace_event_call __used \ |
| 135 | event_exit_##sname = { \ | 137 | event_exit_##sname = { \ |
| 136 | .name = "sys_exit"#sname, \ | ||
| 137 | .class = &event_class_syscall_exit, \ | 138 | .class = &event_class_syscall_exit, \ |
| 139 | { \ | ||
| 140 | .name = "sys_exit"#sname, \ | ||
| 141 | }, \ | ||
| 138 | .event.funcs = &exit_syscall_print_funcs, \ | 142 | .event.funcs = &exit_syscall_print_funcs, \ |
| 139 | .data = (void *)&__syscall_meta_##sname,\ | 143 | .data = (void *)&__syscall_meta_##sname,\ |
| 140 | .flags = TRACE_EVENT_FL_CAP_ANY, \ | 144 | .flags = TRACE_EVENT_FL_CAP_ANY, \ |
| @@ -200,6 +204,8 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
| 200 | } \ | 204 | } \ |
| 201 | static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) | 205 | static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) |
| 202 | 206 | ||
| 207 | asmlinkage long sys32_quotactl(unsigned int cmd, const char __user *special, | ||
| 208 | qid_t id, void __user *addr); | ||
| 203 | asmlinkage long sys_time(time_t __user *tloc); | 209 | asmlinkage long sys_time(time_t __user *tloc); |
| 204 | asmlinkage long sys_stime(time_t __user *tptr); | 210 | asmlinkage long sys_stime(time_t __user *tptr); |
| 205 | asmlinkage long sys_gettimeofday(struct timeval __user *tv, | 211 | asmlinkage long sys_gettimeofday(struct timeval __user *tv, |
| @@ -746,6 +752,9 @@ asmlinkage long sys_linkat(int olddfd, const char __user *oldname, | |||
| 746 | int newdfd, const char __user *newname, int flags); | 752 | int newdfd, const char __user *newname, int flags); |
| 747 | asmlinkage long sys_renameat(int olddfd, const char __user * oldname, | 753 | asmlinkage long sys_renameat(int olddfd, const char __user * oldname, |
| 748 | int newdfd, const char __user * newname); | 754 | int newdfd, const char __user * newname); |
| 755 | asmlinkage long sys_renameat2(int olddfd, const char __user *oldname, | ||
| 756 | int newdfd, const char __user *newname, | ||
| 757 | unsigned int flags); | ||
| 749 | asmlinkage long sys_futimesat(int dfd, const char __user *filename, | 758 | asmlinkage long sys_futimesat(int dfd, const char __user *filename, |
| 750 | struct timeval __user *utimes); | 759 | struct timeval __user *utimes); |
| 751 | asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); | 760 | asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); |
