Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.6-pws-2: cap_free



Peter Stephenson wrote:
>I've finally compiled on a system with POSIX capability sets.  This one
>definitely needs cap_free to get the value returned from cap_get_proc, not
>a pointer to it.  If there are implementations which do this the other way,
>we have problems.

When I wrote that code, I was working from an alpha version of the Linux
libcap (which I was co-writing), which was based on a not-entirely-clear
summary of a draft of POSIX.6.  I wouldn't be surprised if that's how
it's supposed to be.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author