summaryrefslogtreecommitdiff
path: root/udevmonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevmonitor.c')
-rw-r--r--udevmonitor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/udevmonitor.c b/udevmonitor.c
index a9cc0614ff..644a955090 100644
--- a/udevmonitor.c
+++ b/udevmonitor.c
@@ -43,7 +43,6 @@ static int init_udev_monitor_socket(void)
{
struct sockaddr_un saddr;
socklen_t addrlen;
- const int feature_on = 1;
int retval;
memset(&saddr, 0x00, sizeof(saddr));
@@ -67,9 +66,6 @@ static int init_udev_monitor_socket(void)
return -1;
}
- /* enable receiving of the sender credentials */
- setsockopt(udev_monitor_sock, SOL_SOCKET, SO_PASSCRED, &feature_on, sizeof(feature_on));
-
return 0;
}