]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unix(4): Enhance LOCAL_CREDS_PERSISTENT ABI
authorConrad Meyer <cem@FreeBSD.org>
Tue, 17 Nov 2020 20:01:21 +0000 (20:01 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Tue, 17 Nov 2020 20:01:21 +0000 (20:01 +0000)
commitede4af47ae6e3b6f961462f687d28ba3623882a5
tree4389311f38647023a051210f40dcc3509619baab
parentb1976ea14ce2af4ac623d113d4e1f7ec57903327
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