Skip to content

Fix suseconds_t type signedness for Linux ABI compatibility#694

Closed
04cb wants to merge 1 commit intomicrosoft:mainfrom
04cb:fix/608-suseconds-t-signedness
Closed

Fix suseconds_t type signedness for Linux ABI compatibility#694
04cb wants to merge 1 commit intomicrosoft:mainfrom
04cb:fix/608-suseconds-t-signedness

Conversation

@04cb
Copy link

@04cb 04cb commented Mar 1, 2026

Summary

Fix suseconds_t type to be signed (i32/i64) instead of unsigned (u32/u64) to match Linux kernel ABI.

Changes

  • Change suseconds_t from u32 to i32 on x86
  • Change suseconds_t from u64 to i64 on x86_64

Fixes #608

Per Linux kernel ABI, suseconds_t should be signed (i32/i64) not
unsigned (u32/u64). This matches the kernel definition where
__kernel_suseconds_t is __kernel_long_t (signed long).

Fixes #608

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@04cb 04cb closed this by deleting the head repository Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix suseconds_t type signedness for Linux ABI compatibility

1 participant