aboutsummaryrefslogtreecommitdiffstats
path: root/dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-27Linux limits errno values to [1, 4096)Mattias Andrée1-1/+1
Linux returns errno values negated, as such errno as returned are limited to be inside address range of the bytes within the higest addressable memory page, provided that the page size is 4096 or greater. Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-11-26Add system calls and scripts for finding new and extended system callsMattias Andrée5-46/+185
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-11-26mMattias Andrée3-6/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25mMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Some code improvementsMattias Andrée9-137/+258
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Add more test casesMattias Andrée4-11/+32
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Add -a and trivial improvementsMattias Andrée6-11/+66
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Add more system call formattingsMattias Andrée5-25/+345
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Add new system calss and fix faccessatMattias Andrée1-2/+35
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Implement formatting for some system callsMattias Andrée1-5/+50
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-25Fix pkey_alloc argument types, update membarrier signature, and implement formatting for some system callsMattias Andrée1-11/+144
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-24return explicit NULL rather than 0Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-24Argument 3 and 4 are swapped on SPARC for PTRACE_GETREGS and PTRACE_SETREGSMattias Andrée2-3/+9
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix some illegal aliasingMattias Andrée1-15/+34
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use [:space:] in sed scriptsMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix some warnings and move include statement to common.hMattias Andrée4-5/+27
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix CASE macro: tprintf is returns void, so return in separate statementMattias Andrée1-1/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Add string parameter to _Static_assert use, required by C11Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21#define SIGCLD if missing, needed for muslMattias Andrée1-0/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use __SIGRTMIN and __SIGRTMAX and #define them if missingMattias Andrée1-7/+20
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Use literal tab inside [] in sed scriptsMattias Andrée1-3/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Move inclusion of <linux/fs.h> to after <sys/mount.h>, will not build otherwiseMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-21Fix typo in list-errnos.h commandMichael Forney1-1/+1
2020-06-21Include asm/unistd.h for __X32_SYSCALL_BITMichael Forney1-0/+2
2020-06-21Use standard W* macros to check stop signalMichael Forney1-9/+5
2020-06-21Include linux/fs.h for lseek and renameat2 flagsMichael Forney1-0/+1
2020-06-21Use SIGRTMIN and SIGRTMAX instead of __-prefixed versionsMichael Forney1-7/+7
2020-06-04Bug fix: use inclusive check to test parsed long int fits in intMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Break trigraph sequences in trace outputMattias Andrée1-4/+19
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02io_pgetevents is not documentedMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Minor cleanupMattias Andrée1-3/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Fix regressen: print pointers in hexadecimalMattias Andrée1-5/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Do not use \t in traces, does not look good with PID prefixes in the outputMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Some cleanup and preparation for support for multiple architectures (both host and client) and OSesMattias Andrée10-152/+237
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Reject i386 and x32 applications (not yet supported)Mattias Andrée9-55/+120
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-02Fix exit status regression ... now I can go back to sleep again1.1Mattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Always flush trace outputMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Fix typo and add rational for why the -a option (truncate arguments/outputs) is usefulMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add a todoMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Minor output improvementsMattias Andrée1-7/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Makefile: install and uninstall man page1.0Mattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Print data stored to output parameters in system callsMattias Andrée3-46/+198
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Remove p before > in syscall formatsMattias Andrée1-19/+22
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Work on syscall formattersMattias Andrée2-82/+408
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add man page and README0.1Mattias Andrée2-0/+98
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add tests for manually testingMattias Andrée17-0/+252
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Use WCOREDUMP rather than __WCOREDUMPMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Implement some todosMattias Andrée1-11/+27
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Add comment explaining values of silent_until_execedMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2020-06-01Silence output for initial tracee until it has successfully execedMattias Andrée1-1/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>