[Bug 215469] mmap(2) with MAP_EXCL is misdocumented to return EINVAL if already mapped

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 21 14:09:40 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215469

            Bug ID: 215469
           Summary: mmap(2) with MAP_EXCL is misdocumented to return
                    EINVAL if already mapped
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc at FreeBSD.org
          Reporter: martin at lispworks.com

The man page for mmap(2) says:

     [EINVAL]           Both MAP_FIXED and MAP_EXCL were specified, but the
                        requested region is already used by a mapping.

I think this should be ENOMEM rather than EINVAL.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list