+ write(STDERR_FILENO, NO_KTRACE, sizeof(NO_KTRACE)); Naw, I dislike that sizeof.
You can use dprintf, it is signal-safe in OpenBSD as long as the format string doesn't contain floating-point strings.
+ write(STDERR_FILENO, NO_KTRACE, sizeof(NO_KTRACE)); Naw, I dislike that sizeof.
You can use dprintf, it is signal-safe in OpenBSD as long as the format string doesn't contain floating-point strings.