mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-02 06:46:26 -04:00
os: Add an implementation of wl_os_socket_peercred() for darwin
This adds an alternative implementation of wl_os_socket_peercred() using getpeereid(3) and LOCAL_PEERPID, similar to changes I recently made to xorg-server. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
25da99a7e5
commit
a77aa44f0e
2 changed files with 15 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ endforeach
|
|||
|
||||
have_funcs = [
|
||||
'accept4',
|
||||
'getpeereid',
|
||||
'mkostemp',
|
||||
'posix_fallocate',
|
||||
'prctl',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue