Home
last modified time | relevance | path

Searched refs:syscalls (Results 1 – 25 of 166) sorted by relevance

1234567

/external/minijail/tools/
Dcompiler_unittest.py61 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
64 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
110 self.arch.syscalls['read'],
118 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
121 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
124 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
127 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
130 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
133 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
136 block.simulate(self.arch.arch_nr, self.arch.syscalls['read'],
[all …]
Dgenerate_seccomp_policy.py91 def parse_trace_file(trace_filename, syscalls, arg_inspection): argument
107 syscalls[syscall] += 1
120 syscalls = collections.defaultdict(int)
132 parse_trace_file(trace_filename, syscalls, arg_inspection)
139 if basic_syscall not in syscalls:
140 syscalls[basic_syscall] = 1
145 x[0] for x in sorted(syscalls.items(), key=lambda pair: pair[1],
/external/ltp/
Dgen.bp77 "testcases/kernel/syscalls/ipc/lib/libipc.c",
78 "testcases/kernel/syscalls/ipc/lib/libmsgctl.c",
187 srcs: ["testcases/kernel/syscalls/abort/abort01.c"],
207 srcs: ["testcases/kernel/syscalls/accept/accept01.c"],
217 srcs: ["testcases/kernel/syscalls/accept4/accept4_01.c"],
227 srcs: ["testcases/kernel/syscalls/access/access01.c"],
237 srcs: ["testcases/kernel/syscalls/access/access02.c"],
247 srcs: ["testcases/kernel/syscalls/access/access03.c"],
257 srcs: ["testcases/kernel/syscalls/access/access04.c"],
267 srcs: ["testcases/kernel/syscalls/acct/acct01.c"],
[all …]
/external/autotest/client/tests/ltp/patches/
Dgetdents.patch17 testcases/kernel/syscalls/getdents/getdents.h | 73 +++++++++++++++++------
18 testcases/kernel/syscalls/getdents/getdents01.c | 20 +-----
19 testcases/kernel/syscalls/getdents/getdents02.c | 27 +--------
20 testcases/kernel/syscalls/getdents/getdents03.c | 27 +--------
21 testcases/kernel/syscalls/getdents/getdents04.c | 26 +-------
24 diff --git a/testcases/kernel/syscalls/getdents/getdents.h b/testcases/kernel/syscalls/getdents/get…
26 --- a/testcases/kernel/syscalls/getdents/getdents.h
27 +++ b/testcases/kernel/syscalls/getdents/getdents.h
109 diff --git a/testcases/kernel/syscalls/getdents/getdents01.c b/testcases/kernel/syscalls/getdents/g…
111 --- a/testcases/kernel/syscalls/getdents/getdents01.c
[all …]
Dsysctl.patch4 Subject: [PATCH] syscalls/sysctl: check if __NR_sysctl is defined
11 testcases/kernel/syscalls/sysctl/sysctl01.c | 15 +++++++++++++++
12 testcases/kernel/syscalls/sysctl/sysctl03.c | 15 +++++++++++++++
13 testcases/kernel/syscalls/sysctl/sysctl04.c | 15 +++++++++++++++
14 testcases/kernel/syscalls/sysctl/sysctl05.c | 15 +++++++++++++++
17 diff --git a/testcases/kernel/syscalls/sysctl/sysctl01.c b/testcases/kernel/syscalls/sysctl/sysctl0…
19 --- a/testcases/kernel/syscalls/sysctl/sysctl01.c
20 +++ b/testcases/kernel/syscalls/sysctl/sysctl01.c
47 diff --git a/testcases/kernel/syscalls/sysctl/sysctl03.c b/testcases/kernel/syscalls/sysctl/sysctl0…
49 --- a/testcases/kernel/syscalls/sysctl/sysctl03.c
[all …]
Dkill-ipc.patch12 testcases/kernel/syscalls/kill/Makefile | 2 +-
15 diff --git a/testcases/kernel/syscalls/kill/Makefile b/testcases/kernel/syscalls/kill/Makefile
17 --- a/testcases/kernel/syscalls/kill/Makefile
18 +++ b/testcases/kernel/syscalls/kill/Makefile
/external/bcc/tools/
Dsyscount_example.txt9 Tracing syscalls, printing top 10... Ctrl+C to quit.
25 the output indicates that the write and read syscalls were very common, followed
30 Tracing syscalls, printing top 10... Ctrl+C to quit.
38 of syscalls is not enough, and you'd also want an aggregate latency:
41 Tracing syscalls, printing top 10... Ctrl+C to quit.
62 syscalls, thus responsible for a lot of activity. This is what the -P switch
66 Tracing syscalls, printing top 10... Ctrl+C to quit.
82 Sometimes, you'd only care about failed syscalls -- these are the ones that
88 Tracing failed syscalls, printing top 10... Ctrl+C to quit.
116 Tracing syscalls, printing top 10... Ctrl+C to quit.
[all …]
Dpythoncalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
Dperlcalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
Drubycalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
Djavacalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
Dtclcalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
Dphpcalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
/external/bcc/tools/lib/
Ducalls.py104 if not args.syscalls:
244 .replace("DEFINE_SYSCALLS", "#define SYSCALLS" if args.syscalls else "")
262 if args.syscalls:
285 if args.syscalls:
287 syscalls = map(lambda kv: (bpf.ksym(kv[0].value),
290 data.extend(syscalls)
292 syscalls = map(lambda kv: (bpf.ksym(kv[0].value),
295 data.extend(syscalls)
305 if args.syscalls:
340 if args.syscalls:
Ducalls_example.txt9 Through the syscalls support, ucalls can provide basic information on a
27 To trace only syscalls in a particular process and print the top 10 most
77 language to trace (if none, trace syscalls only)
81 -S, --syscalls record syscall latency (adds overhead)
89 ./ucalls -l java 185 -S # trace Java calls and syscalls
93 ./ucalls -l php 443 -LS # trace PHP calls and syscalls with latency
/external/syzkaller/pkg/report/testdata/gvisor/report/
D818 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.copyTimespecOut()
19 pkg/sentry/syscalls/linux/timespec.go:52 +0x3b1
20 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.copyOutTimespecRemaining()
21 pkg/sentry/syscalls/linux/sys_poll.go:260 +0xc8
22 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Pselect()
23 pkg/sentry/syscalls/linux/sys_poll.go:423 +0x187
49 pkg/sentry/mm/syscalls.go:180 +0x187
51 pkg/sentry/mm/syscalls.go:148 +0x2c3
52 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Mmap()
53 pkg/sentry/syscalls/linux/sys_mmap.go:101 +0x32e
[all …]
D619 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.readv()
20 pkg/sentry/syscalls/linux/sys_read.go:223 +0x5e1
21 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Readv()
22 pkg/sentry/syscalls/linux/sys_read.go:144 +0x28c
47 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.readv()
48 pkg/sentry/syscalls/linux/sys_read.go:202 +0x3cb
49 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Readv()
50 pkg/sentry/syscalls/linux/sys_read.go:144 +0x28c
69 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.clone()
70 pkg/sentry/syscalls/linux/sys_thread.go:157 +0x22e
[all …]
D717 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.copyTimespecIn()
18 pkg/sentry/syscalls/linux/timespec.go:33 +0xcc
19 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Futex()
20 pkg/sentry/syscalls/linux/sys_futex.go:255 +0x336
48 pkg/sentry/mm/syscalls.go:130 +0x1d6
49 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Mmap()
50 pkg/sentry/syscalls/linux/sys_mmap.go:101 +0x32e
69 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.clone()
70 pkg/sentry/syscalls/linux/sys_thread.go:157 +0x22e
71 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Clone()
[all …]
/external/perfetto/tools/
Dextract_linux_syscall_tables7 syscalls = {} variable
11 tab = syscalls[name]
45 syscalls['x86_64'] = parse_tlb(response.read())
48 syscalls['armeabi'] = parse_tlb(response.read())
51 syscalls['aarch32'] = parse_def(response.read())
58 syscalls['aarch64'] = parse_def(response.read())
/external/syzkaller/tools/syz-mutate/
Dmutate.go37 var syscalls map[*prog.Syscall]bool
44 syscalls = make(map[*prog.Syscall]bool)
46 syscalls[target.Syscalls[id]] = true
49 syscalls, disabled = target.TransitivelyEnabledCalls(syscalls)
60 ct := target.BuildChoiceTable(prios, syscalls)
/external/strace/
DNEWS21 * Fixed test suite for the case when mlockall and unimplemented syscalls
33 * Wired up io_pgetevents and rseq syscalls on hppa, microblaze, mips, powerpc,
52 * On x32 personality, 64-bit syscalls (such as readv) are now shown with "#64"
72 * Implemented injection of syscalls with no side effects as an alternative
81 * Enhanced decoding of bpf, getsockopt, setsockopt, and socket syscalls.
117 * Data dump for write syscalls (-e write) is performed regardless
129 * Enhanced decoding of bpf, prctl and ptrace syscalls.
172 and shmget syscalls.
175 * Enhanced decoding of getsockopt and setsockopt syscalls for SOL_NETLINK
179 of mq_getsetattr, mq_notify, mq_timedreceive, and mq_timedsend syscalls
[all …]
Dstrace.spec131 + added printing of the mode argument of open and openat syscalls
145 + fixed decoding of syscalls unknown to the kernel on s390/s390x (#1298294).
152 + print nanoseconds along with seconds in stat family syscalls (#1251176).
192 + fixed decoding of *xattr syscalls (#885233);
257 - new syscalls: getcpu, eventfd, timerfd, signalfd, epoll_pwait,
264 - *at, inotify*, pselect6, ppoll and unshare syscalls (#178633, #191275)
282 - Fix bogus decoding of syscalls >= 300 (#201462, #202620).
294 - Fix biarch decoding of socket syscalls (#174354).
296 - Accept numeric syscalls in -e (#174798).
301 - Correct printing of restarting syscalls (#165469).
[all …]
/external/ltp/android/tools/
Dcki_coverage.py265 def match_syscalls_to_tests(self, syscalls): argument
276 for syscall in syscalls:
423 for s in cki.syscalls:
429 cki.syscalls.append({"name":syscall, arch:True})
432 cki.syscalls = list(filter(lambda i: i["name"] != syscall, cki.syscalls))
436 for s in cki.syscalls:
443 cki.syscalls = unlisted_syscalls
580 for syscall in cki.syscalls:
587 cki_cov.match_syscalls_to_tests(cki.syscalls)
/external/syzkaller/docs/
Dexecuting_syzkaller_programs.md39 collide syscalls to provoke data races (default true)
50syscalls. `-threaded=1` forces execution of each syscall in a separate thread, so that execution c…
/external/syzkaller/pkg/mgrconfig/
Dmgrconfig.go264 syscalls := make(map[int]bool)
270 syscalls[call.ID] = true
280 syscalls[call.ID] = true
287 delete(syscalls, call.ID)
295 if len(syscalls) == 0 {
298 return syscalls, nil

1234567