Home
last modified time | relevance | path

Searched refs:creds2 (Results 1 – 1 of 1) sorted by relevance

/external/dbus/dbus/
Ddbus-credentials-util.c87 DBusCredentials *creds2; in _dbus_credentials_test() local
112 creds2 = _dbus_credentials_copy (creds); in _dbus_credentials_test()
113 if (creds2 == NULL) in _dbus_credentials_test()
116 _dbus_assert (_dbus_credentials_include (creds2, DBUS_CREDENTIAL_UNIX_USER_ID)); in _dbus_credentials_test()
117 _dbus_assert (_dbus_credentials_include (creds2, DBUS_CREDENTIAL_UNIX_PROCESS_ID)); in _dbus_credentials_test()
118 _dbus_assert (_dbus_credentials_include (creds2, DBUS_CREDENTIAL_WINDOWS_SID)); in _dbus_credentials_test()
120 _dbus_assert (_dbus_credentials_get_unix_uid (creds2) == 12); in _dbus_credentials_test()
121 _dbus_assert (_dbus_credentials_get_unix_pid (creds2) == 511); in _dbus_credentials_test()
122 _dbus_assert (strcmp (_dbus_credentials_get_windows_sid (creds2), SAMPLE_SID) == 0); in _dbus_credentials_test()
124 _dbus_assert (_dbus_credentials_are_superset (creds, creds2)); in _dbus_credentials_test()
[all …]