aboutsummaryrefslogtreecommitdiff
path: root/lib/libsysdecode/linux.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* libsysdecode: Drop dead __amd64__ && COMPAT_32BIT codeJessica Clarke2023-07-091-4/+0
| | | | | | | | Under COMPAT_32BIT we are compiling 32-bit code and so __amd64__ is not defined, __i386__ is, and we use the real i386 headers. Reviewed by: brooks, jhb, imp Differential Revision: https://reviews.freebsd.org/D40916
* libsysdecode: Decode linux_clone syscall flagsDmitry Chagin2023-05-261-0/+18
| | | | | | Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40150 MFC after: 1 week
* linux(4): Rename linux_timer.h to linux_time.hDmitry Chagin2023-02-141-1/+1
| | | | | | | | | To avoid confusing people, rename linux_timer.h to linux_time.h, as linux_timer.c is the implementation of timer syscalls only, while linux_time.c contains implementation of all stuff declared in linux_time.h. MFC after: 2 weeks
* libsysdecode: Fix a typo in my emailDmitry Chagin2022-06-231-1/+1
| | | | | Reported by: Mikaƫl Urankar MFC after: 2 weeks
* libsysdecode: Decode Linux open() flagsDmitry Chagin2022-06-221-0/+35
| | | | MFC after: 2 weeks
* libsysdecode: Decode Linux *at() flagsDmitry Chagin2022-06-221-0/+8
| | | | MFC after: 2 weeks
* kdump: Decode Linux clock_nanosleep syscallDmitry Chagin2022-06-221-0/+7
| | | | MFC after: 2 weeks
* kdump: Decode Linux sigprocmask how argumentDmitry Chagin2022-06-221-0/+7
| | | | MFC after: 2 weeks
* libsysdecode: Add method for decoding Linux signal namesDmitry Chagin2022-06-221-0/+79
| | | | | | Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35215 MFC after: 2 weeks
* libsysdecode: Add preliminary support for decoding Linux syscallsDmitry Chagin2022-06-221-0/+106
Differential revision: https://reviews.freebsd.org/D35354 MFC after: 2 weeks