Skip to content

Commit 4497a78

Browse files
committed
Fix ucontext_t and NFT_MSG_MAX on x86_64
1 parent e94f68c commit 4497a78

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/unix/notbsd/linux/other/b64/x86_64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ s_no_extra_traits! {
231231
pub uc_mcontext: mcontext_t,
232232
pub uc_sigmask: ::sigset_t,
233233
__private: [u8; 512],
234+
__ssp: [::c_ulonglong; 4],
234235
}
235236
}
236237

src/unix/notbsd/linux/other/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ cfg_if! {
758758
pub const NFT_MSG_GETOBJ: ::c_int = 19;
759759
pub const NFT_MSG_DELOBJ: ::c_int = 20;
760760
pub const NFT_MSG_GETOBJ_RESET: ::c_int = 21;
761-
pub const NFT_MSG_MAX: ::c_int = 22;
761+
pub const NFT_MSG_MAX: ::c_int = 25;
762762
} else {
763763
pub const NFT_MSG_MAX: ::c_int = 18;
764764
}

0 commit comments

Comments
 (0)