[Python-Dev] POSIX Capabilities
matt.kern at undue.org
Fri Nov 17 13:15:22 CET 2006
I was looking around for an interface to POSIX capabilities from Python
under Linux. I couldn't find anything that did the job, so I wrote the
attached PosixCapabilities module. It has a number of shortcomings:
* it is written using ctypes to interface directly to libcap;
* it assumes the sizes/types of various POSIX defined types;
* it only gets/sets process capabilities;
* it can test/set/clear capability flags.
Despite the downsides, I think it would be good to get the package out
there. If anyone wishes to adopt it, update it, rewrite it and/or put
it into the distribution, then feel free.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7374 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20061117/4db99f3b/attachment-0001.py
More information about the Python-Dev