Home
last modified time | relevance | path

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

/external/dbus/dbus/
Ddbus-userdb-util.c383 int *n_group_ids) in _dbus_groups_from_uid() argument
388 *n_group_ids = 0; in _dbus_groups_from_uid()
408 if (info->n_group_ids > 0) in _dbus_groups_from_uid()
410 *group_ids = dbus_new (dbus_gid_t, info->n_group_ids); in _dbus_groups_from_uid()
417 *n_group_ids = info->n_group_ids; in _dbus_groups_from_uid()
419 memcpy (*group_ids, info->group_ids, info->n_group_ids * sizeof (dbus_gid_t)); in _dbus_groups_from_uid()
442 int n_group_ids, i; in _dbus_userdb_test() local
454 if (!_dbus_groups_from_uid (uid, &group_ids, &n_group_ids)) in _dbus_userdb_test()
461 for (i=0; i<n_group_ids; i++) in _dbus_userdb_test()
Ddbus-sysdeps-unix.h103 int n_group_ids; /**< Size of group IDs array */ member
Ddbus-userdb.h104 int *n_group_ids);
Ddbus-sysdeps-util-unix.c964 int *n_group_ids) in _dbus_unix_groups_from_uid() argument
966 return _dbus_groups_from_uid (uid, group_ids, n_group_ids); in _dbus_unix_groups_from_uid()
Ddbus-sysdeps.h204 int *n_group_ids);
Ddbus-sysdeps-util-win.c844 int *n_group_ids) in _dbus_unix_groups_from_uid() argument
Ddbus-sysdeps-unix.c2068 info->n_group_ids = 0; in fill_user_info()
2267 info->n_group_ids = buf_count; in fill_user_info()
2281 info->n_group_ids = 1; in fill_user_info()
/external/dbus/bus/
Dpolicy.c381 int n_group_ids) in list_allows_user() argument
416 while (i < n_group_ids) in list_allows_user()
423 if (i == n_group_ids) in list_allows_user()
442 int n_group_ids; in bus_policy_allow_unix_user() local
445 if (!_dbus_unix_groups_from_uid (uid, &group_ids, &n_group_ids)) in bus_policy_allow_unix_user()
458 group_ids, n_group_ids); in bus_policy_allow_unix_user()
463 group_ids, n_group_ids); in bus_policy_allow_unix_user()
Dconnection.c872 int n_group_ids; in bus_connection_is_in_unix_group() local
874 if (!bus_connection_get_unix_groups (connection, &group_ids, &n_group_ids, in bus_connection_is_in_unix_group()
879 while (i < n_group_ids) in bus_connection_is_in_unix_group()