Use cases for various subject mode flags
Posted: Thu Mar 27, 2014 7:37 pm
Hi,
I wonder what certain subject mode flags are good for in practice. Given that they are there for a reason I would like to know some legitimate use case(s) for them.
I wonder what certain subject mode flags are good for in practice. Given that they are there for a reason I would like to know some legitimate use case(s) for them.
- Subject mode a: Allow this process to talk to the /dev/grsec device.
What program except gradm would talk to /dev/grsec? (Is the protocol for talking to /dev/grsec documented somewhere?) - Subject mode t: Allow ptracing of any process (do not use unless necessary, allows ptrace to cross subject boundaries). (...)
And when for instance would that be necessary? - Subject mode x: Allows executable anonymous shared memory for this subject.
What would be a plausible scenario for that? The only one I could think of is software that would not work at all otherwise. Anything else? - Subject mode A: Protect the shared memory of this subject. No other processes but processes contained within this subject may access the shared memory of this subject.
Plausible use case? - Subject mode O: Allow loading of writable libraries.
Sounds pretty bad. In what situation would one want that?