summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-20 05:56:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-20 05:56:37 +0000
commit08679da1950d42442c6e0b053c5aab1cb76ea05d (patch)
tree3465a256f3d89a908da9d89492ecb0cfa8fd7ff2 /sys/kern/kern_ktrace.c
parent3cb09a2693afe808605255323746d2938b70f8d2 (diff)
the _pad_ system calls from 2021/12/23 can go away
ok guenther
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r--sys/kern/kern_ktrace.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index e8810fb0264..fa8e6bf4d21 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ktrace.c,v 1.106 2022/02/22 17:14:14 deraadt Exp $ */
+/* $OpenBSD: kern_ktrace.c,v 1.107 2022/07/20 05:56:36 deraadt Exp $ */
/* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */
/*
@@ -204,10 +204,6 @@ ktrsysret(struct proc *p, register_t code, int error,
else if (code == SYS_lseek)
/* the one exception: lseek on ILP32 needs more */
len = sizeof(long long);
-#if 1
- else if (code == SYS_pad_lseek)
- len = sizeof(long long);
-#endif
else
len = sizeof(register_t);
ktrwrite2(p, &kth, &ktp, sizeof(ktp), retval, len);