udev: control - add FIXME comment to remove work-around
This commit is contained in:
parent
fd5a461316
commit
25568304d2
|
@ -92,6 +92,11 @@ struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd) {
|
|||
uctrl->bound = true;
|
||||
uctrl->sock = fd;
|
||||
}
|
||||
|
||||
/*
|
||||
* FIXME: remove it as soon as we can depend on this:
|
||||
* http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=90c6bd34f884cd9cee21f1d152baf6c18bcac949
|
||||
*/
|
||||
r = setsockopt(uctrl->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
||||
if (r < 0)
|
||||
log_warning_errno(errno, "could not set SO_PASSCRED: %m");
|
||||
|
|
Loading…
Reference in New Issue