mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
gcredentials: add NetBSD support
https://bugzilla.gnome.org/show_bug.cgi?id=728256
This commit is contained in:
committed by
Matthias Clasen
parent
01098e34c1
commit
afce39c228
@@ -100,6 +100,14 @@ test_basic (void)
|
||||
g_assert_cmpuint (native->cmcred_euid, ==, geteuid ());
|
||||
g_assert_cmpuint (native->cmcred_pid, ==, getpid ());
|
||||
}
|
||||
#elif G_CREDENTIALS_USE_NETBSD_UNPCBID
|
||||
{
|
||||
struct unpcbid *native = g_credentials_get_native (creds,
|
||||
G_CREDENTIALS_TYPE_NETBSD_UNPCBID);
|
||||
|
||||
g_assert_cmpuint (native->unp_euid, ==, geteuid ());
|
||||
g_assert_cmpuint (native->unp_pid, ==, getpid ());
|
||||
}
|
||||
#elif G_CREDENTIALS_USE_OPENBSD_SOCKPEERCRED
|
||||
{
|
||||
struct sockpeercred *native = g_credentials_get_native (creds,
|
||||
|
Reference in New Issue
Block a user