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. Regards, Matt -- Matt Kern http://www.undue.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: PosixCapabilities.py Type: text/x-python Size: 7374 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20061117/4db99f3b/attachment-0001.py
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4