protocol: add security label to a client

Don't pass the ucred to the client construct, just set the properties
in the protocol.
Use the client properties to get ucred.
Add the security label to the client properties (from SO_PEERSEC)
This commit is contained in:
Wim Taymans 2019-05-10 13:12:22 +02:00
parent 4e70cddf1d
commit a2bf4ce96e
5 changed files with 38 additions and 53 deletions

View file

@ -22,6 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <sys/socket.h>
#include <spa/pod/parser.h>
#include <pipewire/pipewire.h>