While reading the code, I noticed that shm_read() returns without
unlocking foffset and rangelock if mac_posixshm_check_read() rejects the
read.
Details
Details
cd /usr/tests/sys/posixshm && kyua test
I did not actually test with a real MAC module.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This change seems sensible to me, but I believe John has worked with this code most recently, so I've added him as a reviewer as well.
Comment Actions
The read bits are Konstantin's code, so his review counts for more weight than mine. This looks good to me though.