mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Document where we expect credentials-passing to be supported
This is useful information for implementors of portable software to know whether they can rely on credentials-passing. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Philip Withnall
parent
686bf2a665
commit
5e24d7cd14
@@ -5750,6 +5750,13 @@ g_socket_receive_message (GSocket *socket,
|
||||
* the %G_IO_ERROR_NOT_SUPPORTED error. On Linux this is implemented
|
||||
* by reading the %SO_PEERCRED option on the underlying socket.
|
||||
*
|
||||
* This method can be expected to be available on the following platforms:
|
||||
*
|
||||
* - Linux since GLib 2.26
|
||||
* - OpenBSD since GLib 2.30
|
||||
* - Solaris, Illumos and OpenSolaris since GLib 2.40
|
||||
* - NetBSD since GLib 2.42
|
||||
*
|
||||
* Other ways to obtain credentials from a foreign peer includes the
|
||||
* #GUnixCredentialsMessage type and
|
||||
* g_unix_connection_send_credentials() /
|
||||
|
Reference in New Issue
Block a user