diff options
author | alc <alc@FreeBSD.org> | 2003-11-10 01:37:40 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-11-10 01:37:40 +0000 |
commit | fa4ea5d2f2c4f2808206b802fa09b5ee6ffb7631 (patch) | |
tree | 9f9445306d056c8d74e579030ddec7cb2c11e1bc /sys/dev/aha/aha.c | |
parent | 918610ef5e152cf4feecdc66bece5d06153b9668 (diff) | |
download | FreeBSD-src-fa4ea5d2f2c4f2808206b802fa09b5ee6ffb7631.zip FreeBSD-src-fa4ea5d2f2c4f2808206b802fa09b5ee6ffb7631.tar.gz |
- The Open Group Base Specifications Issue 6 specifies that an munmap(2)
must return EINVAL if size is zero. Submitted by: tegge
- In order to avoid a race condition in multithreaded applications, the
check and removal operations by munmap(2) must be in the same critical
section. To accomodate this, vm_map_check_protection() is modified to
require its caller to obtain at least a read lock on the map.
Diffstat (limited to 'sys/dev/aha/aha.c')
0 files changed, 0 insertions, 0 deletions