]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unix(4): Enhance LOCAL_CREDS_PERSISTENT ABI
authorcem <cem@FreeBSD.org>
Tue, 17 Nov 2020 20:01:21 +0000 (20:01 +0000)
committercem <cem@FreeBSD.org>
Tue, 17 Nov 2020 20:01:21 +0000 (20:01 +0000)
commite907c380568e781e48b40fa01b7d629eecb69f20
tree4389311f38647023a051210f40dcc3509619baab
parent377c6627954fc105b7150c546265affec1aeaf32
unix(4): Enhance LOCAL_CREDS_PERSISTENT ABI

As this ABI is still fresh (r367287), let's correct some mistakes now:

- Version the structure to allow for future changes
- Include sender's pid in control message structure
- Use a distinct control message type from the cmsgcred / sockcred mess

Discussed with: kib, markj, trasz
Differential Revision: https://reviews.freebsd.org/D27084
share/man/man4/unix.4
sys/compat/linux/linux_socket.c
sys/kern/uipc_usrreq.c
sys/sys/socket.h