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