summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-22 04:38:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-22 04:38:33 +0000
commite54c12707259c3c36e9462896af15520a8ae17fa (patch)
tree60e50cfc7ebd97f21ecf026cc606338f9276327c
parentff99d87612b189971c92be1d19d938337f2bd794 (diff)
make a note about when to remove overly verbose logging for pinsyscall violations
-rw-r--r--sys/sys/syscall_mi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/syscall_mi.h b/sys/sys/syscall_mi.h
index 1bcee1df74c..e200876ef7d 100644
--- a/sys/sys/syscall_mi.h
+++ b/sys/sys/syscall_mi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall_mi.h,v 1.30 2024/01/16 19:05:00 deraadt Exp $ */
+/* $OpenBSD: syscall_mi.h,v 1.31 2024/01/22 04:38:32 deraadt Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -102,6 +102,7 @@ pin_check(struct proc *p, register_t code)
ktrpinsyscall(p, error, code, addr);
#endif
KERNEL_LOCK();
+ /* XXX remove or simplify this log() call after OpenBSD 7.5 release */
log(LOG_ERR,
"%s[%d]: pinsyscalls addr %lx code %ld, pinoff 0x%x "
"(pin%s %d %lx-%lx %lx) (libcpin%s %d %lx-%lx %lx) error %d\n",