X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udevmonitor.c;h=644a955090e22e69b47ce295180574422e3abe47;hb=c8e826147a0e39cf09079ea4e546f732f58b4eba;hp=a9cc0614ff8f0da7765403829eae813241ac0fc5;hpb=3f641815ec524bee6bcd47df0103a8b4c05794dd;p=elogind.git diff --git a/udevmonitor.c b/udevmonitor.c index a9cc0614f..644a95509 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; }