[rsbac] appending rsbac data to /proc/$pid/status

Javier Juan Martinez Cabezon tazok.id0 at gmail.com
Thu Mar 15 22:55:13 CET 2018

Jens, your API relies in popen ¿isn't it?
It's as heavy as mine XD

Time ago I tried to do it with ctypes using librsbac without success.
Maybe I should retry with ctypes and mistreating librsbac directly (with
Amon permission of course)

On 15/03/18 14:52, Jens Kasten wrote:
> Am 13.03.2018 23:20, schrieb Javier Juan Martínez Cabezón:
>> WARNING: contains banned part
> Hi Javier
> better use a paste service for such email :D
> I have few tiny userland tools which I use now for longer time.
>  https://bitbucket.org/igraltist/rsbac-tools/overview
> There for example I use:
>   rsbac_api = rsbac.Rsbac()
>   # first get jail_id to test if further action is needed
>   jail_id, error = rsbac_api.attr_get_process("JAIL", pid, "jail_id")
> This is just a passthrough at the moment to a python Popen call. If more
> speed is needed then there is only one place to implement a C extension.
> _______________________________________________
> rsbac mailing list
> rsbac en rsbac.org
> http://www.rsbac.org/mailman/listinfo/rsbac

More information about the rsbac mailing list