Dmitry V. Levin
f55ef46feb
As kernel_ulong_t type is going to be used in the definition of struct tcb and in many function prototypes, make it readily available for every source file by including "kernel_types.h" in defs.h and tests/tests.h files. * defs.h: Include "kernel_types.h". * tests/tests.h: Likewise. * desc.c: Do not include "kernel_types.h". * dirent.c: Likewise. * keyctl.c: Likewise. * syscall.c: Likewise. * linux/asm_stat.h: Likewise. * tests/answer.c: Likewise. * tests/epoll_pwait.c: Likewise. * tests/fanotify_init.c: Likewise. * tests/fanotify_mark.c: Likewise. * tests/file_handle.c: Likewise. * tests/ftruncate.c: Likewise. * tests/getdents.c: Likewise. * tests/init_delete_module.h: Likewise. * tests/inotify.c: Likewise. * tests/inotify_init1.c: Likewise. * tests/ioprio.c: Likewise. * tests/ipc_msgbuf.c: Likewise. * tests/kcmp.c: Likewise. * tests/kexec_file_load.c: Likewise. * tests/kexec_load.c: Likewise. * tests/keyctl.c: Likewise. * tests/lookup_dcookie.c: Likewise. * tests/lseek.c: Likewise. * tests/mq_sendrecv.c: Likewise. * tests/nsyscalls.c: Likewise. * tests/pkey_alloc.c: Likewise. * tests/pkey_free.c: Likewise. * tests/pkey_mprotect.c: Likewise. * tests/prctl-pdeathsig.c: Likewise. * tests/prctl-tsc.c: Likewise. * tests/preadv2-pwritev2.c: Likewise. * tests/process_vm_readv_writev.c: Likewise. * tests/read-write.c: Likewise. * tests/setfsugid.c: Likewise. * tests/setns.c: Likewise. * tests/truncate.c: Likewise. * tests/unshare.c: Likewise. * tests/xgetrlimit.c: Likewise.
51 lines
961 B
C
51 lines
961 B
C
#ifndef STRACE_ASM_STAT_H
|
|
#define STRACE_ASM_STAT_H
|
|
|
|
# undef dev_t
|
|
# undef gid_t
|
|
# undef ino_t
|
|
# undef loff_t
|
|
# undef mode_t
|
|
# undef nlink_t
|
|
# undef off64_t
|
|
# undef off_t
|
|
# undef time_t
|
|
# undef uid_t
|
|
|
|
# define dev_t __kernel_dev_t
|
|
# define gid_t __kernel_gid_t
|
|
# define ino_t __kernel_ino_t
|
|
# define loff_t __kernel_loff_t
|
|
# define mode_t __kernel_mode_t
|
|
# define nlink_t __kernel_nlink_t
|
|
# define off64_t __kernel_off64_t
|
|
# define off_t __kernel_off_t
|
|
# define time_t __kernel_time_t
|
|
# define uid_t __kernel_uid_t
|
|
|
|
# include <asm/stat.h>
|
|
|
|
# undef dev_t
|
|
# undef gid_t
|
|
# undef ino_t
|
|
# undef loff_t
|
|
# undef mode_t
|
|
# undef nlink_t
|
|
# undef off64_t
|
|
# undef off_t
|
|
# undef time_t
|
|
# undef uid_t
|
|
|
|
# define dev_t dev_t
|
|
# define gid_t gid_t
|
|
# define ino_t ino_t
|
|
# define loff_t loff_t
|
|
# define mode_t mode_t
|
|
# define nlink_t nlink_t
|
|
# define off64_t off64_t
|
|
# define off_t off_t
|
|
# define time_t time_t
|
|
# define uid_t uid_t
|
|
|
|
#endif /* !STRACE_ASM_STAT_H */
|