cvs commit: src/sys/sys ipc.h shm.h src/sys/kern sysv_shm.c
Christian S.J. Peron
csjp at FreeBSD.org
Tue Feb 12 14:09:26 PST 2008
On Tue, Feb 12, 2008 at 01:42:26PM -0800, Maxim Sobolev wrote:
> Just curious why not make those functions available via FreeBSD API
> instead by properly advertising them in the documentation? From my
> completely ignorant point of view it should make it easier to port a
> software that has been created on Linux, which is always a Good Thing[tm].
That is a possibility, but for now, we do not want to support them as standard
BSD APIs. It's probably worth noting that not very many things use them at
the moment in Linux, and I wouldn't be surprised if they are deprecated all
together in favour of procfs, here an excert from the Linux man page:
The IPC_INFO, SHM_STAT and SHM_INFO operations are used by the ipcs(8)
program to provide information on allocated resources. In the future
these may modified or moved to a /proc file system interface.
So I am really not sure how much value there would be.
More information about the cvs-src