Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 1 | #ifndef SYS_socket_subcall |
| 2 | # error SYS_socket_subcall is not defined |
| 3 | #endif |
Dmitry V. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame] | 4 | |
Dmitry V. Levin | 3b499ca | 2015-01-10 22:01:35 +0300 | [diff] [blame] | 5 | #define IS TRACE_INDIRECT_SUBCALL |
| 6 | |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 7 | [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. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame] | 28 | |
Dmitry V. Levin | 4cd64fe | 2015-02-26 22:07:14 +0000 | [diff] [blame] | 29 | #define SYS_socket_nsubcalls 21 |
Dmitry V. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame] | 30 | #define SYS_ipc_subcall ((SYS_socket_subcall) + (SYS_socket_nsubcalls)) |
| 31 | |
Elvira Khabirova | 140ecf8 | 2015-07-10 22:24:48 +0300 | [diff] [blame] | 32 | [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. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame] | 57 | |
Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 58 | #define SYS_ipc_nsubcalls 25 |
Dmitry V. Levin | 3b499ca | 2015-01-10 22:01:35 +0300 | [diff] [blame] | 59 | |
| 60 | #undef IS |