Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 10 of 10) sorted by relevance

/kernel/entry/
Dcommon.c38 static inline void syscall_enter_audit(struct pt_regs *regs, long syscall) in syscall_enter_audit() argument
44 audit_syscall_entry(syscall, args[0], args[1], args[2], args[3]); in syscall_enter_audit()
48 static long syscall_trace_enter(struct pt_regs *regs, long syscall, in syscall_trace_enter() argument
78 syscall = syscall_get_nr(current, regs); in syscall_trace_enter()
81 trace_sys_enter(regs, syscall); in syscall_trace_enter()
83 syscall_enter_audit(regs, syscall); in syscall_trace_enter()
85 return ret ? : syscall; in syscall_trace_enter()
89 __syscall_enter_from_user_work(struct pt_regs *regs, long syscall) in __syscall_enter_from_user_work() argument
94 syscall = syscall_trace_enter(regs, syscall, work); in __syscall_enter_from_user_work()
96 return syscall; in __syscall_enter_from_user_work()
[all …]
/kernel/trace/
Dtrace_syscalls.c83 find_syscall_meta(unsigned long syscall) in find_syscall_meta() argument
92 kallsyms_lookup(syscall, NULL, NULL, NULL, str); in find_syscall_meta()
115 const char *get_syscall_name(int syscall) in get_syscall_name() argument
119 entry = syscall_nr_to_meta(syscall); in get_syscall_name()
135 int i, syscall; in print_syscall_enter() local
138 syscall = trace->nr; in print_syscall_enter()
139 entry = syscall_nr_to_meta(syscall); in print_syscall_enter()
180 int syscall; in print_syscall_exit() local
184 syscall = trace->nr; in print_syscall_exit()
185 entry = syscall_nr_to_meta(syscall); in print_syscall_exit()
Dtrace.h1908 const char *get_syscall_name(int syscall);
1911 static inline const char *get_syscall_name(int syscall) in get_syscall_name() argument
DKconfig502 Basic tracer to catch the syscall entry and exit events.
972 bool "Run selftest on syscall events"
975 This option will also enable testing every syscall event.
/kernel/bpf/
DMakefile9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o bpf_iter.o map_iter.o ta…
/kernel/
Dauditfilter.c189 int audit_match_class(int class, unsigned syscall) in audit_match_class() argument
191 if (unlikely(syscall >= AUDIT_BITMASK_SIZE * 32)) in audit_match_class()
195 return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); in audit_match_class()
Daudit.h230 extern int audit_match_class(int class, unsigned syscall);
Dseccomp.c954 static inline void seccomp_log(unsigned long syscall, long signr, u32 action, in seccomp_log() argument
994 audit_seccomp(syscall, signr, action); in seccomp_log()
Dauditsc.c2988 void audit_seccomp(unsigned long syscall, long signr, int code) in audit_seccomp() argument
2997 signr, syscall_get_arch(current), syscall, in audit_seccomp()
Dsignal.c1863 int force_sig_seccomp(int syscall, int reason, bool force_coredump) in force_sig_seccomp() argument
1873 info.si_syscall = syscall; in force_sig_seccomp()