From 54ecda32c60c6f2548f74703bfd324694393edaa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Mar 2012 00:00:27 +0100 Subject: socket: add option for SO_PASSEC https://bugzilla.redhat.com/show_bug.cgi?id=798760 (Note that this work is not complete yet, as the kernel seems to send us useless data with SCM_SECURITY enabled) --- src/dbus-socket.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dbus-socket.c') diff --git a/src/dbus-socket.c b/src/dbus-socket.c index 9fef6769f0..2e3342cb55 100644 --- a/src/dbus-socket.c +++ b/src/dbus-socket.c @@ -52,6 +52,7 @@ " \n" \ " \n" \ " \n" \ + " \n" \ " \n" \ " \n" \ " \n" \ @@ -114,6 +115,7 @@ static const BusProperty bus_socket_properties[] = { { "Transparent", bus_property_append_bool, "b", offsetof(Socket, transparent) }, { "Broadcast", bus_property_append_bool, "b", offsetof(Socket, broadcast) }, { "PassCredentials",bus_property_append_bool, "b", offsetof(Socket, pass_cred) }, + { "PassSecurity", bus_property_append_bool, "b", offsetof(Socket, pass_sec) }, { "Mark", bus_property_append_int, "i", offsetof(Socket, mark) }, { "MaxConnections", bus_property_append_unsigned, "u", offsetof(Socket, max_connections) }, { "NConnections", bus_property_append_unsigned, "u", offsetof(Socket, n_connections) }, -- cgit v1.2.3-54-g00ecf