Configuring SELinux permissions on (SVS-V) IPC Semaphores

前端 未结 2 1868
太阳男子
太阳男子 2021-01-02 00:06

I have a bunch of programs which use IPC Semaphores to interact (semget).

One of the programs is an Apache module, which runs in (some sort of) restricted SELinux c

2条回答
  •  有刺的猬
    2021-01-02 01:00

    SELinux has persmission setting for more than just regular files, but also device and special files.

    http://seedit.sourceforge.net/doc/access_vectors/access_vectors.html#SECTION00044000000000000000 is what you're looking for. Give read/write/etc permissions to the "sem" object.

    Cheers

提交回复
热议问题