maintainer-feedback requested: [Bug 246189] graphics/wayland: fix wl_client_get_credentials

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 4 19:53:10 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 246189: graphics/wayland: fix wl_client_get_credentials
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246189



--- Description ---
1) who wrote getsockopt(fd, SOL_SOCKET, LOCAL_PEERCRED)? that's wrong! with
SOL_SOCKET, the value of LOCAL_PEERCRED (1) is interpreted as SO_DEBUG (1).
2) we do have the pid in xucred since r348419, let's use it.


More information about the freebsd-x11 mailing list