[haiku-bugs] [Haiku] #18135: shm_open: failed openposixtest 32-1 and 34-1

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 12 Dec 2022 06:23:55 -0000

#18135: shm_open: failed openposixtest 32-1 and 34-1
----------------------------+-----------------------------
 Reporter:  cocobean        |       Owner:  nobody
     Type:  bug             |      Status:  new
 Priority:  normal          |   Milestone:  Unscheduled
Component:  System/POSIX    |     Version:  R1/Development
 Keywords:  mman, shm_open  |  Blocked By:
 Blocking:                  |    Platform:  All
----------------------------+-----------------------------
 1. Test that the shm_open() function sets errno = EACCES if the shared
 memory
 object exists and the permissions specified by oflag are denied

 2. 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
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18135>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: