blob: 3b70b6dd2b7febc5023f638eb854d6878def9212 [file] [log] [blame]
Dmitry V. Levinde462cf2013-05-07 18:38:01 +04001#ifndef SYS_socket_subcall
2# error SYS_socket_subcall is not defined
3#endif
Dmitry V. Levin7c524f42015-01-11 13:56:40 +00004
Dmitry V. Levin3b499ca2015-01-10 22:01:35 +03005#define IS TRACE_INDIRECT_SUBCALL
6
Elvira Khabirova140ecf82015-07-10 22:24:48 +03007[SYS_socket_subcall + 0] = { 6, 0, SEN(printargs), "socket_subcall" },
8[SYS_socket_subcall + 1] = { 3, IS|TN, SEN(socket), "socket" },
9[SYS_socket_subcall + 2] = { 3, IS|TN, SEN(bind), "bind" },
10[SYS_socket_subcall + 3] = { 3, IS|TN, SEN(connect), "connect" },
11[SYS_socket_subcall + 4] = { 2, IS|TN, SEN(listen), "listen" },
12[SYS_socket_subcall + 5] = { 3, IS|TN, SEN(accept), "accept" },
13[SYS_socket_subcall + 6] = { 3, IS|TN, SEN(getsockname), "getsockname" },
14[SYS_socket_subcall + 7] = { 3, IS|TN, SEN(getpeername), "getpeername" },
15[SYS_socket_subcall + 8] = { 4, IS|TN, SEN(socketpair), "socketpair" },
16[SYS_socket_subcall + 9] = { 4, IS|TN, SEN(send), "send" },
17[SYS_socket_subcall + 10] = { 4, IS|TN, SEN(recv), "recv" },
18[SYS_socket_subcall + 11] = { 6, IS|TN, SEN(sendto), "sendto" },
19[SYS_socket_subcall + 12] = { 6, IS|TN, SEN(recvfrom), "recvfrom" },
20[SYS_socket_subcall + 13] = { 2, IS|TN, SEN(shutdown), "shutdown" },
21[SYS_socket_subcall + 14] = { 5, IS|TN, SEN(setsockopt), "setsockopt" },
22[SYS_socket_subcall + 15] = { 5, IS|TN, SEN(getsockopt), "getsockopt" },
23[SYS_socket_subcall + 16] = { 3, IS|TN, SEN(sendmsg), "sendmsg" },
24[SYS_socket_subcall + 17] = { 3, IS|TN, SEN(recvmsg), "recvmsg" },
25[SYS_socket_subcall + 18] = { 4, IS|TN, SEN(accept4), "accept4" },
26[SYS_socket_subcall + 19] = { 5, IS|TN, SEN(recvmmsg), "recvmmsg" },
27[SYS_socket_subcall + 20] = { 4, IS|TN, SEN(sendmmsg), "sendmmsg" },
Dmitry V. Levin7c524f42015-01-11 13:56:40 +000028
Dmitry V. Levin4cd64fe2015-02-26 22:07:14 +000029#define SYS_socket_nsubcalls 21
Dmitry V. Levin7c524f42015-01-11 13:56:40 +000030#define SYS_ipc_subcall ((SYS_socket_subcall) + (SYS_socket_nsubcalls))
31
Elvira Khabirova140ecf82015-07-10 22:24:48 +030032[SYS_ipc_subcall + 0] = { 6, 0, SEN(printargs), "ipc_subcall" },
33[SYS_ipc_subcall + 1] = { 4, IS|TI, SEN(semop), "semop" },
34[SYS_ipc_subcall + 2] = { 3, IS|TI, SEN(semget), "semget" },
35[SYS_ipc_subcall + 3] = { 4, IS|TI, SEN(semctl), "semctl" },
36[SYS_ipc_subcall + 4] = { 5, IS|TI, SEN(semtimedop), "semtimedop" },
37[SYS_ipc_subcall + 5] = { 6, 0, SEN(printargs), "ipc_subcall" },
38[SYS_ipc_subcall + 6] = { 6, 0, SEN(printargs), "ipc_subcall" },
39[SYS_ipc_subcall + 7] = { 6, 0, SEN(printargs), "ipc_subcall" },
40[SYS_ipc_subcall + 8] = { 6, 0, SEN(printargs), "ipc_subcall" },
41[SYS_ipc_subcall + 9] = { 6, 0, SEN(printargs), "ipc_subcall" },
42[SYS_ipc_subcall + 10] = { 6, 0, SEN(printargs), "ipc_subcall" },
43[SYS_ipc_subcall + 11] = { 4, IS|TI, SEN(msgsnd), "msgsnd" },
44[SYS_ipc_subcall + 12] = { 4, IS|TI, SEN(msgrcv), "msgrcv" },
45[SYS_ipc_subcall + 13] = { 2, IS|TI, SEN(msgget), "msgget" },
46[SYS_ipc_subcall + 14] = { 4, IS|TI, SEN(msgctl), "msgctl" },
47[SYS_ipc_subcall + 15] = { 6, 0, SEN(printargs), "ipc_subcall" },
48[SYS_ipc_subcall + 16] = { 6, 0, SEN(printargs), "ipc_subcall" },
49[SYS_ipc_subcall + 17] = { 6, 0, SEN(printargs), "ipc_subcall" },
50[SYS_ipc_subcall + 18] = { 6, 0, SEN(printargs), "ipc_subcall" },
51[SYS_ipc_subcall + 19] = { 6, 0, SEN(printargs), "ipc_subcall" },
52[SYS_ipc_subcall + 20] = { 6, 0, SEN(printargs), "ipc_subcall" },
53[SYS_ipc_subcall + 21] = { 4, IS|TI|TM|SI, SEN(shmat), "shmat" },
54[SYS_ipc_subcall + 22] = { 4, IS|TI|TM|SI, SEN(shmdt), "shmdt" },
55[SYS_ipc_subcall + 23] = { 3, IS|TI, SEN(shmget), "shmget" },
56[SYS_ipc_subcall + 24] = { 4, IS|TI, SEN(shmctl), "shmctl" },
Dmitry V. Levin7c524f42015-01-11 13:56:40 +000057
Dmitry V. Levinde462cf2013-05-07 18:38:01 +040058#define SYS_ipc_nsubcalls 25
Dmitry V. Levin3b499ca2015-01-10 22:01:35 +030059
60#undef IS