[haiku-bugs] [Haiku] #18136: shm_unlink: failed openposixtest 9-1

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 12 Dec 2022 16:46:44 -0000

#18136: shm_unlink: failed openposixtest 9-1
------------------------------+-----------------------------
 Reporter:  cocobean          |       Owner:  nobody
     Type:  bug               |      Status:  new
 Priority:  normal            |   Milestone:  Unscheduled
Component:  System/POSIX      |     Version:  R1/Development
 Keywords:  mman, shm_unlink  |  Blocked By:
 Blocking:                    |    Platform:  All
------------------------------+-----------------------------
 Test that shm_unlink() sets errno = EACCES if permission is denied to
 unlink the named shared memory object.

  Steps:
   1. Create a shared memory object.
   2. Set his effective user id to another user id which is not root.
   3. Try to unlink the name.
      If it fails: set the effective user id to real user id and unlink.

 NOTE: In most cases, this test will be unresolved if not run by root.


 Ref:
 
https://github.com/haiku/open_posix_testsuite/blob/master/conformance/interfaces/shm_unlink/9-1.c

 Tested on: hrev56630 x64
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18136>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: