106 int64_t ___unused[3];
269 #endif // __LINUX_HH__
static const unsigned TGT_CLONE_IO
Limit struct for getrlimit/setrlimit.
int64_t ru_nvcsw
voluntary context switches
uint64_t st_mtimeX
time of last modification
static const unsigned TGT_CLONE_SYSVSEM
static const unsigned TGT_CLONE_NEWNS
static const unsigned TGT_CLONE_CHILD_SETTID
int64_t tms_stime
system time
uint64_t rlim_cur
soft limit
static const unsigned TGT_RLIMIT_FSIZE
int32_t _pad1
for alignment
This class encapsulates the types, structures, constants, functions, and syscall-number mappings spec...
static std::string etcPasswd(Process *process, ThreadContext *tc)
int64_t ru_majflt
page faults
static const int M5_SC_CLK_TCK
Clock ticks per second, for times().
static const unsigned TGT_CLONE_SIGHAND
static const unsigned TGT_EWOULDBLOCK
static const unsigned TGT_CLONE_NEWNET
static const unsigned TGT_RLIMIT_DATA
static const unsigned TGT_FUTEX_PRIVATE_FLAG
static const unsigned TGT_CLONE_PARENT_SETTID
static const unsigned TGT_TCGETA
static const unsigned TGT_RLIMIT_RSS
int64_t tv_nsec
nanoseconds
static bool isTtyReq(unsigned req)
Return true for the ioctl codes for which we return ENOTTY without printing a warning, since we know that ENOTTY is the correct thing to return (and not just a sign that we don't recognize the ioctl code.
static const unsigned TGT_RLIMIT_RTPRIO
int64_t ru_ixrss
integral shared memory size
char version[_SYS_NMLN]
OS version.
static const unsigned TGT_FIONREAD
int64_t st_size
file size in bytes
ThreadContext is the external interface to all thread state for anything outside of the CPU...
static const unsigned TGT_RLIMIT_SIGPENDING
static const unsigned TGT_RLIMIT_MEMLOCK
int64_t ru_nivcsw
involuntary "
static const unsigned TGT_RLIMIT_AS
char release[_SYS_NMLN]
OS release.
static const unsigned TGT_RLIMIT_MSGQUEUE
static const unsigned TGT_TCSETAW
static const unsigned TGT_CLONE_VFORK
static const unsigned TGT_FUTEX_WAKE
static const unsigned TGT_CLONE_DETACHED
static const unsigned TGT_CLONE_FILES
int64_t ru_idrss
integral unshared data "
static const int TGT_RUSAGE_SELF
For getrusage().
This class encapsulates the types, structures, constants, functions, and syscall-number mappings spec...
static const unsigned TGT_MREMAP_FIXED
int64_t ru_inblock
block input operations
static const unsigned TGT_RLIMIT_NOFILE
static const unsigned TGT_CLONE_CHILD_CLEARTID
static const unsigned TGT_MREMAP_MAYMOVE
static const unsigned TGT_EAGAIN
static const unsigned TGT_CLONE_SETTLS
void tgt_stat
Stat buffer.
static const unsigned TGT_CLONE_VM
int64_t tms_cutime
user time of children
static const unsigned TGT_RLIMIT_CORE
static const unsigned TGT_TCGETS
ioctl() command codes.
struct timeval ru_stime
system time used
static const unsigned TGT_RLIMIT_NPROC
int64_t ru_oublock
block output operations
static const unsigned TGT_CLONE_PARENT
static const unsigned TGT_RLIMIT_CPU
Resource constants for getrlimit().
static const unsigned TGT_RLIMIT_STACK
int64_t ru_msgrcv
messages received
int32_t st_blocks
number of blocks allocated
static const unsigned TGT_CLONE_UNTRACED
char sysname[_SYS_NMLN]
System name.
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
struct timeval ru_utime
user time used
static const unsigned TGT_CLONE_NEWUTS
Interface struct for uname().
static const int _SYS_NMLN
Length of strings in struct utsname (plus 1 for null char).
static int openSpecialFile(std::string path, Process *process, ThreadContext *tc)
uint32_t st_uid
owner's user ID
static const unsigned TGT_CLONE_THREAD
uint32_t st_blksize
optimal I/O block size
int64_t tms_cstime
system time of children
uint32_t st_nlink
link count
int64_t ru_msgsnd
messages sent
uint64_t st_ctimeX
time of last status change
static const unsigned TGT_CLONE_PTRACE
static const unsigned TGT_RLIMIT_RTTIME
uint64_t st_atimeX
time of last access
static const unsigned TGT_RLIMIT_NICE
static const int TGT_RUSAGE_BOTH
int64_t tv_usec
microseconds
char nodename[_SYS_NMLN]
Node name.
static const unsigned TGT_RLIMIT_LOCKS
uint32_t st_rdev
device number
static const int TGT_RUSAGE_CHILDREN
int64_t ru_nsignals
signals received
int64_t tms_utime
user time
static const int TGT_AT_FDCWD
char machine[_SYS_NMLN]
Machine type.
static const unsigned TGT_FUTEX_WAIT
static const unsigned TGT_CLONE_NEWIPC
uint32_t st_gid
owner's group ID
int64_t ru_minflt
page reclaims - total vmfaults
static const unsigned TGT_RLIM_NLIMITS
static const unsigned TGT_CLONE_NEWPID
static const unsigned TGT_CLONE_FS
uint64_t size_t
Basic Linux types.
int64_t ru_isrss
integral unshared stack "
static const unsigned TGT_CLONE_NEWUSER
static std::string procMeminfo(Process *process, ThreadContext *tc)
uint64_t rlim_max
hard limit