port to POSIX capabilities API via libcap
Bug #1087134 reported by
Mike Miller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procenv |
Fix Released
|
Undecided
|
James Hunt |
Bug Description
Procenv currently uses prctl to get Linux process capabilities. This limits use to linux >= 2.6.25. Effect is no capabilities information on RHEL5, for example.
A more compatible / well-defined / backport-friendly alternative would be to use the POSIX capabilities API through the libcap or libcap-ng libraries. I can hack on this when I get a free moment, but let me know if you'd object to such a change.
To post a comment you must log in.
Hi Mike,
Thanks for the offer! I don't have any objections as long as it doesn't stop it working on the platforms its already running on :-)