HomeFreeBSD

linux(4): Futex address must be 32-bit aligned.

Description

linux(4): Futex address must be 32-bit aligned.

Linux futex documentation explicitly states that EINVAL is returned if
the futex is not 4-byte aligned. Check futex alignment as a Linux do
and return EINVAL.

Differential Revision: https://reviews.freebsd.org/D31279
MFC after: 2 weeks

Details

Provenance
dchaginAuthored on Jul 29 2021, 9:50 AM
Differential Revision
D31279: linux(4): Futex address must be 32-bit aligned.
Parents
rGb33e4690271c: linux(4): Finish cf8d74e3fe63.
Branches
Unknown
Tags
Unknown