Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51210 Details for
Bug 72127
strace 4.5.7 compile error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Syscall.o created with -E option
syscall.o (text/plain), 193.97 KB, created by
Pasi Sakala
on 2005-02-14 08:43:07 UTC
(
hide
)
Description:
Syscall.o created with -E option
Filename:
MIME Type:
Creator:
Pasi Sakala
Created:
2005-02-14 08:43:07 UTC
Size:
193.97 KB
patch
obsolete
># 1 "syscall.c" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "syscall.c" ># 36 "syscall.c" ># 1 "defs.h" 1 ># 33 "defs.h" ># 1 "config.h" 1 ># 34 "defs.h" 2 > > > ># 1 "/usr/include/features.h" 1 3 4 ># 314 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 315 "/usr/include/features.h" 2 3 4 ># 337 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 338 "/usr/include/features.h" 2 3 4 ># 38 "defs.h" 2 ># 69 "defs.h" ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 191 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 213 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 214 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 118 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 258 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 83 "/usr/include/bits/sched.h" 3 4 >struct __sched_param > { > int __sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 267 "/usr/include/sys/types.h" 2 3 4 > > > ># 70 "defs.h" 2 ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/environments.h" 2 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 195 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 ># 236 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int euidaccess (__const char *__name, int __type) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 287 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); ># 298 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__)); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n); ># 328 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, > __off_t __offset); > > > > > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n, > __off_t __offset); ># 356 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset); > > >extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, > __off64_t __offset); > > > > > > > >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)); ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)); ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)); > > > > > >extern char *get_current_dir_name (void) __attribute__ ((__nothrow__)); > > > > > > >extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__)); > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > __attribute__ ((__nothrow__)); > > > > >extern int execv (__const char *__path, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__)); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE > > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 531 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); ># 567 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); > >extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 593 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 610 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) __attribute__ ((__nothrow__)); > > > >extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__)); > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)); > > > >extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > > > >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > > >extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); > > > >extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); > > > >extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > >extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > > > >extern __pid_t fork (void) __attribute__ ((__nothrow__)); > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__)); > > > > >extern int link (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int symlink (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 783 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 784 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__)); > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern int setdomainname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__)); > > >extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__)); >extern void endusershell (void) __attribute__ ((__nothrow__)); >extern void setusershell (void) __attribute__ ((__nothrow__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)); > > > > > > >extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 869 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__)); > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int truncate (__const char *__file, __off_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 901 "/usr/include/unistd.h" 3 4 >extern int truncate64 (__const char *__file, __off64_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)); ># 917 "/usr/include/unistd.h" 3 4 >extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)); > > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__)); ># 932 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)); > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 953 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 976 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 986 "/usr/include/unistd.h" 3 4 >extern int lockf64 (int __fd, int __cmd, __off64_t __len); ># 1007 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > ># 71 "defs.h" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 3 4 >typedef long int wchar_t; ># 34 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 67 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 68 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > ># 235 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 236 "/usr/include/stdlib.h" 2 3 4 > > > >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern __inline double >__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >__attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >__attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 424 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 440 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 607 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 691 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 702 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); ># 711 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))); ># 721 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 749 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 814 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 902 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); > > > > > >extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) __attribute__ ((__nothrow__)); > > > >extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); > > > > >extern char *ptsname (int __fd) __attribute__ ((__nothrow__)); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > ># 72 "defs.h" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 166 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 315 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 354 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > > > > >extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); >extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); ># 444 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 474 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) __attribute__ ((__nothrow__)); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__)); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > >extern FILE *tmpfile (void); ># 176 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); ># 198 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 223 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 233 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 264 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __attribute__ ((__nothrow__)); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) __attribute__ ((__nothrow__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 456 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 467 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 500 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); > ># 545 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 561 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 622 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 633 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 669 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream); ># 688 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 711 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 750 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); ># 769 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 830 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 831 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 73 "defs.h" 2 ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 > ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), > _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), > _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), > _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), > _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), > _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), > _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), > _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), > _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), > _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), > _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), > _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__)); >extern int isalpha (int) __attribute__ ((__nothrow__)); >extern int iscntrl (int) __attribute__ ((__nothrow__)); >extern int isdigit (int) __attribute__ ((__nothrow__)); >extern int islower (int) __attribute__ ((__nothrow__)); >extern int isgraph (int) __attribute__ ((__nothrow__)); >extern int isprint (int) __attribute__ ((__nothrow__)); >extern int ispunct (int) __attribute__ ((__nothrow__)); >extern int isspace (int) __attribute__ ((__nothrow__)); >extern int isupper (int) __attribute__ ((__nothrow__)); >extern int isxdigit (int) __attribute__ ((__nothrow__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__)); > > > > > > > > >extern int isblank (int) __attribute__ ((__nothrow__)); > > > > > > >extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__)); > > > > > > >extern int isascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__)); >extern int _tolower (int) __attribute__ ((__nothrow__)); ># 190 "/usr/include/ctype.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline int >__attribute__ ((__nothrow__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 247 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__)); >extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__)); > >extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__)); > > > >extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); >extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); > > >extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); >extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__)); ># 323 "/usr/include/ctype.h" 3 4 > ># 74 "defs.h" 2 ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void *rawmemchr (__const void *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > ># 121 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strchrnul (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 414 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 415 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1173 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > *__nextp = __s; > } > return __result; >} ># 1205 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1223 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1304 "/usr/include/bits/string2.h" 3 4 >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1323 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 418 "/usr/include/string.h" 2 3 4 ># 426 "/usr/include/string.h" 3 4 > ># 75 "defs.h" 2 ># 1 "/usr/include/time.h" 1 3 4 ># 30 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 39 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 43 "/usr/include/time.h" 2 3 4 ># 129 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 178 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) __attribute__ ((__nothrow__)); > > >extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); > > >extern double difftime (time_t __time1, time_t __time0) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > __attribute__ ((__nothrow__)); > > > > > > > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) __attribute__ ((__nothrow__)); > >extern char *strptime_l (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) __attribute__ ((__nothrow__)); > > > > > > >extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) __attribute__ ((__nothrow__)); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); ># 309 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 324 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > __attribute__ ((__nothrow__)); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > __attribute__ ((__nothrow__)); > > >extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); ># 386 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 395 "/usr/include/time.h" 3 4 >extern struct tm *getdate (__const char *__string); ># 409 "/usr/include/time.h" 3 4 >extern int getdate_r (__const char *__restrict __string, > struct tm *__restrict __resbufp); > > > ># 76 "defs.h" 2 ># 1 "/usr/include/sys/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 3 4 ># 1 "/usr/include/bits/time.h" 1 3 4 ># 29 "/usr/include/sys/time.h" 2 3 4 ># 38 "/usr/include/sys/time.h" 3 4 > ># 56 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 72 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) __attribute__ ((__nothrow__)); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) __attribute__ ((__nothrow__)); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) __attribute__ ((__nothrow__)); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > >typedef enum __itimer_which __itimer_which_t; > > > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) __attribute__ ((__nothrow__)); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); ># 181 "/usr/include/sys/time.h" 3 4 > ># 77 "defs.h" 2 ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 38 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 55 "/usr/include/errno.h" 3 4 >extern char *program_invocation_name, *program_invocation_short_name; > > > > ># 69 "/usr/include/errno.h" 3 4 >typedef int error_t; ># 78 "defs.h" 2 > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 1 3 4 ># 151 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 81 "defs.h" 2 > > > ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 103 "/usr/include/bits/sigset.h" 3 4 >extern int __sigismember (__const __sigset_t *, int); >extern int __sigaddset (__sigset_t *, int); >extern int __sigdelset (__sigset_t *, int); ># 117 "/usr/include/bits/sigset.h" 3 4 >extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } >extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } >extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } ># 34 "/usr/include/signal.h" 2 3 4 > > > > > > > >typedef __sig_atomic_t sig_atomic_t; > ># 58 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/signum.h" 1 3 4 ># 59 "/usr/include/signal.h" 2 3 4 ># 75 "/usr/include/signal.h" 3 4 >typedef void (*__sighandler_t) (int); > > > > >extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__)); > >extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__)); > > > > > > > >extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); ># 103 "/usr/include/signal.h" 3 4 > > > > > >extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); > > > > > > >extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); > > > > > > >extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); > > > > >extern int raise (int __sig) __attribute__ ((__nothrow__)); > > > > >extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); >extern int gsignal (int __sig) __attribute__ ((__nothrow__)); > > > > >extern void psignal (int __sig, __const char *__s); ># 150 "/usr/include/signal.h" 3 4 >extern int __sigpause (int __sig_or_mask, int __is_sig); ># 160 "/usr/include/signal.h" 3 4 >extern int sigpause (int __sig) __asm__ ("__xpg_sigpause"); ># 179 "/usr/include/signal.h" 3 4 >extern int sigblock (int __mask) __attribute__ ((__nothrow__)); > > >extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)); > > >extern int siggetmask (void) __attribute__ ((__nothrow__)); ># 194 "/usr/include/signal.h" 3 4 >typedef __sighandler_t sighandler_t; > > > > >typedef __sighandler_t sig_t; ># 210 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/siginfo.h" 1 3 4 ># 25 "/usr/include/bits/siginfo.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/siginfo.h" 2 3 4 > > > > > > > >typedef union sigval > { > int sival_int; > void *sival_ptr; > } sigval_t; ># 51 "/usr/include/bits/siginfo.h" 3 4 >typedef struct siginfo > { > int si_signo; > int si_errno; > > int si_code; > > union > { > int _pad[((128 / sizeof (int)) - 3)]; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > } _kill; > > > struct > { > int si_tid; > int si_overrun; > sigval_t si_sigval; > } _timer; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > sigval_t si_sigval; > } _rt; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > int si_status; > __clock_t si_utime; > __clock_t si_stime; > } _sigchld; > > > struct > { > void *si_addr; > } _sigfault; > > > struct > { > long int si_band; > int si_fd; > } _sigpoll; > } _sifields; > } siginfo_t; ># 129 "/usr/include/bits/siginfo.h" 3 4 >enum >{ > SI_ASYNCNL = -60, > > SI_TKILL = -6, > > SI_SIGIO, > > SI_ASYNCIO, > > SI_MESGQ, > > SI_TIMER, > > SI_QUEUE, > > SI_USER, > > SI_KERNEL = 0x80 > >}; > > > >enum >{ > ILL_ILLOPC = 1, > > ILL_ILLOPN, > > ILL_ILLADR, > > ILL_ILLTRP, > > ILL_PRVOPC, > > ILL_PRVREG, > > ILL_COPROC, > > ILL_BADSTK > >}; > > >enum >{ > FPE_INTDIV = 1, > > FPE_INTOVF, > > FPE_FLTDIV, > > FPE_FLTOVF, > > FPE_FLTUND, > > FPE_FLTRES, > > FPE_FLTINV, > > FPE_FLTSUB > >}; > > >enum >{ > SEGV_MAPERR = 1, > > SEGV_ACCERR > >}; > > >enum >{ > BUS_ADRALN = 1, > > BUS_ADRERR, > > BUS_OBJERR > >}; > > >enum >{ > TRAP_BRKPT = 1, > > TRAP_TRACE > >}; > > >enum >{ > CLD_EXITED = 1, > > CLD_KILLED, > > CLD_DUMPED, > > CLD_TRAPPED, > > CLD_STOPPED, > > CLD_CONTINUED > >}; > > >enum >{ > POLL_IN = 1, > > POLL_OUT, > > POLL_MSG, > > POLL_ERR, > > POLL_PRI, > > POLL_HUP > >}; ># 273 "/usr/include/bits/siginfo.h" 3 4 >typedef struct sigevent > { > sigval_t sigev_value; > int sigev_signo; > int sigev_notify; > > union > { > int _pad[((64 / sizeof (int)) - 3)]; > > > > __pid_t _tid; > > struct > { > void (*_function) (sigval_t); > void *_attribute; > } _sigev_thread; > } _sigev_un; > } sigevent_t; > > > > > > >enum >{ > SIGEV_SIGNAL = 0, > > SIGEV_NONE, > > SIGEV_THREAD, > > > SIGEV_THREAD_ID = 4 > >}; ># 211 "/usr/include/signal.h" 2 3 4 > > > >extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)); > > >extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)); > > >extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)); > > >extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)); > > >extern int sigismember (__const sigset_t *__set, int __signo) __attribute__ ((__nothrow__)); > > > >extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)); > > >extern int sigandset (sigset_t *__set, __const sigset_t *__left, > __const sigset_t *__right) __attribute__ ((__nothrow__)); > > >extern int sigorset (sigset_t *__set, __const sigset_t *__left, > __const sigset_t *__right) __attribute__ ((__nothrow__)); > > > > ># 1 "/usr/include/bits/sigaction.h" 1 3 4 ># 25 "/usr/include/bits/sigaction.h" 3 4 >struct sigaction > { > > > union > { > > __sighandler_t sa_handler; > > void (*sa_sigaction) (int, siginfo_t *, void *); > } > __sigaction_handler; > > > > > > > > __sigset_t sa_mask; > > > int sa_flags; > > > void (*sa_restorer) (void); > }; ># 244 "/usr/include/signal.h" 2 3 4 > > >extern int sigprocmask (int __how, __const sigset_t *__restrict __set, > sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); > > > > > > >extern int sigsuspend (__const sigset_t *__set); > > >extern int sigaction (int __sig, __const struct sigaction *__restrict __act, > struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); > > >extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)); > > > > > > >extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig); > > > > > > >extern int sigwaitinfo (__const sigset_t *__restrict __set, > siginfo_t *__restrict __info); > > > > > > >extern int sigtimedwait (__const sigset_t *__restrict __set, > siginfo_t *__restrict __info, > __const struct timespec *__restrict __timeout); > > > >extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) > __attribute__ ((__nothrow__)); ># 299 "/usr/include/signal.h" 3 4 >extern __const char *__const _sys_siglist[65]; >extern __const char *__const sys_siglist[65]; > > >struct sigvec > { > __sighandler_t sv_handler; > int sv_mask; > > int sv_flags; > > }; ># 323 "/usr/include/signal.h" 3 4 >extern int sigvec (int __sig, __const struct sigvec *__vec, > struct sigvec *__ovec) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/bits/sigcontext.h" 1 3 4 ># 28 "/usr/include/bits/sigcontext.h" 3 4 ># 1 "/usr/include/asm/sigcontext.h" 1 3 4 ># 18 "/usr/include/asm/sigcontext.h" 3 4 >struct _fpreg { > unsigned short significand[4]; > unsigned short exponent; >}; > >struct _fpxreg { > unsigned short significand[4]; > unsigned short exponent; > unsigned short padding[3]; >}; > >struct _xmmreg { > unsigned long element[4]; >}; > >struct _fpstate { > > unsigned long cw; > unsigned long sw; > unsigned long tag; > unsigned long ipoff; > unsigned long cssel; > unsigned long dataoff; > unsigned long datasel; > struct _fpreg _st[8]; > unsigned short status; > unsigned short magic; > > > unsigned long _fxsr_env[6]; > unsigned long mxcsr; > unsigned long reserved; > struct _fpxreg _fxsr_st[8]; > struct _xmmreg _xmm[8]; > unsigned long padding[56]; >}; > > > >struct sigcontext { > unsigned short gs, __gsh; > unsigned short fs, __fsh; > unsigned short es, __esh; > unsigned short ds, __dsh; > unsigned long edi; > unsigned long esi; > unsigned long ebp; > unsigned long esp; > unsigned long ebx; > unsigned long edx; > unsigned long ecx; > unsigned long eax; > unsigned long trapno; > unsigned long err; > unsigned long eip; > unsigned short cs, __csh; > unsigned long eflags; > unsigned long esp_at_signal; > unsigned short ss, __ssh; > struct _fpstate * fpstate; > unsigned long oldmask; > unsigned long cr2; >}; ># 29 "/usr/include/bits/sigcontext.h" 2 3 4 ># 329 "/usr/include/signal.h" 2 3 4 > > >extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); ># 341 "/usr/include/signal.h" 3 4 >extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); > ># 1 "/usr/include/bits/sigstack.h" 1 3 4 ># 26 "/usr/include/bits/sigstack.h" 3 4 >struct sigstack > { > void *ss_sp; > int ss_onstack; > }; > > > >enum >{ > SS_ONSTACK = 1, > > SS_DISABLE > >}; ># 50 "/usr/include/bits/sigstack.h" 3 4 >typedef struct sigaltstack > { > void *ss_sp; > int ss_flags; > size_t ss_size; > } stack_t; ># 344 "/usr/include/signal.h" 2 3 4 > > ># 1 "/usr/include/sys/ucontext.h" 1 3 4 ># 23 "/usr/include/sys/ucontext.h" 3 4 ># 1 "/usr/include/signal.h" 1 3 4 ># 24 "/usr/include/sys/ucontext.h" 2 3 4 > > > ># 1 "/usr/include/bits/sigcontext.h" 1 3 4 ># 28 "/usr/include/sys/ucontext.h" 2 3 4 > > > >typedef int greg_t; > > > > > >typedef greg_t gregset_t[19]; > > > >enum >{ > REG_GS = 0, > > REG_FS, > > REG_ES, > > REG_DS, > > REG_EDI, > > REG_ESI, > > REG_EBP, > > REG_ESP, > > REG_EBX, > > REG_EDX, > > REG_ECX, > > REG_EAX, > > REG_TRAPNO, > > REG_ERR, > > REG_EIP, > > REG_CS, > > REG_EFL, > > REG_UESP, > > REG_SS > >}; > > > >struct _libc_fpreg >{ > unsigned short int significand[4]; > unsigned short int exponent; >}; > >struct _libc_fpstate >{ > unsigned long int cw; > unsigned long int sw; > unsigned long int tag; > unsigned long int ipoff; > unsigned long int cssel; > unsigned long int dataoff; > unsigned long int datasel; > struct _libc_fpreg _st[8]; > unsigned long int status; >}; > > >typedef struct _libc_fpstate *fpregset_t; > > >typedef struct > { > gregset_t gregs; > > > fpregset_t fpregs; > unsigned long int oldmask; > unsigned long int cr2; > } mcontext_t; > > >typedef struct ucontext > { > unsigned long int uc_flags; > struct ucontext *uc_link; > stack_t uc_stack; > mcontext_t uc_mcontext; > __sigset_t uc_sigmask; > struct _libc_fpstate __fpregs_mem; > } ucontext_t; ># 347 "/usr/include/signal.h" 2 3 4 > > > > > >extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__)); > > > >extern int sigaltstack (__const struct sigaltstack *__restrict __ss, > struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); > > > > > > > >extern int sighold (int __sig) __attribute__ ((__nothrow__)); > > >extern int sigrelse (int __sig) __attribute__ ((__nothrow__)); > > >extern int sigignore (int __sig) __attribute__ ((__nothrow__)); > > >extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__)); > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 381 "/usr/include/signal.h" 2 3 4 ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 31 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > __const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); > > >extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); ># 382 "/usr/include/signal.h" 2 3 4 > > > > > > >extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); > >extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); > > > > ># 85 "defs.h" 2 ># 128 "defs.h" ># 1 "/usr/include/sys/ptrace.h" 1 3 4 ># 25 "/usr/include/sys/ptrace.h" 3 4 > > > >enum __ptrace_request >{ > > > > PTRACE_TRACEME = 0, > > > > PTRACE_PEEKTEXT = 1, > > > > PTRACE_PEEKDATA = 2, > > > > PTRACE_PEEKUSER = 3, > > > > PTRACE_POKETEXT = 4, > > > > PTRACE_POKEDATA = 5, > > > > PTRACE_POKEUSER = 6, > > > > PTRACE_CONT = 7, > > > > PTRACE_KILL = 8, > > > > > PTRACE_SINGLESTEP = 9, > > > > > PTRACE_GETREGS = 12, > > > > > PTRACE_SETREGS = 13, > > > > > PTRACE_GETFPREGS = 14, > > > > > PTRACE_SETFPREGS = 15, > > > > PTRACE_ATTACH = 16, > > > > PTRACE_DETACH = 17, > > > > > PTRACE_GETFPXREGS = 18, > > > > > PTRACE_SETFPXREGS = 19, > > > > PTRACE_SYSCALL = 24 > >}; ># 125 "/usr/include/sys/ptrace.h" 3 4 >extern long int xptrace (enum __ptrace_request __request, ...) __attribute__ ((__nothrow__)); > > ># 129 "defs.h" 2 ># 137 "defs.h" >extern long ptrace(int, int, char *, long); ># 266 "defs.h" >struct tcb { > short flags; > int pid; > long scno; > int u_nargs; > long u_arg[32]; > int u_error; > long u_rval; > > long long u_lrval; > > FILE *outf; > const char *auxstr; > struct timeval stime; > struct timeval dtime; > struct timeval etime; > > struct tcb *parent; > int nchildren; > int waitpid; > int nzombies; > > int nclone_threads; > int nclone_detached; > int nclone_waiting; > > > long baddr; > long inst[2]; > int pfd; ># 310 "defs.h" >}; ># 331 "defs.h" ># 1 "/usr/include/sys/syscall.h" 1 3 4 ># 25 "/usr/include/sys/syscall.h" 3 4 ># 1 "/usr/include/asm/unistd.h" 1 3 4 ># 26 "/usr/include/sys/syscall.h" 2 3 4 > > > > > > ># 1 "/usr/include/bits/syscall.h" 1 3 4 ># 33 "/usr/include/sys/syscall.h" 2 3 4 ># 332 "defs.h" 2 ># 366 "defs.h" >struct xlat { > int val; > char *str; >}; ># 399 "defs.h" >extern struct tcb **tcbtab; >extern int qual_flags[]; >extern int debug, followfork, followvfork; >extern int rflag, tflag, dtime, cflag, xflag, qflag; >extern int acolumn; >extern char *outfname; >extern unsigned int nprocs, tcbtabsize; >extern int max_strlen; >extern struct tcb *tcp_last; > > > > > > > >extern int set_personality (int personality); >extern char *xlookup (const struct xlat *, int); >extern struct tcb *alloctcb (int); >extern struct tcb *pid2tcb (int); >extern void droptcb (struct tcb *); >extern int expand_tcbtab (void); > >extern void set_sortby (char *); >extern void set_overhead (int); >extern void qualify (char *); >extern void newoutf (struct tcb *); >extern int get_scno (struct tcb *); >extern int trace_syscall (struct tcb *); >extern void printxval (const struct xlat *, int, char *); >extern int printargs (struct tcb *); >extern int addflags (const struct xlat *, int); >extern int printflags (const struct xlat *, int); >extern int umoven (struct tcb *, long, int, char *); >extern int umovestr (struct tcb *, long, int, char *); >extern int upeek (int, long, long *); >extern void dumpiov (struct tcb *, int, long); >extern void dumpstr (struct tcb *, long, int); >extern void string_quote (char *str); >extern void printstr (struct tcb *, long, int); >extern void printnum (struct tcb *, long, char *); >extern void printpath (struct tcb *, long); >extern void printpathn (struct tcb *, long, int); >extern void printtv (struct tcb *, long); > >extern void printsiginfo (siginfo_t *, int); > >extern void printsock (struct tcb *, long, int); >extern void print_sock_optmgmt (struct tcb *, long, int); >extern void printrusage (struct tcb *, long); >extern void printuid (const char *, unsigned long); >extern int clearbpt (struct tcb *); >extern int setbpt (struct tcb *); >extern int sigishandled (struct tcb *, int); >extern void printcall (struct tcb *); >extern const char *signame (int); >extern void printsignal (int); >extern void printleader (struct tcb *); >extern void printtrailer (struct tcb *); >extern void tabto (int); >extern void call_summary (FILE *); >extern void fake_execve (struct tcb *, char *, char *[], char *[]); >extern void printtv32 (struct tcb*, long); >extern void tprint_iov (struct tcb *, int, long); > > >extern int internal_clone (struct tcb *); > >extern int internal_fork (struct tcb *); >extern int internal_exec (struct tcb *); >extern int internal_wait (struct tcb *, int); >extern int internal_exit (struct tcb *); > >extern const struct ioctlent *ioctl_lookup (long); >extern const struct ioctlent *ioctl_next_match (const struct ioctlent *); >extern int ioctl_decode (struct tcb *, long, long); >extern int term_ioctl (struct tcb *, long, long); >extern int sock_ioctl (struct tcb *, long, long); >extern int proc_ioctl (struct tcb *, int, int); >extern int stream_ioctl (struct tcb *, int, int); > >extern int rtc_ioctl (struct tcb *, long, long); > > >extern void tv_tv (struct timeval *, int, int); >extern int tv_nz (struct timeval *); >extern int tv_cmp (struct timeval *, struct timeval *); >extern double tv_float (struct timeval *); >extern void tv_add (struct timeval *, struct timeval *, struct timeval *); >extern void tv_sub (struct timeval *, struct timeval *, struct timeval *); >extern void tv_mul (struct timeval *, struct timeval *, int); >extern void tv_div (struct timeval *, struct timeval *, int); ># 507 "defs.h" >extern void tprintf(const char *fmt, ...) > __attribute__ ((format (printf, 1, 2))); ># 523 "defs.h" >extern int current_personality; > >struct sysent { > int nargs; > int sys_flags; > int (*sys_func)(); > const char *sys_name; >}; > >extern const struct sysent *sysent; >extern int nsyscalls; > >extern const char *const *errnoent; >extern int nerrnos; > >struct ioctlent { > const char *doth; > const char *symbol; > unsigned long code; >}; > >extern const struct ioctlent *ioctlent; >extern int nioctlents; > >extern const char *const *signalent; >extern int nsignals; > >extern const struct ioctlent ioctlent0[]; >extern const int nioctlents0; >extern const char *const signalent0[]; >extern const int nsignals0; ># 602 "defs.h" >extern int not_failing_only; ># 37 "syscall.c" 2 > > > ># 1 "/usr/include/errno.h" 1 3 4 ># 41 "syscall.c" 2 ># 1 "/usr/include/sys/user.h" 1 3 4 ># 26 "/usr/include/sys/user.h" 3 4 >struct user_fpregs_struct >{ > long int cwd; > long int swd; > long int twd; > long int fip; > long int fcs; > long int foo; > long int fos; > long int st_space [20]; >}; > >struct user_fpxregs_struct >{ > unsigned short int cwd; > unsigned short int swd; > unsigned short int twd; > unsigned short int fop; > long int fip; > long int fcs; > long int foo; > long int fos; > long int mxcsr; > long int reserved; > long int st_space[32]; > long int xmm_space[32]; > long int padding[56]; >}; > >struct user_regs_struct >{ > long int ebx; > long int ecx; > long int edx; > long int esi; > long int edi; > long int ebp; > long int eax; > long int xds; > long int xes; > long int xfs; > long int xgs; > long int orig_eax; > long int eip; > long int xcs; > long int eflags; > long int esp; > long int xss; >}; > >struct user >{ > struct user_regs_struct regs; > int u_fpvalid; > struct user_fpregs_struct i387; > unsigned long int u_tsize; > unsigned long int u_dsize; > unsigned long int u_ssize; > unsigned long start_code; > unsigned long start_stack; > long int signal; > int reserved; > struct user_regs_struct* u_ar0; > struct user_fpregs_struct* u_fpstate; > unsigned long int magic; > char u_comm [32]; > int u_debugreg [8]; >}; ># 42 "syscall.c" 2 > ># 1 "/usr/include/sys/param.h" 1 3 4 ># 22 "/usr/include/sys/param.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/limits.h" 2 3 4 ># 23 "/usr/include/sys/param.h" 2 3 4 > ># 1 "/usr/include/linux/param.h" 1 3 4 > > > ># 1 "/usr/include/asm/param.h" 1 3 4 ># 5 "/usr/include/linux/param.h" 2 3 4 ># 25 "/usr/include/sys/param.h" 2 3 4 ># 44 "syscall.c" 2 ># 60 "syscall.c" ># 1 "/usr/include/sys/reg.h" 1 3 4 ># 61 "syscall.c" 2 ># 114 "syscall.c" ># 1 "linux/syscall.h" 1 ># 31 "linux/syscall.h" ># 1 "linux/dummy.h" 1 ># 32 "linux/syscall.h" 2 > > > >int printargs(), sys_exit(), sys_fork(), sys_read(), sys_write(); >int sys_open(), sys_close(), sys_waitpid(), sys_creat(), sys_link(); >int sys_unlink(), sys_execve(), sys_chdir(), sys_time(), sys_mknod(); >int sys_chmod(), sys_chown(), printargs(), sys_oldstat(); >int sys_lseek(), printargs(), sys_mount(), sys_chdir(), sys_umount2(); >int sys_setuid(), printargs(), sys_stime(), sys_ptrace(); >int sys_alarm(), sys_oldfstat(), printargs(), sys_utime(); >int printargs(), printargs(), sys_access(), sys_nice(), printargs(); >int printargs(), sys_kill(), sys_rename(), sys_mkdir(), sys_rmdir(); >int sys_dup(), sys_pipe(), sys_times(), printargs(), sys_brk(); >int sys_setgid(), printargs(), sys_signal(), printargs(); >int printargs(), sys_chdir(), printargs(), printargs(), sys_ioctl(); >int sys_fcntl(), printargs(), sys_setpgid(), printargs(); >int printargs(), sys_umask(), sys_chroot(), printargs(); >int sys_dup2(), printargs(), printargs(), printargs(); >int sys_sigaction(), sys_siggetmask(), sys_sigsetmask(); >int sys_setreuid(), sys_setregid(), sys_sigsuspend(); >int sys_sigpending(), sys_sethostname(), sys_setrlimit(); >int sys_getrlimit(), sys_getrusage(), sys_gettimeofday(); >int sys_settimeofday(), sys_getgroups(), sys_setgroups(); >int sys_setgroups32(), sys_getgroups32(); >int sys_oldselect(), sys_symlink(), sys_oldlstat(), sys_readlink(); >int sys_chdir(), sys_chdir(), sys_reboot(), sys_readdir(); >int sys_mmap(), sys_munmap(), sys_truncate(), sys_ftruncate(); >int sys_fchmod(), sys_fchown(), sys_getpriority(); >int sys_setpriority(), printargs(), sys_statfs(), sys_fstatfs(); >int printargs(), printargs(), printargs(), sys_setitimer(); >int sys_getitimer(), sys_stat(), sys_lstat(), sys_fstat(); >int sys_uname(), printargs(), printargs(), printargs(), sys_vm86(); >int sys_wait4(), sys_chdir(), printargs(), sys_sigreturn(); >int sys_fsync(), sys_clone(), sys_setdomainname(), sys_sysinfo(); >int sys_modify_ldt(), sys_adjtimex(), sys_mprotect(); >int sys_sigprocmask(), sys_create_module(), sys_init_module(); >int sys_chdir(), printargs(), sys_quotactl(); >int printargs(), sys_close(), printargs(); >int printargs(), sys_personality(), printargs(); >int sys_setuid(), sys_setgid(), sys_llseek(); >int sys_getdents(), sys_flock(), sys_msync(); >int sys_readv(), sys_writev(), sys_select(); >int sys_getsid(), sys_close(), sys_sysctl(); >int sys_munmap(), sys_munmap(), sys_mlockall(), printargs(), sys_madvise(); >int sys_sched_setparam(), sys_sched_getparam(); >int sys_sched_setscheduler(), sys_sched_getscheduler(), printargs(); >int sys_sched_get_priority_min(), sys_sched_get_priority_min(); >int printargs(), sys_adjtime(), sys_mremap(); >int sys_sendmsg(), sys_recvmsg(), sys_setresuid(), sys_setresgid(); >int sys_getresuid(), sys_getresgid(), sys_pread(), sys_pwrite(), sys_getcwd(); >int sys_sigaltstack(), sys_rt_sigprocmask(), sys_rt_sigaction(); >int sys_rt_sigpending(), sys_rt_sigsuspend(), sys_rt_sigqueueinfo(); >int sys_rt_sigtimedwait(), sys_prctl(), sys_poll(), sys_vfork(); >int sys_sendfile(), sys_old_mmap(), sys_stat64(), sys_lstat64(), sys_fstat64(); >int sys_truncate64(), sys_ftruncate64(), sys_pivotroot(); >int sys_getdents64(); >int sys_getpmsg(), sys_putpmsg(), sys_readahead(), sys_sendfile64(); >int sys_setxattr(), sys_fsetxattr(), sys_getxattr(), sys_fgetxattr(); >int sys_listxattr(), sys_flistxattr(), sys_removexattr(), sys_fremovexattr(); >int sys_sched_setaffinity(), sys_sched_getaffinity(), sys_futex(); >int sys_set_thread_area(), sys_get_thread_area(), sys_remap_file_pages(); >int sys_timer_create(), printargs(), printargs(); >int sys_timer_gettime(), sys_timer_settime(), sys_clock_settime(); >int sys_clock_gettime(), sys_clock_gettime(), sys_clock_nanosleep(); >int sys_semtimedop(), sys_statfs64(), sys_fstatfs64(), sys_tgkill(); >int sys_mq_open(), sys_mq_timedsend(), sys_mq_timedreceive(); >int sys_mq_notify(), sys_mq_getsetattr(); >int sys_epoll_create(), sys_epoll_ctl(), sys_epoll_wait(); >int sys_waitid(), sys_fadvise64(), sys_fadvise64_64(); >int sys_mbind(), sys_get_mempolicy(), sys_set_mempolicy(); >int sys_arch_prctl(); > > > >int sys_socket(), sys_bind(), sys_connect(), sys_listen(); >int sys_accept(), sys_getsockname(), sys_getpeername(), sys_socketpair(); >int sys_send(), sys_recv(), sys_sendto(), sys_recvfrom(); >int sys_shutdown(), sys_setsockopt(), sys_getsockopt(); > > >int sys_query_module(); >int sys_poll(); >int sys_mincore(); ># 180 "linux/syscall.h" >int sys_semget(), sys_semctl(), sys_semop(); >int sys_msgsnd(), sys_msgrcv(), sys_msgget(), sys_msgctl(); >int sys_shmat(), sys_shmdt(), sys_shmget(), sys_shmctl(); ># 255 "linux/syscall.h" >int sys_setpgrp(), sys_gethostname(), sys_getdtablesize(), sys_utimes(); >int sys_capget(), sys_capset(); ># 115 "syscall.c" 2 ># 123 "syscall.c" >static const struct sysent sysent0[] = { ># 1 "linux/syscallent.h" 1 ># 31 "linux/syscallent.h" > { 0, 0, printargs, "setup" }, > { 1, 010, sys_exit, "_exit" }, > { 0, 010, sys_fork, "fork" }, > { 3, 0, sys_read, "read" }, > { 3, 0, sys_write, "write" }, > { 3, 001, sys_open, "open" }, > { 1, 0, sys_close, "close" }, > { 3, 010, sys_waitpid, "waitpid" }, > { 2, 001, sys_creat, "creat" }, > { 2, 001, sys_link, "link" }, > { 1, 001, sys_unlink, "unlink" }, > { 3, 001|010, sys_execve, "execve" }, > { 1, 001, sys_chdir, "chdir" }, > { 1, 0, sys_time, "time" }, > { 3, 001, sys_mknod, "mknod" }, > { 2, 001, sys_chmod, "chmod" }, > > > > { 3, 001, sys_chown, "lchown" }, > > { 0, 0, printargs, "break" }, > { 2, 001, sys_oldstat, "oldstat" }, > { 3, 0, sys_lseek, "lseek" }, > { 0, 0, printargs, "getpid" }, > { 5, 001, sys_mount, "mount" }, > { 1, 001, sys_chdir, "oldumount" }, > { 1, 0, sys_setuid, "setuid" }, > { 0, 0, printargs, "getuid" }, > { 1, 0, sys_stime, "stime" }, > { 4, 0, sys_ptrace, "ptrace" }, > { 1, 0, sys_alarm, "alarm" }, > { 2, 0, sys_oldfstat, "oldfstat" }, > { 0, 020, printargs, "pause" }, > { 2, 001, sys_utime, "utime" }, > { 2, 0, printargs, "stty" }, > { 2, 0, printargs, "gtty" }, > { 2, 001, sys_access, "access" }, > { 1, 0, sys_nice, "nice" }, > { 0, 0, printargs, "ftime" }, > { 0, 0, printargs, "sync" }, > { 2, 020, sys_kill, "kill" }, > { 2, 001, sys_rename, "rename" }, > { 2, 001, sys_mkdir, "mkdir" }, > { 1, 001, sys_rmdir, "rmdir" }, > { 1, 0, sys_dup, "dup" }, > { 1, 0, sys_pipe, "pipe" }, > { 1, 0, sys_times, "times" }, > { 0, 0, printargs, "prof" }, > { 1, 0, sys_brk, "brk" }, > { 1, 0, sys_setgid, "setgid" }, > { 0, 0, printargs, "getgid" }, > { 3, 020, sys_signal, "signal" }, > { 0, 0, printargs, "geteuid" }, > { 0, 0, printargs, "getegid" }, > { 1, 001, sys_chdir, "acct" }, > { 2, 001, sys_umount2, "umount" }, > { 0, 0, printargs, "lock" }, > { 3, 0, sys_ioctl, "ioctl" }, > { 3, 0, sys_fcntl, "fcntl" }, > { 0, 0, printargs, "mpx" }, > { 2, 0, sys_setpgid, "setpgid" }, > { 2, 0, printargs, "ulimit" }, > { 1, 0, printargs, "oldolduname" }, > { 1, 0, sys_umask, "umask" }, > { 1, 001, sys_chroot, "chroot" }, > { 2, 0, printargs, "ustat" }, > { 2, 0, sys_dup2, "dup2" }, > { 0, 0, printargs, "getppid" }, > { 0, 0, printargs, "getpgrp" }, > { 0, 0, printargs, "setsid" }, > { 3, 020, sys_sigaction, "sigaction" }, > { 0, 020, sys_siggetmask, "siggetmask" }, > { 1, 020, sys_sigsetmask, "sigsetmask" }, > { 2, 0, sys_setreuid, "setreuid" }, > { 2, 0, sys_setregid, "setregid" }, > { 3, 020, sys_sigsuspend, "sigsuspend" }, > { 1, 020, sys_sigpending, "sigpending" }, > { 2, 0, sys_sethostname, "sethostname" }, > { 2, 0, sys_setrlimit, "setrlimit" }, > { 2, 0, sys_getrlimit, "old_getrlimit" }, > { 2, 0, sys_getrusage, "getrusage" }, > { 2, 0, sys_gettimeofday, "gettimeofday" }, > { 2, 0, sys_settimeofday, "settimeofday" }, > { 2, 0, sys_getgroups, "getgroups" }, > { 2, 0, sys_setgroups, "setgroups" }, > { 1, 0, sys_oldselect, "oldselect" }, > { 2, 001, sys_symlink, "symlink" }, > { 2, 001, sys_oldlstat, "oldlstat" }, > { 3, 001, sys_readlink, "readlink" }, > { 1, 001, sys_chdir, "uselib" }, > { 1, 001, sys_chdir, "swapon" }, > { 3, 0, sys_reboot, "reboot" }, > { 3, 0, sys_readdir, "readdir" }, > { 6, 0, sys_old_mmap, "old_mmap" }, > { 2, 0, sys_munmap, "munmap" }, > { 2, 001, sys_truncate, "truncate" }, > { 2, 0, sys_ftruncate, "ftruncate" }, > { 2, 0, sys_fchmod, "fchmod" }, > { 3, 0, sys_fchown, "fchown" }, > { 2, 0, sys_getpriority, "getpriority" }, > { 3, 0, sys_setpriority, "setpriority" }, > { 4, 0, printargs, "profil" }, > { 2, 001, sys_statfs, "statfs" }, > { 2, 0, sys_fstatfs, "fstatfs" }, > { 3, 0, printargs, "ioperm" }, > { 2, 0, printargs, "socketcall" }, > { 3, 0, printargs, "syslog" }, > { 3, 0, sys_setitimer, "setitimer" }, > { 2, 0, sys_getitimer, "getitimer" }, > { 2, 001, sys_stat, "stat" }, > { 2, 001, sys_lstat, "lstat" }, > { 2, 0, sys_fstat, "fstat" }, > { 1, 0, printargs, "olduname" }, > { 1, 0, printargs, "iopl" }, > { 0, 0, printargs, "vhangup" }, > { 0, 0, printargs, "idle" }, > { 1, 0, printargs, "vm86old" }, > { 4, 010, sys_wait4, "wait4" }, > { 1, 0, sys_chdir, "swapoff" }, > { 1, 0, sys_sysinfo, "sysinfo" }, > { 6, 0, printargs, "ipc" }, > { 1, 0, sys_fsync, "fsync" }, > { 1, 020, sys_sigreturn, "sigreturn" }, > { 5, 010, sys_clone, "clone" }, > { 2, 0, sys_setdomainname, "setdomainname" }, > { 1, 0, sys_uname, "uname" }, > > > > { 3, 0, sys_modify_ldt, "modify_ldt" }, > > { 1, 0, sys_adjtimex, "adjtimex" }, > { 3, 0, sys_mprotect, "mprotect" }, > { 3, 020, sys_sigprocmask, "sigprocmask" }, > { 2, 0, sys_create_module, "create_module" }, > { 2, 0, sys_init_module, "init_module" }, > { 1, 0, sys_chdir, "delete_module" }, > { 1, 0, printargs, "get_kernel_syms"}, > { 4, 0, sys_quotactl, "quotactl" }, > { 1, 0, printargs, "getpgid" }, > { 1, 0, sys_close, "fchdir" }, > { 0, 0, printargs, "bdflush" }, > { 3, 0, printargs, "sysfs" }, > { 1, 0, sys_personality, "personality" }, > { 5, 0, printargs, "afs_syscall" }, > { 1, 0, sys_setuid, "setfsuid" }, > { 1, 0, sys_setgid, "setfsgid" }, > { 5, 0, sys_llseek, "_llseek" }, > { 3, 0, sys_getdents, "getdents" }, > { 5, 0, sys_select, "select" }, > { 2, 0, sys_flock, "flock" }, > { 3, 0, sys_msync, "msync" }, > { 3, 0, sys_readv, "readv" }, > { 3, 0, sys_writev, "writev" }, > { 1, 0, sys_getsid, "getsid" }, > { 1, 0, sys_close, "fdatasync" }, > { 1, 0, sys_sysctl, "_sysctl" }, > { 2, 0, sys_munmap, "mlock" }, > { 2, 0, sys_munmap, "munlock" }, > { 2, 0, sys_mlockall, "mlockall" }, > { 0, 0, printargs, "munlockall" }, > { 0, 0, sys_sched_setparam, "sched_setparam"}, > { 2, 0, sys_sched_getparam, "sched_getparam"}, > { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, > { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, > { 0, 0, printargs, "sched_yield"}, > { 1, 0, sys_sched_get_priority_min,"sched_get_priority_max"}, > { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, > { 2, 0, printargs,"sched_rr_get_interval"}, > { 2, 0, sys_adjtime, "nanosleep" }, > { 4, 0, sys_mremap, "mremap" }, > { 3, 0, sys_setresuid, "setresuid" }, > { 3, 0, sys_getresuid, "getresuid" }, > > > > { 5, 0, printargs, "vm86" }, > > { 5, 0, sys_query_module, "query_module" }, > { 3, 0, sys_poll, "poll" }, > { 3, 0, printargs, "nfsservctl" }, > { 3, 0, sys_setresgid, "setresgid" }, > { 3, 0, sys_getresgid, "getresgid" }, > { 5, 0, printargs, "prctl" }, > { 1, 020, printargs, "rt_sigreturn" }, > { 4, 020, sys_rt_sigaction, "rt_sigaction" }, > { 4, 020, sys_rt_sigprocmask, "rt_sigprocmask"}, > { 2, 020, sys_rt_sigpending, "rt_sigpending" }, > { 4, 020, sys_rt_sigtimedwait, "rt_sigtimedwait"}, > { 3, 020, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, > { 2, 020, sys_rt_sigsuspend, "rt_sigsuspend" }, > > { 5, 001, sys_pread, "pread" }, > { 5, 001, sys_pwrite, "pwrite" }, > > > > { 3, 001, sys_chown, "chown" }, > > { 2, 001, sys_getcwd, "getcwd" }, > { 2, 0, sys_capget, "capget" }, > { 2, 0, sys_capset, "capset" }, > { 2, 020, sys_sigaltstack, "sigaltstack" }, > { 4, 001, sys_sendfile, "sendfile" }, > { 5, 0, sys_getpmsg, "getpmsg" }, > { 5, 0, sys_putpmsg, "putpmsg" }, > { 0, 010, sys_vfork, "vfork" }, > { 2, 0, sys_getrlimit, "getrlimit" }, > { 6, 0, sys_mmap, "mmap2" }, > { 3, 001, sys_truncate64, "truncate64" }, > { 3, 001, sys_ftruncate64, "ftruncate64" }, > { 2, 001, sys_stat64, "stat64" }, > { 2, 001, sys_lstat64, "lstat64" }, > { 2, 001, sys_fstat64, "fstat64" }, > { 3, 001, sys_chown, "lchown32" }, > { 0, 0, printargs, "getuid32" }, > > { 0, 0, printargs, "getgid32" }, > { 0, 0, printargs, "geteuid32" }, > { 0, 0, printargs, "getegid32" }, > { 2, 0, sys_setreuid, "setreuid32" }, > { 2, 0, sys_setregid, "setregid32" }, > { 2, 0, sys_getgroups32, "getgroups32" }, > { 2, 0, sys_setgroups32, "setgroups32" }, > { 3, 0, sys_fchown, "fchown32" }, > { 3, 0, sys_setresuid, "setresuid32" }, > { 3, 0, sys_getresuid, "getresuid32" }, > { 3, 0, sys_setresgid, "setresgid32" }, > { 3, 0, sys_getresgid, "getresgid32" }, > { 3, 001, sys_chown, "chown32" }, > { 1, 0, sys_setuid, "setuid32" }, > { 1, 0, sys_setgid, "setgid32" }, > { 1, 0, sys_setuid, "setfsuid32" }, > { 1, 0, sys_setgid, "setfsgid32" }, > { 2, 001, sys_pivotroot, "pivot_root" }, > { 3, 0, sys_mincore, "mincore" }, > { 3, 0, sys_madvise, "madvise" }, > { 4, 0, sys_getdents64, "getdents64" }, > { 3, 0, sys_fcntl, "fcntl64" }, > { 4, 0, printargs, "SYS_222" }, > { 5, 0, printargs, "security" }, > { 0, 0, printargs, "gettid" }, > { 4, 0, sys_readahead, "readahead" }, > { 5, 001, sys_setxattr, "setxattr" }, > { 5, 001, sys_setxattr, "lsetxattr" }, > { 5, 0, sys_fsetxattr, "fsetxattr" }, > { 4, 001, sys_getxattr, "getxattr" }, > { 4, 001, sys_getxattr, "lgetxattr" }, > { 4, 0, sys_fgetxattr, "fgetxattr" }, > { 3, 001, sys_listxattr, "listxattr" }, > { 3, 001, sys_listxattr, "llistxattr" }, > { 3, 0, sys_flistxattr, "flistxattr" }, > { 2, 001, sys_removexattr, "removexattr" }, > { 2, 001, sys_removexattr, "lremovexattr" }, > { 2, 0, sys_fremovexattr, "fremovexattr" }, > { 2, 020, sys_kill, "tkill" }, > { 4, 001, sys_sendfile64, "sendfile64" }, > { 5, 0, sys_futex, "futex" }, > { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, > { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, > { 1, 0, sys_set_thread_area, "set_thread_area" }, > { 1, 0, sys_get_thread_area, "get_thread_area" }, > { 2, 0, printargs, "io_setup" }, > { 1, 0, printargs, "io_destroy" }, > { 5, 0, printargs, "io_getevents" }, > { 3, 0, printargs, "io_submit" }, > { 3, 0, printargs, "io_cancel" }, > { 5, 001, sys_fadvise64, "fadvise64" }, > { 5, 0, printargs, "SYS_251" }, > { 1, 010, sys_exit, "exit_group" }, > { 4, 0, printargs, "lookup_dcookie"}, > { 1, 0, sys_epoll_create, "epoll_create" }, > { 4, 0, sys_epoll_ctl, "epoll_ctl" }, > { 4, 0, sys_epoll_wait, "epoll_wait" }, > { 5, 0, sys_remap_file_pages, "remap_file_pages"}, > { 1, 0, printargs, "set_tid_address"}, > { 3, 0, sys_timer_create, "timer_create" }, > { 4, 0, sys_timer_settime, "timer_settime" }, > { 2, 0, sys_timer_gettime, "timer_gettime" }, > { 1, 0, printargs, "timer_getoverrun"}, > { 1, 0, printargs, "timer_delete" }, > { 2, 0, sys_clock_settime, "clock_settime" }, > { 2, 0, sys_clock_gettime, "clock_gettime" }, > { 2, 0, sys_clock_gettime, "clock_getres" }, > { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, > { 3, 001, sys_statfs64, "statfs64" }, > { 3, 001, sys_fstatfs64, "fstatfs64" }, > { 3, 020, sys_tgkill, "tgkill" }, > { 2, 001, sys_utimes, "utimes" }, > { 6, 001, sys_fadvise64_64, "fadvise64_64" }, > { 5, 0, printargs, "vserver" }, > { 6, 0, sys_mbind, "mbind" }, > { 5, 0, sys_get_mempolicy, "get_mempolicy" }, > { 3, 0, sys_set_mempolicy, "set_mempolicy" }, > { 4, 0, sys_mq_open, "mq_open" }, > { 1, 0, sys_unlink, "mq_unlink" }, > { 5, 0, sys_mq_timedsend, "mq_timedsend" }, > { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, > { 2, 0, sys_mq_notify, "mq_notify" }, > { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, > { 5, 0, printargs, "sys_kexec_load" }, > { 5, 010, sys_waitid, "waitid" }, > { 5, 0, printargs, "SYS_285" }, > { 5, 0, printargs, "SYS_286" }, > { 5, 0, printargs, "SYS_287" }, > { 5, 0, printargs, "SYS_288" }, > { 5, 0, printargs, "SYS_289" }, > { 5, 0, printargs, "SYS_290" }, > { 5, 0, printargs, "SYS_291" }, > { 5, 0, printargs, "SYS_292" }, > { 5, 0, printargs, "SYS_293" }, > { 5, 0, printargs, "SYS_294" }, > { 5, 0, printargs, "SYS_295" }, > { 5, 0, printargs, "SYS_296" }, > { 5, 0, printargs, "SYS_297" }, > { 5, 0, printargs, "SYS_298" }, > { 5, 0, printargs, "SYS_299" }, > > > > > { 8, 0, printargs, "socket_subcall"}, > { 3, 004, sys_socket, "socket" }, > { 3, 004, sys_bind, "bind" }, > { 3, 004, sys_connect, "connect" }, > { 2, 004, sys_listen, "listen" }, > { 3, 004, sys_accept, "accept" }, > { 3, 004, sys_getsockname, "getsockname" }, > { 3, 004, sys_getpeername, "getpeername" }, > { 4, 004, sys_socketpair, "socketpair" }, > { 4, 004, sys_send, "send" }, > { 4, 004, sys_recv, "recv" }, > { 6, 004, sys_sendto, "sendto" }, > { 6, 004, sys_recvfrom, "recvfrom" }, > { 2, 004, sys_shutdown, "shutdown" }, > { 5, 004, sys_setsockopt, "setsockopt" }, > { 5, 004, sys_getsockopt, "getsockopt" }, > { 5, 004, sys_sendmsg, "sendmsg" }, > { 5, 004, sys_recvmsg, "recvmsg" }, > > > > > { 4, 0, printargs, "ipc_subcall" }, > { 4, 002, sys_semop, "semop" }, > { 4, 002, sys_semget, "semget" }, > { 4, 002, sys_semctl, "semctl" }, > { 5, 002, sys_semtimedop, "semtimedop" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 002, sys_msgsnd, "msgsnd" }, > { 4, 002, sys_msgrcv, "msgrcv" }, > { 4, 002, sys_msgget, "msgget" }, > { 4, 002, sys_msgctl, "msgctl" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 0, printargs, "ipc_subcall" }, > { 4, 002, sys_shmat, "shmat" }, > { 4, 002, sys_shmdt, "shmdt" }, > { 4, 002, sys_shmget, "shmget" }, > { 4, 002, sys_shmctl, "shmctl" }, ># 125 "syscall.c" 2 >}; >static const int nsyscalls0 = sizeof sysent0 / sizeof sysent0[0]; ># 142 "syscall.c" >const struct sysent *sysent; >int nsyscalls; ># 152 "syscall.c" >static const char *const errnoent0[] = { ># 1 "linux/errnoent.h" 1 > "ERRNO_0", > "EPERM", > "ENOENT", > "ESRCH", > "EINTR", > "EIO", > "ENXIO", > "E2BIG", > "ENOEXEC", > "EBADF", > "ECHILD", > "EAGAIN", > "ENOMEM", > "EACCES", > "EFAULT", > "ENOTBLK", > "EBUSY", > "EEXIST", > "EXDEV", > "ENODEV", > "ENOTDIR", > "EISDIR", > "EINVAL", > "ENFILE", > "EMFILE", > "ENOTTY", > "ETXTBSY", > "EFBIG", > "ENOSPC", > "ESPIPE", > "EROFS", > "EMLINK", > "EPIPE", > "EDOM", > "ERANGE", > "EDEADLK", > "ENAMETOOLONG", > "ENOLCK", > "ENOSYS", > "ENOTEMPTY", > "ELOOP", > "ERRNO_41", > "ENOMSG", > "EIDRM", > "ECHRNG", > "EL2NSYNC", > "EL3HLT", > "EL3RST", > "ELNRNG", > "EUNATCH", > "ENOCSI", > "EL2HLT", > "EBADE", > "EBADR", > "EXFULL", > "ENOANO", > "EBADRQC", > "EBADSLT", > "ERRNO_58", > "EBFONT", > "ENOSTR", > "ENODATA", > "ETIME", > "ENOSR", > "ENONET", > "ENOPKG", > "EREMOTE", > "ENOLINK", > "EADV", > "ESRMNT", > "ECOMM", > "EPROTO", > "EMULTIHOP", > "EDOTDOT", > "EBADMSG", > "EOVERFLOW", > "ENOTUNIQ", > "EBADFD", > "EREMCHG", > "ELIBACC", > "ELIBBAD", > "ELIBSCN", > "ELIBMAX", > "ELIBEXEC", > "EILSEQ", > "ERESTART", > "ESTRPIPE", > "EUSERS", > "ENOTSOCK", > "EDESTADDRREQ", > "EMSGSIZE", > "EPROTOTYPE", > "ENOPROTOOPT", > "EPROTONOSUPPORT", > "ESOCKTNOSUPPORT", > "EOPNOTSUPP", > "EPFNOSUPPORT", > "EAFNOSUPPORT", > "EADDRINUSE", > "EADDRNOTAVAIL", > "ENETDOWN", > "ENETUNREACH", > "ENETRESET", > "ECONNABORTED", > "ECONNRESET", > "ENOBUFS", > "EISCONN", > "ENOTCONN", > "ESHUTDOWN", > "ETOOMANYREFS", > "ETIMEDOUT", > "ECONNREFUSED", > "EHOSTDOWN", > "EHOSTUNREACH", > "EALREADY", > "EINPROGRESS", > "ESTALE", > "EUCLEAN", > "ENOTNAM", > "ENAVAIL", > "EISNAM", > "EREMOTEIO", > "EDQUOT", > "ENOMEDIUM", > "EMEDIUMTYPE", > "ERRNO_125", > "ERRNO_126", > "ERRNO_127", > "ERRNO_128", > "ERRNO_129", > "ERRNO_130", > "ERRNO_131", > "ERRNO_132", > "ERRNO_133", > "ERRNO_134", > "ERRNO_135", > "ERRNO_136", > "ERRNO_137", > "ERRNO_138", > "ERRNO_139", > "ERRNO_140", > "ERRNO_141", > "ERRNO_142", > "ERRNO_143", > "ERRNO_144", > "ERRNO_145", > "ERRNO_146", > "ERRNO_147", > "ERRNO_148", > "ERRNO_149", > "ERRNO_150", > "ERRNO_151", > "ERRNO_152", > "ERRNO_153", > "ERRNO_154", > "ERRNO_155", > "ERRNO_156", > "ERRNO_157", > "ERRNO_158", > "ERRNO_159", > "ERRNO_160", > "ERRNO_161", > "ERRNO_162", > "ERRNO_163", > "ERRNO_164", > "ERRNO_165", > "ERRNO_166", > "ERRNO_167", > "ERRNO_168", > "ERRNO_169", > "ERRNO_170", > "ERRNO_171", > "ERRNO_172", > "ERRNO_173", > "ERRNO_174", > "ERRNO_175", > "ERRNO_176", > "ERRNO_177", > "ERRNO_178", > "ERRNO_179", > "ERRNO_180", > "ERRNO_181", > "ERRNO_182", > "ERRNO_183", > "ERRNO_184", > "ERRNO_185", > "ERRNO_186", > "ERRNO_187", > "ERRNO_188", > "ERRNO_189", > "ERRNO_190", > "ERRNO_191", > "ERRNO_192", > "ERRNO_193", > "ERRNO_194", > "ERRNO_195", > "ERRNO_196", > "ERRNO_197", > "ERRNO_198", > "ERRNO_199", > "ERRNO_200", > "ERRNO_201", > "ERRNO_202", > "ERRNO_203", > "ERRNO_204", > "ERRNO_205", > "ERRNO_206", > "ERRNO_207", > "ERRNO_208", > "ERRNO_209", > "ERRNO_210", > "ERRNO_211", > "ERRNO_212", > "ERRNO_213", > "ERRNO_214", > "ERRNO_215", > "ERRNO_216", > "ERRNO_217", > "ERRNO_218", > "ERRNO_219", > "ERRNO_220", > "ERRNO_221", > "ERRNO_222", > "ERRNO_223", > "ERRNO_224", > "ERRNO_225", > "ERRNO_226", > "ERRNO_227", > "ERRNO_228", > "ERRNO_229", > "ERRNO_230", > "ERRNO_231", > "ERRNO_232", > "ERRNO_233", > "ERRNO_234", > "ERRNO_235", > "ERRNO_236", > "ERRNO_237", > "ERRNO_238", > "ERRNO_239", > "ERRNO_240", > "ERRNO_241", > "ERRNO_242", > "ERRNO_243", > "ERRNO_244", > "ERRNO_245", > "ERRNO_246", > "ERRNO_247", > "ERRNO_248", > "ERRNO_249", > "ERRNO_250", > "ERRNO_251", > "ERRNO_252", > "ERRNO_253", > "ERRNO_254", > "ERRNO_255", > "ERRNO_256", > "ERRNO_257", > "ERRNO_258", > "ERRNO_259", > "ERRNO_260", > "ERRNO_261", > "ERRNO_262", > "ERRNO_263", > "ERRNO_264", > "ERRNO_265", > "ERRNO_266", > "ERRNO_267", > "ERRNO_268", > "ERRNO_269", > "ERRNO_270", > "ERRNO_271", > "ERRNO_272", > "ERRNO_273", > "ERRNO_274", > "ERRNO_275", > "ERRNO_276", > "ERRNO_277", > "ERRNO_278", > "ERRNO_279", > "ERRNO_280", > "ERRNO_281", > "ERRNO_282", > "ERRNO_283", > "ERRNO_284", > "ERRNO_285", > "ERRNO_286", > "ERRNO_287", > "ERRNO_288", > "ERRNO_289", > "ERRNO_290", > "ERRNO_291", > "ERRNO_292", > "ERRNO_293", > "ERRNO_294", > "ERRNO_295", > "ERRNO_296", > "ERRNO_297", > "ERRNO_298", > "ERRNO_299", > "ERRNO_300", > "ERRNO_301", > "ERRNO_302", > "ERRNO_303", > "ERRNO_304", > "ERRNO_305", > "ERRNO_306", > "ERRNO_307", > "ERRNO_308", > "ERRNO_309", > "ERRNO_310", > "ERRNO_311", > "ERRNO_312", > "ERRNO_313", > "ERRNO_314", > "ERRNO_315", > "ERRNO_316", > "ERRNO_317", > "ERRNO_318", > "ERRNO_319", > "ERRNO_320", > "ERRNO_321", > "ERRNO_322", > "ERRNO_323", > "ERRNO_324", > "ERRNO_325", > "ERRNO_326", > "ERRNO_327", > "ERRNO_328", > "ERRNO_329", > "ERRNO_330", > "ERRNO_331", > "ERRNO_332", > "ERRNO_333", > "ERRNO_334", > "ERRNO_335", > "ERRNO_336", > "ERRNO_337", > "ERRNO_338", > "ERRNO_339", > "ERRNO_340", > "ERRNO_341", > "ERRNO_342", > "ERRNO_343", > "ERRNO_344", > "ERRNO_345", > "ERRNO_346", > "ERRNO_347", > "ERRNO_348", > "ERRNO_349", > "ERRNO_350", > "ERRNO_351", > "ERRNO_352", > "ERRNO_353", > "ERRNO_354", > "ERRNO_355", > "ERRNO_356", > "ERRNO_357", > "ERRNO_358", > "ERRNO_359", > "ERRNO_360", > "ERRNO_361", > "ERRNO_362", > "ERRNO_363", > "ERRNO_364", > "ERRNO_365", > "ERRNO_366", > "ERRNO_367", > "ERRNO_368", > "ERRNO_369", > "ERRNO_370", > "ERRNO_371", > "ERRNO_372", > "ERRNO_373", > "ERRNO_374", > "ERRNO_375", > "ERRNO_376", > "ERRNO_377", > "ERRNO_378", > "ERRNO_379", > "ERRNO_380", > "ERRNO_381", > "ERRNO_382", > "ERRNO_383", > "ERRNO_384", > "ERRNO_385", > "ERRNO_386", > "ERRNO_387", > "ERRNO_388", > "ERRNO_389", > "ERRNO_390", > "ERRNO_391", > "ERRNO_392", > "ERRNO_393", > "ERRNO_394", > "ERRNO_395", > "ERRNO_396", > "ERRNO_397", > "ERRNO_398", > "ERRNO_399", > "ERRNO_400", > "ERRNO_401", > "ERRNO_402", > "ERRNO_403", > "ERRNO_404", > "ERRNO_405", > "ERRNO_406", > "ERRNO_407", > "ERRNO_408", > "ERRNO_409", > "ERRNO_410", > "ERRNO_411", > "ERRNO_412", > "ERRNO_413", > "ERRNO_414", > "ERRNO_415", > "ERRNO_416", > "ERRNO_417", > "ERRNO_418", > "ERRNO_419", > "ERRNO_420", > "ERRNO_421", > "ERRNO_422", > "ERRNO_423", > "ERRNO_424", > "ERRNO_425", > "ERRNO_426", > "ERRNO_427", > "ERRNO_428", > "ERRNO_429", > "ERRNO_430", > "ERRNO_431", > "ERRNO_432", > "ERRNO_433", > "ERRNO_434", > "ERRNO_435", > "ERRNO_436", > "ERRNO_437", > "ERRNO_438", > "ERRNO_439", > "ERRNO_440", > "ERRNO_441", > "ERRNO_442", > "ERRNO_443", > "ERRNO_444", > "ERRNO_445", > "ERRNO_446", > "ERRNO_447", > "ERRNO_448", > "ERRNO_449", > "ERRNO_450", > "ERRNO_451", > "ERRNO_452", > "ERRNO_453", > "ERRNO_454", > "ERRNO_455", > "ERRNO_456", > "ERRNO_457", > "ERRNO_458", > "ERRNO_459", > "ERRNO_460", > "ERRNO_461", > "ERRNO_462", > "ERRNO_463", > "ERRNO_464", > "ERRNO_465", > "ERRNO_466", > "ERRNO_467", > "ERRNO_468", > "ERRNO_469", > "ERRNO_470", > "ERRNO_471", > "ERRNO_472", > "ERRNO_473", > "ERRNO_474", > "ERRNO_475", > "ERRNO_476", > "ERRNO_477", > "ERRNO_478", > "ERRNO_479", > "ERRNO_480", > "ERRNO_481", > "ERRNO_482", > "ERRNO_483", > "ERRNO_484", > "ERRNO_485", > "ERRNO_486", > "ERRNO_487", > "ERRNO_488", > "ERRNO_489", > "ERRNO_490", > "ERRNO_491", > "ERRNO_492", > "ERRNO_493", > "ERRNO_494", > "ERRNO_495", > "ERRNO_496", > "ERRNO_497", > "ERRNO_498", > "ERRNO_499", > "ERRNO_500", > "ERRNO_501", > "ERRNO_502", > "ERRNO_503", > "ERRNO_504", > "ERRNO_505", > "ERRNO_506", > "ERRNO_507", > "ERRNO_508", > "ERRNO_509", > "ERRNO_510", > "ERRNO_511", > "ERESTARTSYS", > "ERESTARTNOINTR", > "ERESTARTNOHAND", > "ENOIOCTLCMD", > "ERRNO_516", > "ERRNO_517", > "ERRNO_518", > "ERRNO_519", > "ERRNO_520", > "EBADHANDLE", > "ENOTSYNC", > "EBADCOOKIE", > "ENOTSUPP", > "ETOOSMALL", > "ESERVERFAULT", > "EBADTYPE", > "EJUKEBOX", ># 154 "syscall.c" 2 >}; >static const int nerrnos0 = sizeof errnoent0 / sizeof errnoent0[0]; ># 171 "syscall.c" >const char *const *errnoent; >int nerrnos; > >int current_personality; > >int >set_personality(personality) >int personality; >{ > switch (personality) { > case 0: > errnoent = errnoent0; > nerrnos = nerrnos0; > sysent = sysent0; > nsyscalls = nsyscalls0; > ioctlent = ioctlent0; > nioctlents = nioctlents0; > signalent = signalent0; > nsignals = nsignals0; > break; ># 218 "syscall.c" > default: > return -1; > } > > current_personality = personality; > return 0; >} > >int qual_flags[2048]; > > >struct call_counts { > struct timeval time; > int calls, errors; >}; > >static struct call_counts *counts; > >static struct timeval shortest = { 1000000, 0 }; > >static int qual_syscall(), qual_signal(), qual_fault(), qual_desc(); > >static const struct qual_options { > int bitflag; > char *option_name; > int (*qualify)(); > char *argument_name; >} qual_options[] = { > { 0001, "trace", qual_syscall, "system call" }, > { 0001, "t", qual_syscall, "system call" }, > { 0002, "abbrev", qual_syscall, "system call" }, > { 0002, "a", qual_syscall, "system call" }, > { 0004, "verbose", qual_syscall, "system call" }, > { 0004, "v", qual_syscall, "system call" }, > { 0010, "raw", qual_syscall, "system call" }, > { 0010, "x", qual_syscall, "system call" }, > { 0020, "signal", qual_signal, "signal" }, > { 0020, "signals", qual_signal, "signal" }, > { 0020, "s", qual_signal, "signal" }, > { 0040, "fault", qual_fault, "fault" }, > { 0040, "faults", qual_fault, "fault" }, > { 0040, "m", qual_fault, "fault" }, > { 0100, "read", qual_desc, "descriptor" }, > { 0100, "reads", qual_desc, "descriptor" }, > { 0100, "r", qual_desc, "descriptor" }, > { 0200, "write", qual_desc, "descriptor" }, > { 0200, "writes", qual_desc, "descriptor" }, > { 0200, "w", qual_desc, "descriptor" }, > { 0, ((void *)0), ((void *)0), ((void *)0) }, >}; > >static void >qualify_one(n, opt, not) > int n; > const struct qual_options *opt; > int not; >{ > if (not) > qual_flags[n] &= ~opt->bitflag; > else > qual_flags[n] |= opt->bitflag; >} > >static int >qual_syscall(s, opt, not) > char *s; > const struct qual_options *opt; > int not; >{ > int i; > int rc = -1; > > for (i = 0; i < nsyscalls; i++) { > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p (sysent[i].sys_name) && (__s1_len = strlen (s), __s2_len = strlen (sysent[i].sys_name), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((sysent[i].sys_name) + 1) - (size_t)(const void *)(sysent[i].sys_name) == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, sysent[i].sys_name) : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p (sysent[i].sys_name) && ((size_t)(const void *)((sysent[i].sys_name) + 1) - (size_t)(const void *)(sysent[i].sys_name) == 1) ? __builtin_strcmp (s, sysent[i].sys_name) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (sysent[i].sys_name); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (sysent[i].sys_name) && ((size_t)(const void *)((sysent[i].sys_name) + 1) - (size_t)(const void *)(sysent[i].sys_name) == 1) && (__s2_len = strlen (sysent[i].sys_name), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, sysent[i].sys_name) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (sysent[i].sys_name))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (sysent[i].sys_name))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (sysent[i].sys_name))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (sysent[i].sys_name))[3]); } } __result; }))) : __builtin_strcmp (s, sysent[i].sys_name)))); }) == 0) { > qualify_one(i, opt, not); > rc = 0; > } > } > return rc; >} > >static int >qual_signal(s, opt, not) > char *s; > const struct qual_options *opt; > int not; >{ > int i; > char buf[32]; > > if (s && *s && ((*__ctype_b_loc ())[(int) (((unsigned char)*s))] & (unsigned short int) _ISdigit)) { > int signo = atoi(s); > if (signo < 0 || signo >= 2048) > return -1; > qualify_one(signo, opt, not); > return 0; > } > if (strlen(s) >= sizeof buf) > return -1; > strcpy(buf, s); > s = buf; > for (i = 0; s[i]; i++) > s[i] = (__extension__ ({ int __res; if (sizeof ((unsigned char)(s[i])) > 1) { if (__builtin_constant_p ((unsigned char)(s[i]))) { int __c = ((unsigned char)(s[i])); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ((unsigned char)(s[i])); } else __res = (*__ctype_toupper_loc ())[(int) ((unsigned char)(s[i]))]; __res; })); > if ((__extension__ (__builtin_constant_p (3) && ((__builtin_constant_p (s) && strlen (s) < ((size_t) (3))) || (__builtin_constant_p ("SIG") && strlen ("SIG") < ((size_t) (3)))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("SIG") && (__s1_len = strlen (s), __s2_len = strlen ("SIG"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("SIG") + 1) - (size_t)(const void *)("SIG") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "SIG") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("SIG") && ((size_t)(const void *)(("SIG") + 1) - (size_t)(const void *)("SIG") == 1) ? __builtin_strcmp (s, "SIG") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("SIG"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("SIG") && ((size_t)(const void *)(("SIG") + 1) - (size_t)(const void *)("SIG") == 1) && (__s2_len = strlen ("SIG"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "SIG") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("SIG"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("SIG"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("SIG"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("SIG"))[3]); } } __result; }))) : __builtin_strcmp (s, "SIG")))); }) : strncmp (s, "SIG", 3))) == 0) > s += 3; > for (i = 0; i <= 65; i++) > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p (signame(i) + 3) && (__s1_len = strlen (s), __s2_len = strlen (signame(i) + 3), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((signame(i) + 3) + 1) - (size_t)(const void *)(signame(i) + 3) == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, signame(i) + 3) : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p (signame(i) + 3) && ((size_t)(const void *)((signame(i) + 3) + 1) - (size_t)(const void *)(signame(i) + 3) == 1) ? __builtin_strcmp (s, signame(i) + 3) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (signame(i) + 3); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (signame(i) + 3) && ((size_t)(const void *)((signame(i) + 3) + 1) - (size_t)(const void *)(signame(i) + 3) == 1) && (__s2_len = strlen (signame(i) + 3), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, signame(i) + 3) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (signame(i) + 3))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (signame(i) + 3))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (signame(i) + 3))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (signame(i) + 3))[3]); } } __result; }))) : __builtin_strcmp (s, signame(i) + 3)))); }) == 0) { > qualify_one(i, opt, not); > return 0; > } > return -1; >} > >static int >qual_fault(s, opt, not) > char *s; > const struct qual_options *opt; > int not; >{ > return -1; >} > >static int >qual_desc(s, opt, not) > char *s; > const struct qual_options *opt; > int not; >{ > if (s && *s && ((*__ctype_b_loc ())[(int) (((unsigned char)*s))] & (unsigned short int) _ISdigit)) { > int desc = atoi(s); > if (desc < 0 || desc >= 2048) > return -1; > qualify_one(desc, opt, not); > return 0; > } > return -1; >} > >static int >lookup_class(s) > char *s; >{ > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("file") && (__s1_len = strlen (s), __s2_len = strlen ("file"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("file") + 1) - (size_t)(const void *)("file") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "file") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("file") && ((size_t)(const void *)(("file") + 1) - (size_t)(const void *)("file") == 1) ? __builtin_strcmp (s, "file") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("file"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("file") && ((size_t)(const void *)(("file") + 1) - (size_t)(const void *)("file") == 1) && (__s2_len = strlen ("file"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "file") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("file"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("file"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("file"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("file"))[3]); } } __result; }))) : __builtin_strcmp (s, "file")))); }) == 0) > return 001; > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("ipc") && (__s1_len = strlen (s), __s2_len = strlen ("ipc"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("ipc") + 1) - (size_t)(const void *)("ipc") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "ipc") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("ipc") && ((size_t)(const void *)(("ipc") + 1) - (size_t)(const void *)("ipc") == 1) ? __builtin_strcmp (s, "ipc") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("ipc"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("ipc") && ((size_t)(const void *)(("ipc") + 1) - (size_t)(const void *)("ipc") == 1) && (__s2_len = strlen ("ipc"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "ipc") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("ipc"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("ipc"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("ipc"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("ipc"))[3]); } } __result; }))) : __builtin_strcmp (s, "ipc")))); }) == 0) > return 002; > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("network") && (__s1_len = strlen (s), __s2_len = strlen ("network"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("network") + 1) - (size_t)(const void *)("network") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "network") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("network") && ((size_t)(const void *)(("network") + 1) - (size_t)(const void *)("network") == 1) ? __builtin_strcmp (s, "network") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("network"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("network") && ((size_t)(const void *)(("network") + 1) - (size_t)(const void *)("network") == 1) && (__s2_len = strlen ("network"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "network") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("network"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("network"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("network"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("network"))[3]); } } __result; }))) : __builtin_strcmp (s, "network")))); }) == 0) > return 004; > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("process") && (__s1_len = strlen (s), __s2_len = strlen ("process"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("process") + 1) - (size_t)(const void *)("process") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "process") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("process") && ((size_t)(const void *)(("process") + 1) - (size_t)(const void *)("process") == 1) ? __builtin_strcmp (s, "process") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("process"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("process") && ((size_t)(const void *)(("process") + 1) - (size_t)(const void *)("process") == 1) && (__s2_len = strlen ("process"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "process") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("process"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("process"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("process"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("process"))[3]); } } __result; }))) : __builtin_strcmp (s, "process")))); }) == 0) > return 010; > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("signal") && (__s1_len = strlen (s), __s2_len = strlen ("signal"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("signal") + 1) - (size_t)(const void *)("signal") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "signal") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("signal") && ((size_t)(const void *)(("signal") + 1) - (size_t)(const void *)("signal") == 1) ? __builtin_strcmp (s, "signal") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("signal"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("signal") && ((size_t)(const void *)(("signal") + 1) - (size_t)(const void *)("signal") == 1) && (__s2_len = strlen ("signal"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "signal") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("signal"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("signal"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("signal"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("signal"))[3]); } } __result; }))) : __builtin_strcmp (s, "signal")))); }) == 0) > return 020; > return -1; >} > >void >qualify(s) >char *s; >{ > const struct qual_options *opt; > int not; > char *p; > int i, n; > > opt = &qual_options[0]; > for (i = 0; (p = qual_options[i].option_name); i++) { > n = strlen(p); > if ((__extension__ (__builtin_constant_p (n) && ((__builtin_constant_p (s) && strlen (s) < ((size_t) (n))) || (__builtin_constant_p (p) && strlen (p) < ((size_t) (n)))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p (p) && (__s1_len = strlen (s), __s2_len = strlen (p), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((p) + 1) - (size_t)(const void *)(p) == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, p) : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p (p) && ((size_t)(const void *)((p) + 1) - (size_t)(const void *)(p) == 1) ? __builtin_strcmp (s, p) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (p); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (p) && ((size_t)(const void *)((p) + 1) - (size_t)(const void *)(p) == 1) && (__s2_len = strlen (p), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, p) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (p))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (p))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (p))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (p))[3]); } } __result; }))) : __builtin_strcmp (s, p)))); }) : strncmp (s, p, n))) == 0 && s[n] == '=') { > opt = &qual_options[i]; > s += n + 1; > break; > } > } > not = 0; > if (*s == '!') { > not = 1; > s++; > } > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("none") && (__s1_len = strlen (s), __s2_len = strlen ("none"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("none") + 1) - (size_t)(const void *)("none") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "none") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("none") && ((size_t)(const void *)(("none") + 1) - (size_t)(const void *)("none") == 1) ? __builtin_strcmp (s, "none") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("none"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("none") && ((size_t)(const void *)(("none") + 1) - (size_t)(const void *)("none") == 1) && (__s2_len = strlen ("none"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "none") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("none"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("none"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("none"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("none"))[3]); } } __result; }))) : __builtin_strcmp (s, "none")))); }) == 0) { > not = 1 - not; > s = "all"; > } > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s) && __builtin_constant_p ("all") && (__s1_len = strlen (s), __s2_len = strlen ("all"), (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("all") + 1) - (size_t)(const void *)("all") == 1) || __s2_len >= 4)) ? __builtin_strcmp (s, "all") : (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && (__s1_len = strlen (s), __s1_len < 4) ? (__builtin_constant_p ("all") && ((size_t)(const void *)(("all") + 1) - (size_t)(const void *)("all") == 1) ? __builtin_strcmp (s, "all") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("all"); register int __result = (((__const unsigned char *) (__const char *) (s))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("all") && ((size_t)(const void *)(("all") + 1) - (size_t)(const void *)("all") == 1) && (__s2_len = strlen ("all"), __s2_len < 4) ? (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (s, "all") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("all"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("all"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("all"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("all"))[3]); } } __result; }))) : __builtin_strcmp (s, "all")))); }) == 0) { > for (i = 0; i < 2048; i++) { > if (not) > qual_flags[i] &= ~opt->bitflag; > else > qual_flags[i] |= opt->bitflag; > } > return; > } > for (i = 0; i < 2048; i++) { > if (not) > qual_flags[i] |= opt->bitflag; > else > qual_flags[i] &= ~opt->bitflag; > } > for (p = strtok(s, ","); p; p = strtok(((void *)0), ",")) { > if (opt->bitflag == 0001 && (n = lookup_class(p)) > 0) { > for (i = 0; i < 2048; i++) { > if (sysent[i].sys_flags & n) { > if (not) > qual_flags[i] &= ~opt->bitflag; > else > qual_flags[i] |= opt->bitflag; > } > } > continue; > } > if (opt->qualify(p, opt, not)) { > fprintf(stderr, "strace: invalid %s `%s'\n", > opt->argument_name, p); > exit(1); > } > } > return; >} > >static void >dumpio(tcp) >struct tcb *tcp; >{ > if (((tcp)->u_error != 0)) > return; > if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= 2048) > return; > switch (tcp->scno + 0) { > case 3: > > case __NR_pread64: > > > > > > case (300 + 10): > > > case (300 + 12): > > if (qual_flags[tcp->u_arg[0]] & 0100) > dumpstr(tcp, tcp->u_arg[1], tcp->u_rval); > break; > case 4: > > case __NR_pwrite64: > > > > > > case (300 + 9): > > > case (300 + 11): > > if (qual_flags[tcp->u_arg[0]] & 0200) > dumpstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); > break; > > case 145: > if (qual_flags[tcp->u_arg[0]] & 0100) > dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); > break; > > > case 146: > > if (qual_flags[tcp->u_arg[0]] & 0200) > dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); > break; > > } >} > > >enum subcall_style { shift_style, deref_style, mask_style, door_style }; ># 517 "syscall.c" >const int socket_map [] = { > 97, > 104, > 98, > 106, > 99, > 150, > 141, > 135, > 101, > 102, > 133, > 125, > 134, > 105, > 118, > 114, > 113 >}; > >void >sparc_socket_decode (tcp) >struct tcb *tcp; >{ > volatile long addr; > volatile int i, n; > > if (tcp->u_arg [0] < 1 || tcp->u_arg [0] > sizeof(socket_map)/sizeof(int)+1){ > return; > } > tcp->scno = socket_map [tcp->u_arg [0]-1]; > n = tcp->u_nargs = sysent [tcp->scno].nargs; > addr = tcp->u_arg [1]; > for (i = 0; i < n; i++){ > int arg; > if (umoven (tcp, addr, sizeof (arg), (void *) &arg) < 0) > arg = 0; > tcp->u_arg [i] = arg; > addr += sizeof (arg); > } >} > >void >decode_subcall(tcp, subcall, nsubcalls, style) >struct tcb *tcp; >int subcall; >int nsubcalls; >enum subcall_style style; >{ > long addr, mask, arg; > int i; > > switch (style) { > case shift_style: > if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls) > return; > tcp->scno = subcall + tcp->u_arg[0]; > if (sysent[tcp->scno].nargs != -1) > tcp->u_nargs = sysent[tcp->scno].nargs; > else > tcp->u_nargs--; > for (i = 0; i < tcp->u_nargs; i++) > tcp->u_arg[i] = tcp->u_arg[i + 1]; > break; > case deref_style: > if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls) > return; > tcp->scno = subcall + tcp->u_arg[0]; > addr = tcp->u_arg[1]; > for (i = 0; i < sysent[tcp->scno].nargs; i++) { > if (umoven((tcp), (addr), sizeof *(&arg), (char *) (&arg)) < 0) > arg = 0; > tcp->u_arg[i] = arg; > addr += sizeof(arg); > } > tcp->u_nargs = sysent[tcp->scno].nargs; > break; > case mask_style: > mask = (tcp->u_arg[0] >> 8) & 0xff; > for (i = 0; mask; i++) > mask >>= 1; > if (i >= nsubcalls) > return; > tcp->u_arg[0] &= 0xff; > tcp->scno = subcall + i; > if (sysent[tcp->scno].nargs != -1) > tcp->u_nargs = sysent[tcp->scno].nargs; > break; > case door_style: > > > > > if (tcp->u_arg[5] < 0 || tcp->u_arg[5] >= nsubcalls) > return; > tcp->scno = subcall + tcp->u_arg[5]; > if (sysent[tcp->scno].nargs != -1) > tcp->u_nargs = sysent[tcp->scno].nargs; > else > tcp->u_nargs--; > break; ># 630 "syscall.c" > } >} > > >struct tcb *tcp_last = ((void *)0); > >static int >internal_syscall(tcp) >struct tcb *tcp; >{ > > > > > > switch (tcp->scno + 0) { > > case 2: > > > case 190: ># 667 "syscall.c" > internal_fork(tcp); > break; > > case 120: > internal_clone(tcp); > break; ># 683 "syscall.c" > case 11: > > > > > internal_exec(tcp); > break; > > > > > > case 114: > > > > > > case 7: > > > > > internal_wait(tcp, 2); > break; > > > > > > > > case 1: > > > > > > case 252: > > > > > internal_exit(tcp); > break; > } > return 0; >} > > > > > static long eax; ># 772 "syscall.c" >int >get_scno(tcp) >struct tcb *tcp; >{ > long scno = 0; > > int pid = tcp->pid; ># 894 "syscall.c" > if (upeek(pid, 4*11, &scno) < 0) > return -1; ># 1250 "syscall.c" > if (!(tcp->flags & 00004)) > tcp->scno = scno; > return 1; >} > > >int >syscall_fixup(tcp) >struct tcb *tcp; >{ > > int pid = tcp->pid; ># 1326 "syscall.c" > if (upeek(pid, 4*6, &eax) < 0) > return -1; > if (eax != -38 && !(tcp->flags & 00004)) { > if (debug) > fprintf(stderr, "stray syscall exit: eax = %ld\n", eax); > return 0; > } ># 1397 "syscall.c" > return 1; >} > >int >get_error(tcp) >struct tcb *tcp; >{ > int u_error = 0; ># 1417 "syscall.c" > if (eax < 0 && -eax < nerrnos) { > tcp->u_rval = -1; > u_error = -eax; > } > else { > tcp->u_rval = eax; > u_error = 0; > } ># 1645 "syscall.c" > tcp->u_error = u_error; > return 1; >} > >int >force_result(tcp, error, rval) > struct tcb *tcp; > int error; > long rval; >{ > > > > > > > > eax = error ? -error : rval; > if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(6 * 4), eax) < 0) > return -1; ># 1829 "syscall.c" > tcp->u_error = error; > tcp->u_rval = rval; > return 0; >} > >int syscall_enter(tcp) >struct tcb *tcp; >{ > > int pid = tcp->pid; ># 2056 "syscall.c" > { > int i; > if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1) > tcp->u_nargs = sysent[tcp->scno].nargs; > else > tcp->u_nargs = 32; > for (i = 0; i < tcp->u_nargs; i++) { > if (upeek(pid, i*4, &tcp->u_arg[i]) < 0) > return -1; > } > } ># 2161 "syscall.c" > return 1; >} > >int >trace_syscall(tcp) >struct tcb *tcp; >{ > int sys_res; > struct timeval tv; > int res; > > > if (dtime && (tcp->flags & 00004)) > gettimeofday(&tv, ((void *)0)); > > res = get_scno(tcp); > if (res != 1) > return res; > > res = syscall_fixup(tcp); > if (res != 1) > return res; > > if (tcp->flags & 00004) { > long u_error; > res = get_error(tcp); > if (res != 1) > return res; > > internal_syscall(tcp); > if (tcp->scno >= 0 && tcp->scno < nsyscalls && > !(qual_flags[tcp->scno] & 0001)) { > tcp->flags &= ~00004; > return 0; > } > > if (tcp->flags & 01000) { > printleader(tcp); > tprintf("<... "); > if (tcp->scno >= nsyscalls || tcp->scno < 0) > tprintf("syscall_%lu", tcp->scno); > else > tprintf("%s", sysent[tcp->scno].sys_name); > tprintf(" resumed> "); > } > > if (cflag && tcp->scno < nsyscalls && tcp->scno >= 0) { > if (counts == ((void *)0)) { > counts = calloc(sizeof *counts, nsyscalls); > if (counts == ((void *)0)) { > fprintf(stderr, "strace: out of memory for call counts\n"); > > exit(1); > } > } > > counts[tcp->scno].calls++; > if (tcp->u_error) > counts[tcp->scno].errors++; > tv_sub(&tv, &tv, &tcp->etime); > > if (tv_cmp(&tv, &tcp->dtime) > 0) { > static struct timeval one_tick; > if (one_tick.tv_usec == 0) { > > struct itimerval it; > memset(&it, 0, sizeof it); > it.it_interval.tv_usec = 1; > setitimer(ITIMER_REAL, &it, ((void *)0)); > getitimer(ITIMER_REAL, &it); > one_tick = it.it_interval; > } > > if (tv_nz(&tcp->dtime)) > tv = tcp->dtime; > else if (tv_cmp(&tv, &one_tick) > 0) { > if (tv_cmp(&shortest, &one_tick) < 0) > tv = shortest; > else > tv = one_tick; > } > } > > if (tv_cmp(&tv, &shortest) < 0) > shortest = tv; > tv_add(&counts[tcp->scno].time, > &counts[tcp->scno].time, &tv); > tcp->flags &= ~00004; > return 0; > } > > if (tcp->scno >= nsyscalls || tcp->scno < 0 > || (qual_flags[tcp->scno] & 0010)) > sys_res = printargs(tcp); > else { > if (not_failing_only && tcp->u_error) > return 0; > sys_res = (*sysent[tcp->scno].sys_func)(tcp); > } > u_error = tcp->u_error; > tprintf(") "); > tabto(acolumn); > if (tcp->scno >= nsyscalls || tcp->scno < 0 || > qual_flags[tcp->scno] & 0010) { > if (u_error) > tprintf("= -1 (errno %ld)", u_error); > else > tprintf("= %#lx", tcp->u_rval); > } > else if (!(sys_res & 020) && u_error) { > switch (u_error) { > > case 512: > tprintf("= ? ERESTARTSYS (To be restarted)"); > break; > case 513: > tprintf("= ? ERESTARTNOINTR (To be restarted)"); > break; > case 514: > tprintf("= ? ERESTARTNOHAND (To be restarted)"); > break; > case 516: > tprintf("= ? ERESTART_RESTARTBLOCK (To be restarted)"); > break; > > default: > tprintf("= -1 "); > if (u_error < 0) > tprintf("E??? (errno %ld)", u_error); > else if (u_error < nerrnos) > tprintf("%s (%s)", errnoent[u_error], > strerror(u_error)); > else > tprintf("ERRNO_%ld (%s)", u_error, > strerror(u_error)); > break; > } > } > else { > if (sys_res & 020) > tprintf("= ?"); > else { > switch (sys_res & 007) { > case 001: > tprintf("= %#lx", tcp->u_rval); > break; > case 002: > tprintf("= %#lo", tcp->u_rval); > break; > case 003: > tprintf("= %lu", tcp->u_rval); > break; > case 000: > tprintf("= %ld", tcp->u_rval); > break; > > case 005: > tprintf("= %#llx", tcp->u_lrval); > break; > case 006: > tprintf("= %#llo", tcp->u_lrval); > break; > case 007: > tprintf("= %llu", tcp->u_lrval); > break; > case 004: > tprintf("= %lld", tcp->u_lrval); > break; > > default: > fprintf(stderr, > "invalid rval format\n"); > break; > } > } > if ((sys_res & 010) && tcp->auxstr) > tprintf(" (%s)", tcp->auxstr); > } > if (dtime) { > tv_sub(&tv, &tv, &tcp->etime); > tprintf(" <%ld.%06ld>", > (long) tv.tv_sec, (long) tv.tv_usec); > } > printtrailer(tcp); > > dumpio(tcp); > if (fflush(tcp->outf) == (-1)) > return -1; > tcp->flags &= ~00004; > return 0; > } > > > res = syscall_enter(tcp); > if (res != 1) > return res; > > switch (tcp->scno + 0) { > > > case 102: > decode_subcall(tcp, 300, > 18, deref_style); > break; > case 117: > decode_subcall(tcp, ((300)+(18)), > 25, shift_style); > break; ># 2455 "syscall.c" > } > > internal_syscall(tcp); > if (tcp->scno >=0 && tcp->scno < nsyscalls && !(qual_flags[tcp->scno] & 0001)) { > tcp->flags |= 00004; > return 0; > } > > if (cflag) { > gettimeofday(&tcp->etime, ((void *)0)); > tcp->flags |= 00004; > return 0; > } > > printleader(tcp); > tcp->flags &= ~01000; > tcp_last = tcp; > if (tcp->scno >= nsyscalls || tcp->scno < 0) > tprintf("syscall_%lu(", tcp->scno); > else > tprintf("%s(", sysent[tcp->scno].sys_name); > if (tcp->scno >= nsyscalls || tcp->scno < 0 || > ((qual_flags[tcp->scno] & 0010) && tcp->scno != 1)) > sys_res = printargs(tcp); > else > sys_res = (*sysent[tcp->scno].sys_func)(tcp); > if (fflush(tcp->outf) == (-1)) > return -1; > tcp->flags |= 00004; > > if (dtime) > gettimeofday(&tcp->etime, ((void *)0)); > return sys_res; >} > >int >printargs(tcp) >struct tcb *tcp; >{ > if ((!((tcp)->flags & 00004))) { > int i; > > for (i = 0; i < tcp->u_nargs; i++) > tprintf("%s%#lx", i ? ", " : "", tcp->u_arg[i]); > } > return 0; >} > >long >getrval2(tcp) >struct tcb *tcp; >{ > long val = -1; ># 2548 "syscall.c" > return val; >} > > > > > >int >sys_indir(tcp) >struct tcb *tcp; >{ > int i, scno, nargs; > > if ((!((tcp)->flags & 00004))) { > if ((scno = tcp->u_arg[0]) > nsyscalls) { > fprintf(stderr, "Bogus syscall: %u\n", scno); > return 0; > } > nargs = sysent[scno].nargs; > tprintf("%s", sysent[scno].sys_name); > for (i = 0; i < nargs; i++) > tprintf(", %#lx", tcp->u_arg[i+1]); > } > return 0; >} > >static int >time_cmp(a, b) >void *a; >void *b; >{ > return -tv_cmp(&counts[*((int *) a)].time, &counts[*((int *) b)].time); >} > >static int >syscall_cmp(a, b) >void *a; >void *b; >{ > return __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (sysent[*((int *) a)].sys_name) && __builtin_constant_p (sysent[*((int *) b)].sys_name) && (__s1_len = strlen (sysent[*((int *) a)].sys_name), __s2_len = strlen (sysent[*((int *) b)].sys_name), (!((size_t)(const void *)((sysent[*((int *) a)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) a)].sys_name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((sysent[*((int *) b)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) b)].sys_name) == 1) || __s2_len >= 4)) ? __builtin_strcmp (sysent[*((int *) a)].sys_name, sysent[*((int *) b)].sys_name) : (__builtin_constant_p (sysent[*((int *) a)].sys_name) && ((size_t)(const void *)((sysent[*((int *) a)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) a)].sys_name) == 1) && (__s1_len = strlen (sysent[*((int *) a)].sys_name), __s1_len < 4) ? (__builtin_constant_p (sysent[*((int *) b)].sys_name) && ((size_t)(const void *)((sysent[*((int *) b)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) b)].sys_name) == 1) ? __builtin_strcmp (sysent[*((int *) a)].sys_name, sysent[*((int *) b)].sys_name) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (sysent[*((int *) b)].sys_name); register int __result = (((__const unsigned char *) (__const char *) (sysent[*((int *) a)].sys_name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sysent[*((int *) a)].sys_name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sysent[*((int *) a)].sys_name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (sysent[*((int *) a)].sys_name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (sysent[*((int *) b)].sys_name) && ((size_t)(const void *)((sysent[*((int *) b)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) b)].sys_name) == 1) && (__s2_len = strlen (sysent[*((int *) b)].sys_name), __s2_len < 4) ? (__builtin_constant_p (sysent[*((int *) a)].sys_name) && ((size_t)(const void *)((sysent[*((int *) a)].sys_name) + 1) - (size_t)(const void *)(sysent[*((int *) a)].sys_name) == 1) ? __builtin_strcmp (sysent[*((int *) a)].sys_name, sysent[*((int *) b)].sys_name) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (sysent[*((int *) a)].sys_name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (sysent[*((int *) b)].sys_name))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (sysent[*((int *) b)].sys_name))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (sysent[*((int *) b)].sys_name))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (sysent[*((int *) b)].sys_name))[3]); } } __result; }))) : __builtin_strcmp (sysent[*((int *) a)].sys_name, sysent[*((int *) b)].sys_name)))); }); > >} > >static int >count_cmp(a, b) >void *a; >void *b; >{ > int m = counts[*((int *) a)].calls, n = counts[*((int *) b)].calls; > > return (m < n) ? 1 : (m > n) ? -1 : 0; >} > >static int (*sortfun)(); >static struct timeval overhead = { -1, -1 }; > >void >set_sortby(sortby) >char *sortby; >{ > if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (sortby) && __builtin_constant_p ("time") && (__s1_len = strlen (sortby), __s2_len = strlen ("time"), (!((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("time") + 1) - (size_t)(const void *)("time") == 1) || __s2_len >= 4)) ? __builtin_strcmp (sortby, "time") : (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) && (__s1_len = strlen (sortby), __s1_len < 4) ? (__builtin_constant_p ("time") && ((size_t)(const void *)(("time") + 1) - (size_t)(const void *)("time") == 1) ? __builtin_strcmp (sortby, "time") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("time"); register int __result = (((__const unsigned char *) (__const char *) (sortby))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (sortby))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("time") && ((size_t)(const void *)(("time") + 1) - (size_t)(const void *)("time") == 1) && (__s2_len = strlen ("time"), __s2_len < 4) ? (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) ? __builtin_strcmp (sortby, "time") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (sortby); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("time"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("time"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("time"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("time"))[3]); } } __result; }))) : __builtin_strcmp (sortby, "time")))); }) == 0) > sortfun = time_cmp; > else if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (sortby) && __builtin_constant_p ("calls") && (__s1_len = strlen (sortby), __s2_len = strlen ("calls"), (!((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("calls") + 1) - (size_t)(const void *)("calls") == 1) || __s2_len >= 4)) ? __builtin_strcmp (sortby, "calls") : (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) && (__s1_len = strlen (sortby), __s1_len < 4) ? (__builtin_constant_p ("calls") && ((size_t)(const void *)(("calls") + 1) - (size_t)(const void *)("calls") == 1) ? __builtin_strcmp (sortby, "calls") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("calls"); register int __result = (((__const unsigned char *) (__const char *) (sortby))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (sortby))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("calls") && ((size_t)(const void *)(("calls") + 1) - (size_t)(const void *)("calls") == 1) && (__s2_len = strlen ("calls"), __s2_len < 4) ? (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) ? __builtin_strcmp (sortby, "calls") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (sortby); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("calls"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("calls"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("calls"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("calls"))[3]); } } __result; }))) : __builtin_strcmp (sortby, "calls")))); }) == 0) > sortfun = count_cmp; > else if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (sortby) && __builtin_constant_p ("name") && (__s1_len = strlen (sortby), __s2_len = strlen ("name"), (!((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("name") + 1) - (size_t)(const void *)("name") == 1) || __s2_len >= 4)) ? __builtin_strcmp (sortby, "name") : (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) && (__s1_len = strlen (sortby), __s1_len < 4) ? (__builtin_constant_p ("name") && ((size_t)(const void *)(("name") + 1) - (size_t)(const void *)("name") == 1) ? __builtin_strcmp (sortby, "name") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("name"); register int __result = (((__const unsigned char *) (__const char *) (sortby))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (sortby))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("name") && ((size_t)(const void *)(("name") + 1) - (size_t)(const void *)("name") == 1) && (__s2_len = strlen ("name"), __s2_len < 4) ? (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) ? __builtin_strcmp (sortby, "name") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (sortby); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("name"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("name"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("name"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("name"))[3]); } } __result; }))) : __builtin_strcmp (sortby, "name")))); }) == 0) > sortfun = syscall_cmp; > else if (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (sortby) && __builtin_constant_p ("nothing") && (__s1_len = strlen (sortby), __s2_len = strlen ("nothing"), (!((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("nothing") + 1) - (size_t)(const void *)("nothing") == 1) || __s2_len >= 4)) ? __builtin_strcmp (sortby, "nothing") : (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) && (__s1_len = strlen (sortby), __s1_len < 4) ? (__builtin_constant_p ("nothing") && ((size_t)(const void *)(("nothing") + 1) - (size_t)(const void *)("nothing") == 1) ? __builtin_strcmp (sortby, "nothing") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("nothing"); register int __result = (((__const unsigned char *) (__const char *) (sortby))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (sortby))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (sortby))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("nothing") && ((size_t)(const void *)(("nothing") + 1) - (size_t)(const void *)("nothing") == 1) && (__s2_len = strlen ("nothing"), __s2_len < 4) ? (__builtin_constant_p (sortby) && ((size_t)(const void *)((sortby) + 1) - (size_t)(const void *)(sortby) == 1) ? __builtin_strcmp (sortby, "nothing") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (sortby); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("nothing"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("nothing"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("nothing"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("nothing"))[3]); } } __result; }))) : __builtin_strcmp (sortby, "nothing")))); }) == 0) > sortfun = ((void *)0); > else { > fprintf(stderr, "invalid sortby: `%s'\n", sortby); > exit(1); > } >} > >void set_overhead(n) >int n; >{ > overhead.tv_sec = n / 1000000; > overhead.tv_usec = n % 1000000; >} > >void >call_summary(outf) >FILE *outf; >{ > int i, j; > int call_cum, error_cum; > struct timeval tv_cum, dtv; > double percent; > char *dashes = "-------------------------"; > char error_str[16]; > > int *sorted_count = malloc(nsyscalls * sizeof(int)); > > call_cum = error_cum = tv_cum.tv_sec = tv_cum.tv_usec = 0; > if (overhead.tv_sec == -1) { > tv_mul(&overhead, &shortest, 8); > tv_div(&overhead, &overhead, 10); > } > for (i = 0; i < nsyscalls; i++) { > sorted_count[i] = i; > if (counts == ((void *)0) || counts[i].calls == 0) > continue; > tv_mul(&dtv, &overhead, counts[i].calls); > tv_sub(&counts[i].time, &counts[i].time, &dtv); > call_cum += counts[i].calls; > error_cum += counts[i].errors; > tv_add(&tv_cum, &tv_cum, &counts[i].time); > } > if (counts && sortfun) > qsort((void *) sorted_count, nsyscalls, sizeof(int), sortfun); > fprintf(outf, "%6.6s %11.11s %11.11s %9.9s %9.9s %s\n", > "% time", "seconds", "usecs/call", > "calls", "errors", "syscall"); > fprintf(outf, "%6.6s %11.11s %11.11s %9.9s %9.9s %-16.16s\n", > dashes, dashes, dashes, dashes, dashes, dashes); > if (counts) { > for (i = 0; i < nsyscalls; i++) { > j = sorted_count[i]; > if (counts[j].calls == 0) > continue; > tv_div(&dtv, &counts[j].time, counts[j].calls); > if (counts[j].errors) > sprintf(error_str, "%d", counts[j].errors); > else > error_str[0] = '\0'; > percent = (100.0 * tv_float(&counts[j].time) > / tv_float(&tv_cum)); > fprintf(outf, "%6.2f %4ld.%06ld %11ld %9d %9.9s %s\n", > percent, (long) counts[j].time.tv_sec, > (long) counts[j].time.tv_usec, > (long) 1000000 * dtv.tv_sec + dtv.tv_usec, > counts[j].calls, > error_str, sysent[j].sys_name); > } > } > free(sorted_count); > > fprintf(outf, "%6.6s %11.11s %11.11s %9.9s %9.9s %-16.16s\n", > dashes, dashes, dashes, dashes, dashes, dashes); > if (error_cum) > sprintf(error_str, "%d", error_cum); > else > error_str[0] = '\0'; > fprintf(outf, "%6.6s %4ld.%06ld %11.11s %9d %9.9s %s\n", > "100.00", (long) tv_cum.tv_sec, (long) tv_cum.tv_usec, "", > call_cum, error_str, "total"); > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 72127
: 51210