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

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |In Discussion
                 CC|                            |[email protected]

--- Comment #2 from Jilles Tjoelker <[email protected]> ---
When called through the FreeBSD ABI, shmctl(SHM_STAT) will always fail with
[EINVAL]. The SHM_STAT cmd is really only intended for Linux's ipcs tool,
allowing it to iterate over all shared memory segments in the system. It is
probably a bug that the <sys/shm.h> header exposes SHM_STAT and a few other
unsupported cmd values to applications.

To request the state of a shared memory segment, use IPC_STAT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to