#18136 closed bug (no change required)

shm_unlink: failed openposixtest 9-1

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

Description

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

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

Can you please stop opening tickets and then ask to close them a few months later? It is wasting everyone's time.

Note: See TracTickets for help on using tickets.