git: fe8ece34b446 - main - struct kinfo_knote: add spare fields
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Mar 2025 02:24:53 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=fe8ece34b446e92218a283ce5a7754784b6c53c1
commit fe8ece34b446e92218a283ce5a7754784b6c53c1
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-03-15 14:49:14 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-03-24 02:24:14 +0000
struct kinfo_knote: add spare fields
This is yet another ABI breakage, hopefully the last.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffferential revision: https://reviews.freebsd.org/D49372
---
sys/compat/freebsd32/freebsd32.h | 1 +
sys/sys/user.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index 2db154a8155c..c3234141d5a9 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -451,6 +451,7 @@ struct kinfo_knote32 {
struct kevent32 knt_event;
int knt_status;
int knt_extdata;
+ uint32_t knt_spare0[8];
union {
struct {
int knt_vnode_type;
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 8396f827e9ed..0c443672a3b1 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -681,6 +681,7 @@ struct kinfo_knote {
struct kevent knt_event;
int knt_status;
int knt_extdata;
+ uint64_t knt_spare0[4];
union {
struct {
int knt_vnode_type;