summaryrefslogtreecommitdiff
path: root/linux/subcall.h
blob: 5a46b6a1381c637608044a308d981c0b2368543d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef SYS_socket_subcall
# error SYS_socket_subcall is not defined
#endif

#define IS	TRACE_INDIRECT_SUBCALL

[SYS_socket_subcall +  0] = { 6,	0,		printargs,			"socket_subcall"	},
[SYS_socket_subcall +  1] = { 3,	IS|TN,		sys_socket,			"socket"		},
[SYS_socket_subcall +  2] = { 3,	IS|TN,		sys_bind,			"bind"			},
[SYS_socket_subcall +  3] = { 3,	IS|TN,		sys_connect,			"connect"		},
[SYS_socket_subcall +  4] = { 2,	IS|TN,		sys_listen,			"listen"		},
[SYS_socket_subcall +  5] = { 3,	IS|TN,		sys_accept,			"accept"		},
[SYS_socket_subcall +  6] = { 3,	IS|TN,		sys_getsockname,		"getsockname"		},
[SYS_socket_subcall +  7] = { 3,	IS|TN,		sys_getpeername,		"getpeername"		},
[SYS_socket_subcall +  8] = { 4,	IS|TN,		sys_socketpair,			"socketpair"		},
[SYS_socket_subcall +  9] = { 4,	IS|TN,		sys_send,			"send"			},
[SYS_socket_subcall + 10] = { 4,	IS|TN,		sys_recv,			"recv"			},
[SYS_socket_subcall + 11] = { 6,	IS|TN,		sys_sendto,			"sendto"		},
[SYS_socket_subcall + 12] = { 6,	IS|TN,		sys_recvfrom,			"recvfrom"		},
[SYS_socket_subcall + 13] = { 2,	IS|TN,		sys_shutdown,			"shutdown"		},
[SYS_socket_subcall + 14] = { 5,	IS|TN,		sys_setsockopt,			"setsockopt"		},
[SYS_socket_subcall + 15] = { 5,	IS|TN,		sys_getsockopt,			"getsockopt"		},
[SYS_socket_subcall + 16] = { 3,	IS|TN,		sys_sendmsg,			"sendmsg"		},
[SYS_socket_subcall + 17] = { 3,	IS|TN,		sys_recvmsg,			"recvmsg"		},
[SYS_socket_subcall + 18] = { 4,	IS|TN,		sys_accept4,			"accept4"		},
[SYS_socket_subcall + 19] = { 5,	IS|TN,		sys_recvmmsg,			"recvmmsg"		},
[SYS_socket_subcall + 20] = { 4,	IS|TN,		sys_sendmmsg,			"sendmmsg"		},

#define SYS_socket_nsubcalls	21
#define SYS_ipc_subcall	((SYS_socket_subcall) + (SYS_socket_nsubcalls))

[SYS_ipc_subcall +  0] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall +  1] = { 4,	IS|TI,		sys_semop,			"semop"			},
[SYS_ipc_subcall +  2] = { 3,	IS|TI,		sys_semget,			"semget"		},
[SYS_ipc_subcall +  3] = { 4,	IS|TI,		sys_semctl,			"semctl"		},
[SYS_ipc_subcall +  4] = { 5,	IS|TI,		sys_semtimedop,			"semtimedop"		},
[SYS_ipc_subcall +  5] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall +  6] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall +  7] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall +  8] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall +  9] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 10] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 11] = { 4,	IS|TI,		sys_msgsnd,			"msgsnd"		},
[SYS_ipc_subcall + 12] = { 4,	IS|TI,		sys_msgrcv,			"msgrcv"		},
[SYS_ipc_subcall + 13] = { 2,	IS|TI,		sys_msgget,			"msgget"		},
[SYS_ipc_subcall + 14] = { 4,	IS|TI,		sys_msgctl,			"msgctl"		},
[SYS_ipc_subcall + 15] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 16] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 17] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 18] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 19] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 20] = { 6,	0,		printargs,			"ipc_subcall"		},
[SYS_ipc_subcall + 21] = { 4,	IS|TI|TM|SI,	sys_shmat,			"shmat"			},
[SYS_ipc_subcall + 22] = { 4,	IS|TI|TM|SI,	sys_shmdt,			"shmdt"			},
[SYS_ipc_subcall + 23] = { 3,	IS|TI,		sys_shmget,			"shmget"		},
[SYS_ipc_subcall + 24] = { 4,	IS|TI,		sys_shmctl,			"shmctl"		},

#define SYS_ipc_nsubcalls	25

#undef IS