Hi, I wanted to start discussing about wl_client_get_credentials support in various BSDs. wl_client_get_credentials uses getsockopt() with SO_PEERCRED, which isn't supported on BSD. On the other hand, using SCM_CREDENTIALS by passing a `struct ucred` ancillary message is supported on both Linux and BSD [1].
Would it be possible to use this mechanism instead of SO_PEERCRED in wl_client_get_credentials? Should we use SCM_CREDENTIALS on all platforms or just BSDs? Any thoughts on doing this in a backwards-compatible way? Thanks, [1]: https://www.freebsd.org/cgi/man.cgi?query=unix&sektion=7&apropos=0&manpath=SuSE+Linux%2fi386+11.3 -- Simon Ser https://emersion.fr _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel