From: Mathieu Desnoyers Date: Sun, 20 Jul 2014 17:39:39 +0000 (-0400) Subject: Add syscall inout table X-Git-Tag: v2.6.0-rc1~47 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=908ac64614ae60c0bda5fe12fdc3c3be7863c9db;p=lttng-modules.git Add syscall inout table Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/table-syscall-inout.txt b/instrumentation/syscalls/table-syscall-inout.txt new file mode 100644 index 00000000..bbd5ddbe --- /dev/null +++ b/instrumentation/syscalls/table-syscall-inout.txt @@ -0,0 +1,289 @@ +syscall sys_read nbargs 3 rw: (r, w, r) +syscall sys_write nbargs 3 rw: (r, r, r) +syscall sys_open nbargs 3 rw: (r, r, r) +syscall sys_close nbargs 1 rw: (r) +syscall sys_newstat nbargs 2 rw: (r, w) +syscall sys_newfstat nbargs 2 rw: (r, w) +syscall sys_newlstat nbargs 2 rw: (r, w) +syscall sys_poll nbargs 3 rw: (rw, r, r) +syscall sys_lseek nbargs 3 rw: (r, r, r) +syscall sys_mmap nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_mprotect nbargs 3 rw: (r, r, r) +syscall sys_munmap nbargs 2 rw: (r, r) +syscall sys_brk nbargs 1 rw: (r) +syscall sys_rt_sigaction nrargs 3 rw: (r, r, w) +syscall sys_rt_sigprocmask nbargs 4 rw: (r, r, w) +syscall sys_ioctl nbargs 3 rw: (r, r, rw) +syscall sys_pread64 nbargs 4 rw: (r, w, r, r) +syscall sys_pwrite64 nbargs 4 rw: (r, r, r, r) +syscall sys_readv nbargs 3 rw: (r, rw, r) +syscall sys_writev nbargs 3 rw: (r, rw, r) +syscall sys_access nbargs 2 rw: (r, r) +syscall sys_pipe nbargs 1 rw: (w) +syscall sys_select nbargs 5 rw: (r, rw, rw, rw, rw) +syscall sys_sched_yield nbargs 0 +syscall sys_mremap nbargs 5 rw: (r, r, r, r, r) +syscall sys_msync nbargs 3 rw: (r, r, r) +syscall sys_mincore nbargs rw: (r, r, w) +syscall sys_madvise nbargs 3 rw: (r, r, r) +syscall sys_shmget nbargs 3 rw: (r, r, r) +syscall sys_shmat nbargs 3 rw: (r, r, r) +syscall sys_shmctl nbargs 3 rw: (r, r, rw) +syscall sys_dup nbargs 1 rw: (r) +syscall sys_dup2 nbargs 2 rw: (r, r) +syscall sys_pause nbargs 0 +syscall sys_nanosleep nbargs 2 rw: (r, w) +syscall sys_getitimer nbargs 2 rw: (r, w) +syscall sys_alarm nbargs 1 rw: (r) +syscall sys_setitimer nbargs 3 rw: (r, r, w) +syscall sys_getpid nbargs 0 +syscall sys_sendfile64 nbargs 4 rw: (r, r, rw, r) +syscall sys_socket nbargs 3 rw: (r, r, r) +syscall sys_connect nbargs 3 rw: (r, r, r) +syscall sys_accept nbargs 3 rw: (r, w, rw) +syscall sys_sendto nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_recvfrom nbargs 6 rw: (r, w, r, r, w, rw) +syscall sys_sendmsg nbargs 3 rw: (r, r, r) +syscall sys_recvmsg nbargs 3 rw: (r, rw, r) +syscall sys_shutdown nbargs 2 rw: (r, r) +syscall sys_bind nbargs 3 rw: (r, r, r) +syscall sys_listen nbargs 2 rw: (r, r) +syscall sys_getsockname nbargs 3 rw: (r, w, rw) +syscall sys_getpeername nbargs 3 rw: (r, w, rw) +syscall sys_socketpair nbargs 4 rw: (r, r, w) +syscall sys_setsockopt nbargs 5 rw: (r, r, r, r, r) +syscall sys_getsockopt nbargs 5 rw: (r, r, r, w, rw) +syscall sys_exit nbargs 1 rw: (r) +syscall sys_wait4 nbargs 4 rw: (r, w, r, w) +syscall sys_kill nbargs 2 rw: (r, r) +syscall sys_newuname nbargs 1 rw: (w) +syscall sys_semget nbargs 3 rw: (r, r, r) +syscall sys_semop nbargs 3 rw: (r, r, r) +syscall sys_semctl nbargs 4 rw: (r, r, r, rw) +syscall sys_shmdt nbargs 1 rw: (r) +syscall sys_msgget nbargs 2 rw: (r, r) +syscall sys_msgsnd nbargs 4 rw: (r, r, r, r) +syscall sys_msgrcv nbargs 5 rw: (r, w, r, r, r) +syscall sys_msgctl nbargs 3 rw: (r, r, rw) +syscall sys_fcntl nbargs 3 rw: (r, r, rw) +syscall sys_flock nbargs 2 rw: (r, r) +syscall sys_fsync nbargs 1 rw: (r) +syscall sys_fdatasync nbargs 1 rw: (r) +syscall sys_truncate nbargs 2 rw: (r, r) +syscall sys_ftruncate nbargs 2 rw: (r, r) +syscall sys_getdents nbargs 3 rw: (r, w, r) +syscall sys_getcwd nbargs 2 rw (w, r) +syscall sys_chdir nbargs 1 rw: (r) +syscall sys_fchdir nbargs 1 rw: (r) +syscall sys_rename nbargs 2 rw: (r, r) +syscall sys_mkdir nbargs 2 rw: (r, r) +syscall sys_rmdir nbargs 1 rw: (r) +syscall sys_creat nbargs 2 rw: (r, r) +syscall sys_link nbargs 2 rw: (r, r) +syscall sys_unlink nbargs 1 rw: (r) +syscall sys_symlink nbargs 2 rw: (r, r) +syscall sys_readlink nbargs 3 rw: (r, w, r) +syscall sys_chmod nbargs 2 rw: (r, r) +syscall sys_fchmod nbargs 2 rw: (r, r) +syscall sys_chown nbargs 3 rw: (r, r, r) +syscall sys_fchown nbargs 3 rw: (r, r, r) +syscall sys_lchown nbargs 3 rw: (r, r, r) +syscall sys_umask nbargs 1 rw: (r) +syscall sys_gettimeofday nbargs 2 rw: (w, w) +syscall sys_getrlimit nbargs 2 rw: (r, w) +syscall sys_getrusage nbargs 2 rw: (r, w) +syscall sys_sysinfo nbargs 1 rw: (w) +syscall sys_times nbargs 1 rw: (w) +syscall sys_ptrace nbargs 4 rw: (r, r, rw, rw) +syscall sys_getuid nbargs 0 +syscall sys_syslog nbargs 3 rw: (r, w, r) +syscall sys_getgid nbargs 0 +syscall sys_setuid nbargs 1 rw: (r) +syscall sys_setgid nbargs 1 rw: (r) +syscall sys_geteuid nbargs 0 +syscall sys_getegid nbargs 0 +syscall sys_setpgid nbargs 2 rw: (r, r) +syscall sys_getppid nbargs 0 +syscall sys_getpgrp nbargs 0 +syscall sys_setsid nbargs 0 +syscall sys_setreuid nbargs 2 rw: (r, r) +syscall sys_setregid nbargs 2 rw: (r, r) +syscall sys_getgroups nbargs 2 rw: (r, w) +syscall sys_setgroups nbargs 2 rw: (r, r) +syscall sys_setresuid nbargs 3 rw: (r, r, r) +syscall sys_getresuid nbargs 3 rw: (w, w, w) +syscall sys_setresgid nbargs 3 rw: (r, r, r) +syscall sys_getresgid nbargs 3 rw: (w, w, w) +syscall sys_getpgid nbargs 1 rw: (r) +syscall sys_setfsuid nbargs 1 rw: (r) +syscall sys_setfsgid nbargs 1 rw: (r) +syscall sys_getsid nbargs 1 rw: (r) +syscall sys_capget nbargs 2 rw: (r, w) +syscall sys_capset nbargs 2 rw: (r, r) +syscall sys_rt_sigpending nbargs rw: (w, r) +syscall sys_rt_sigtimedwait nbargs 4 rw: (w, w, r, r) +syscall sys_rt_sigqueueinfo nbargs 3 rw: (r, r, r) +syscall sys_rt_sigsuspend nbargs 2 rw: (r, r) +syscall sys_sigaltstack nbargs 2 rw: (r, rw) +syscall sys_utime nbargs 2 rw: (r, r) +syscall sys_mknod nbargs 3 rw: (r, r, r) +syscall sys_personality nbargs 1 rw: (r) +syscall sys_ustat nbargs 2 rw: (r, w) +syscall sys_statfs nbargs 2 rw: (r, w) +syscall sys_fstatfs nbargs 2 rw: (r, w) +syscall sys_sysfs nbargs 3 rw: (r, r, r) +syscall sys_getpriority nbargs 2 rw: (r, r) +syscall sys_setpriority nbargs 3 rw: (r, r, r) +syscall sys_sched_setparam nbargs 2 rw: (r, r) +syscall sys_sched_getparam nbargs 2 rw: (r, w) +syscall sys_sched_setscheduler nbargs 3 rw: (r, r, r) +syscall sys_sched_getscheduler nbargs 1 rw: (r) +syscall sys_sched_get_priority_max nbargs 1 rw: (r) +syscall sys_sched_get_priority_min nbargs 1 rw: (r) +syscall sys_sched_rr_get_interval nbargs 2 rw: (r, w) +syscall sys_mlock nbargs 2 rw: (r, r) +syscall sys_munlock nbargs 2 rw: (r, r) +syscall sys_mlockall nbargs 1 rw: (r) +syscall sys_munlockall nbargs 0 +syscall sys_vhangup nbargs 0 +syscall sys_pivot_root nbargs 2 rw: (r, r) +syscall sys_sysctl nbargs 1 rw: (rw) +syscall sys_prctl nbargs 5 rw: (r, rw, r, r, r) +syscall sys_adjtimex nbargs 1 rw: (rw) +syscall sys_setrlimit nbargs 2 rw: (r, r) +syscall sys_chroot nbargs 1 rw: (r) +syscall sys_sync nbargs 0 +syscall sys_acct nbargs 1 rw: (r) +syscall sys_settimeofday nbargs 2 rw: (r, r) +syscall sys_mount nbargs 5 rw: (r, r, r, r, r) +syscall sys_umount nbargs 2 rw: (r, r) +syscall sys_swapon nbargs 2 rw: (r, r) +syscall sys_swapoff nbargs 1 rw: (r) +syscall sys_reboot nbargs 4 rw: (r, r, r, r) +syscall sys_sethostname nbargs 2 rw: (r, r) +syscall sys_setdomainname nbargs 2 rw: (r, r) +syscall sys_init_module nbargs 3 rw: (r, r, r) +syscall sys_delete_module nbargs 2 rw: (r, r) +syscall sys_quotactl nbargs 4 rw: (r, r, r, rw) +syscall sys_gettid nbargs 0 +syscall sys_readahead nbargs 3 rw: (r, r, r) +syscall sys_setxattr nbargs 5 rw: (r, r, r, r, r) +syscall sys_lsetxattr nbargs 5 rw: (r, r, r, r, r) +syscall sys_fsetxattr nbargs 5 rw: (r, r, r, r, r) +syscall sys_getxattr nbargs 4 rw: (r, r, w, r) +syscall sys_lgetxattr nbargs 4 rw: (r, r, w, r) +syscall sys_fgetxattr nbargs 4 rw: (r, r, w, r) +syscall sys_listxattr nbargs 3 rw: (r, w, r) +syscall sys_llistxattr nbargs 3 rw: (r, w, r) +syscall sys_flistxattr nbargs 3 rw: (r, w, r) +syscall sys_removexattr nbargs 2 rw: (r, r) +syscall sys_lremovexattr nbargs 2 rw: (r, r) +syscall sys_fremovexattr nbargs 2 rw: (r, r) +syscall sys_tkill nbargs 2 rw: (r, r) +syscall sys_time nbargs 1 rw: (w) +syscall sys_futex nbargs 6 rw: (rw, r, r, r, rw, r) +syscall sys_sched_setaffinity nbargs 3 rw: (r, r, r) +syscall sys_sched_getaffinity nbargs 3 rw: (r, r, w) +syscall sys_io_setup nbargs 2 rw: (r, r) +syscall sys_io_destroy nbargs 1 rw: (r) +syscall sys_io_getevents nbargs 5 rw: (r, r, r, w, rw) +syscall sys_io_submit nbargs 3 rw: (r, r, r) +syscall sys_io_cancel nbargs 3 rw: (r, r, w) +syscall sys_lookup_dcookie nbargs 3 rw: (r, w, r) +syscall sys_epoll_create nbargs 1 rw: (r) +syscall sys_remap_file_pages nbargs 5 rw: (r, r, r, r, r) +syscall sys_getdents64 nbargs 3 rw: (r, w, r) +syscall sys_set_tid_address nbargs 1 rw: (r) +syscall sys_restart_syscall nbargs 0 +syscall sys_semtimedop nbargs 4 rw: (r, r, r, rw) +syscall sys_fadvise64 nbargs 4 rw: (r, r, r, r) +syscall sys_timer_create nbargs 3 rw: (r, r, w) +syscall sys_timer_settime nbargs 4 rw: (r, r, r, w) +syscall sys_timer_gettime nbargs 2 rw: (r, w) +syscall sys_timer_getoverrun nbargs 1 rw: (r) +syscall sys_timer_delete nbargs 1 rw: (r) +syscall sys_clock_settime nbargs 2 rw: (r, r) +syscall sys_clock_gettime nbargs 2 rw: (r, w) +syscall sys_clock_getres nbargs 2 rw: (r, w) +syscall sys_clock_nanosleep nbargs 4 rw: (r, r, r, w) +syscall sys_exit_group nbargs 1 rw: (r) +syscall sys_epoll_wait nbargs 4 rw: (r, w, r, r) +syscall sys_epoll_ctl nbargs 4 rw: (r, r, r, r) +syscall sys_tgkill nbargs 3 rw: (r, r, r) +syscall sys_utimes nbargs 2 rw: (r, r) +syscall sys_mbind nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_set_mempolicy nbargs 3 rw: (r, r, r) +syscall sys_get_mempolicy nbargs 5 rw: (w, w, r, r, r) +syscall sys_mq_open nbargs 4 rw: (r, r) +syscall sys_mq_unlink nbargs 1 rw: (r) +syscall sys_mq_timedsend nbargs 5 rw: (r, r, r, r, r) +syscall sys_mq_timedreceive nbargs 5 rw: (r, w, r, w, r) +syscall sys_mq_notify nbargs 2 rw: (r, r) +syscall sys_mq_getsetattr nbargs 3 rw: (r, r, w) +syscall sys_kexec_load nbargs 4 rw: (r, r, r, r) +syscall sys_waitid nbargs 5 rw: (r, r, w, r) +syscall sys_add_key nbargs 5 rw: (r, r, r, r, r) +syscall sys_request_key nbargs 4 rw: (r, r, r, r) +syscall sys_keyctl nbargs 5 rw: (r, rw, rw, rw, rw) +syscall sys_ioprio_set nbargs 3 rw: (r, r, r) +syscall sys_ioprio_get nbargs 2 rw: (r, r) +syscall sys_inotify_init nbargs 0 +syscall sys_inotify_add_watch nbargs 3 rw: (r, r, r) +syscall sys_inotify_rm_watch nbargs 2 rw: (r, r) +syscall sys_migrate_pages nbargs 4 rw: (r, r, r, r) +syscall sys_openat nbargs 4 rw: (r, r, r, r) +syscall sys_mkdirat nbargs 3 rw: (r, r, r) +syscall sys_mknodat nbargs 4 rw: (r, r, r, r) +syscall sys_fchownat nbargs 5 rw: (r, r, r, r, r) +syscall sys_futimesat nbargs 3 rw: (r, r, r) +syscall sys_newfstatat nbargs 4 rw: (r, r, w, r) +syscall sys_unlinkat nbargs 3 rw: (r, r, r) +syscall sys_renameat nbargs 4 rw: (r, r, r, r) +syscall sys_linkat nbargs 5 rw: (r, r, r, r, r) +syscall sys_symlinkat nbargs 3 rw: (r, r, r) +syscall sys_readlinkat nbargs 4 rw: (r, r, w, r) +syscall sys_fchmodat nbargs 3 rw: (r, r, r) +syscall sys_faccessat nbargs 3 rw: (r, r, r) +syscall sys_pselect6 nbargs 6 rw: (r, rw, rw, rw, rw, r) +syscall sys_ppoll nbargs 5 rw: (rw, r, r) +syscall sys_unshare nbargs 1 rw: (r) +syscall sys_set_robust_list nbargs 2 rw: (r, r) +syscall sys_get_robust_list nbargs 3 rw: (r, w, w) +syscall sys_splice nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_tee nbargs 4 rw: (r, r, r, r) +syscall sys_sync_file_range nbargs 4 rw: (r, r, r, r) +syscall sys_vmsplice nbargs 4 rw: (r, r, r, r) +syscall sys_move_pages nbargs 6 rw: (r, r, r, r, w, r) +syscall sys_utimensat nbargs 4 rw: (r, r, r, r) +syscall sys_epoll_pwait nbargs 6 rw: (r, w, r, r, r) +syscall sys_signalfd nbargs 3 rw: (r, r, r) +syscall sys_timerfd_create nbargs 2 rw: (r, r) +syscall sys_eventfd nbargs 1 rw: (r) +syscall sys_fallocate nbargs 4 rw: (r, r, r, r) +syscall sys_timerfd_settime nbargs 4 rw: (r, r, r, w) +syscall sys_timerfd_gettime nbargs 2 rw: (r, w) +syscall sys_accept4 nbargs 4 rw: (r, w, rw, r) +syscall sys_signalfd4 nbargs 4 rw: (r, r, r, r) +syscall sys_eventfd2 nbargs 2 rw: (r, r) +syscall sys_epoll_create1 nbargs 1 rw: (r) +syscall sys_dup3 nbargs 3 rw: (r, r, r) +syscall sys_pipe2 nbargs 2 rw: (w, r) +syscall sys_inotify_init1 nbargs 1 rw: (r) +syscall sys_preadv nbargs 5 rw: (r, w, r, r, r) +syscall sys_pwritev nbargs 5 rw: (r, r, r, r, r) +syscall sys_rt_tgsigqueueinfo nbargs 4 rw: (r, r, r, r) +syscall sys_perf_event_open nbargs 5 rw: (r, r, r, r, r) +syscall sys_recvmmsg nbargs 5 rw: (r, w, r, r, rw) +syscall sys_fanotify_init nbargs 2 rw: (r, r) +syscall sys_fanotify_mark nbargs 5 rw: (r, r, r, r, r) +syscall sys_prlimit64 nbargs 4 rw: (r, r, r, w) +syscall sys_name_to_handle_at nbargs 5 rw: (r, r, rw, w, r) +syscall sys_open_by_handle_at nbargs 3 rw: (r, r, r) +syscall sys_clock_adjtime nbargs 2 rw: (r, rw) +syscall sys_syncfs nbargs 1 rw: (r) +syscall sys_sendmmsg nbargs 4 rw: (r, r, r, r) +syscall sys_setns nbargs 2 rw: (r, r) +syscall sys_getcpu nbargs 3 rw: (w, w, rw) +syscall sys_process_vm_readv nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_process_vm_writev nbargs 6 rw: (r, r, r, r, r, r) +syscall sys_finit_module nbargs 3 rw: (r, r, r)