mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
Cygwin: AF_UNIX: FIXME comments
This commit is contained in:
parent
d662a977f9
commit
e5f2a0b1c8
@ -2569,9 +2569,11 @@ fhandler_socket_unix::create_cmsg_data (af_unix_pkt_hdr_t *packet,
|
||||
return true;
|
||||
}
|
||||
|
||||
/* FIXME: If peer has set so_passcred, every packet we send should
|
||||
contain SCM_CREDENTIALS ancillary data.
|
||||
https://man7.org/linux/man-pages/man7/unix.7.html */
|
||||
/* FIXME: According to
|
||||
https://man7.org/linux/man-pages/man7/unix.7.html, every packet we
|
||||
send should contain SCM_CREDENTIALS ancillary data if peer has set
|
||||
so_passcred. But how can we know? Should we arrange for the peer
|
||||
to send this info in an admin packet? */
|
||||
ssize_t
|
||||
fhandler_socket_unix::sendmsg (const struct msghdr *msg, int flags)
|
||||
{
|
||||
|
@ -2077,6 +2077,8 @@ socket_unix_cleanup (select_record *, select_stuff *stuff)
|
||||
stuff->device_specific_socket_unix = NULL;
|
||||
}
|
||||
|
||||
/* FIXME: Where in what follows should we be checking so_error? */
|
||||
|
||||
select_record *
|
||||
fhandler_socket_unix::select_read (select_stuff *ss)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user