#18135 closed bug (no change required)

shm_open: failed openposixtest 32-1 and 34-1

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: mman, shm_open Cc:
Blocked By: Blocking:
Platform: All

Description

  1. Test that the shm_open() function sets errno = EACCES if the shared memory

object exists and the permissions specified by oflag are denied

  1. Test that the shm_open() function sets errno = EACCES if O_TRUNC is

specified and write permission is denied

NOTE: Create a shared memory object with no read or write permission and try to open it.

Ref:

https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/shm_open/32-1.c

https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/shm_open/34-1.c

Tested on: hrev56630 x64

Change History (2)

comment:1 by cocobean, 14 months ago

As of UNIX 2003, these tests are considered OPTIONAL. (don't need to implement/fix at this time)

Please close this ticket.

comment:2 by pulkomandy, 14 months ago

Resolution: no change required
Status: newclosed
Note: See TracTickets for help on using tickets.