security_context_to_sid
The man page for security_context_to_sid() documents the second parameter as being of type "__u32 *scontext_len" when it is really "__u32 scontext_len".
Also could the type of the first parameter be changed to "const security_context_t"? The kernel and library code is not writing to the data that is pointed to, and from the design of it I don't think it ever will. I would like this (and other similar functions) to use const wherever possible so that I can use const in my code, and the code that calls my code, etc.
Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.