Searched refs:n_group_ids (Results 1 – 9 of 9) sorted by relevance
/external/dbus/dbus/ |
D | dbus-userdb-util.c | 383 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()
|
D | dbus-sysdeps-unix.h | 103 int n_group_ids; /**< Size of group IDs array */ member
|
D | dbus-userdb.h | 104 int *n_group_ids);
|
D | dbus-sysdeps-util-unix.c | 964 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()
|
D | dbus-sysdeps.h | 204 int *n_group_ids);
|
D | dbus-sysdeps-util-win.c | 844 int *n_group_ids) in _dbus_unix_groups_from_uid() argument
|
D | dbus-sysdeps-unix.c | 2068 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/ |
D | policy.c | 381 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()
|
D | connection.c | 872 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()
|