[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246189

            Bug ID: 246189
           Summary: graphics/wayland: fix wl_client_get_credentials
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: greg at unrelenting.technology
          Assignee: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)

Created attachment 214123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214123&action=edit
libwayland-creds.patch

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list