History log of /freebsd-current/tools/test/ptrace/scescx.c
Revision Date Author Comments
# 6bfca4dc 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

tools: Automated cleanup of cdefs and other formatting

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


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 6403a140 01-Dec-2022 Konstantin Belousov <kib@FreeBSD.org>

tools/test/ptrace: update scescx to do remote getpid(2) on each SCX event

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37590


# 9a8eb5db 16-Sep-2021 Konstantin Belousov <kib@FreeBSD.org>

test/ptrace/scescx.c: fix printing of braces for syscalls without args

Also do not print stray closing brace for error condition.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days


# 965ee749 12-Jun-2017 Konstantin Belousov <kib@FreeBSD.org>

Update scescx test to print syscall number and arguments.

Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks


# b275edf7 12-Jun-2017 Konstantin Belousov <kib@FreeBSD.org>

Decode recently added flags.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days


# e1976efd 10-Feb-2012 Konstantin Belousov <kib@FreeBSD.org>

Add a test program for recently added ptrace(2) interfaces.

MFC after: 1 week