According to fetch(9) fueword facility designed to fetch atomically
small amount of data from user space.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think on ARM there exist the same problem we fixed for umtx in 30b3018d48e4441083b
sys/compat/linux/linux_futex.c | ||
---|---|---|
712 | Should this casuword32 replaced by casueword32? |
sys/compat/linux/linux_futex.c | ||
---|---|---|
707–708 | How do we know that uaddr is aligned? release_futexes does not validate futex_offset after copying it in... |
sys/compat/linux/linux_futex.c | ||
---|---|---|
707–708 | yes, you are right, I plan some handle_futex_death improvement: add a for special case for regular futexes and check unaligned access too |