Skip to content

Commit 781274f

Browse files
committed
Check type of struct stat in kernel ABI
1 parent 6c24608 commit 781274f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/kernel_abi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,6 +2628,7 @@ struct ARM64Arch : public GenericArch<SupportedArch::aarch64, WordSize64Defs> {
26282628
struct ucontext uc;
26292629
};
26302630

2631+
RR_VERIFY_TYPE_ARCH(SupportedArch::aarch64, struct ::stat, struct stat_t);
26312632
RR_VERIFY_TYPE_ARCH(SupportedArch::aarch64, struct ::semid64_ds, struct semid64_ds);
26322633

26332634
struct ethtool_rx_flow_spec {

0 commit comments

Comments
 (0)