Searched refs:group_ids (Results 1 – 10 of 10) sorted by relevance
/external/dbus/dbus/ |
D | dbus-userdb-util.c | 356 dbus_gid_t **group_ids, in _dbus_groups_from_uid() argument 361 *group_ids = NULL; in _dbus_groups_from_uid() 384 *group_ids = dbus_new (dbus_gid_t, info->n_group_ids); in _dbus_groups_from_uid() 385 if (*group_ids == NULL) in _dbus_groups_from_uid() 393 memcpy (*group_ids, info->group_ids, info->n_group_ids * sizeof (dbus_gid_t)); in _dbus_groups_from_uid() 415 unsigned long *group_ids; in _dbus_userdb_test() local 427 if (!_dbus_groups_from_uid (uid, &group_ids, &n_group_ids)) in _dbus_userdb_test() 435 printf(" %ld", group_ids[i]); in _dbus_userdb_test() 439 dbus_free (group_ids); in _dbus_userdb_test()
|
D | dbus-sysdeps-unix.h | 96 dbus_gid_t *group_ids; /**< Groups IDs, *including* above primary group */ member
|
D | dbus-userdb.h | 103 dbus_gid_t **group_ids,
|
D | dbus-sysdeps-unix.c | 1955 info->group_ids = NULL; in fill_user_info() 2144 info->group_ids = dbus_new (dbus_gid_t, buf_count); in fill_user_info() 2145 if (info->group_ids == NULL) in fill_user_info() 2153 info->group_ids[i] = buf[i]; in fill_user_info() 2162 info->group_ids = dbus_new (dbus_gid_t, 1); in fill_user_info() 2163 if (info->group_ids == NULL) in fill_user_info() 2171 (info->group_ids)[0] = info->primary_gid; in fill_user_info()
|
D | dbus-sysdeps-util-unix.c | 918 dbus_gid_t **group_ids, in _dbus_unix_groups_from_uid() argument 921 return _dbus_groups_from_uid (uid, group_ids, n_group_ids); in _dbus_unix_groups_from_uid()
|
D | dbus-sysdeps.h | 200 dbus_gid_t **group_ids,
|
D | dbus-userdb.c | 78 dbus_free (info->group_ids); in _dbus_user_info_free()
|
D | dbus-sysdeps-util-win.c | 855 dbus_gid_t **group_ids, in _dbus_unix_groups_from_uid() argument
|
/external/dbus/bus/ |
D | policy.c | 380 const unsigned long *group_ids, in list_allows_user() argument 418 if (rule->d.group.gid == group_ids[i]) in list_allows_user() 441 unsigned long *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() 465 dbus_free (group_ids); in bus_policy_allow_unix_user()
|
D | connection.c | 890 unsigned long *group_ids; in bus_connection_is_in_unix_group() local 893 if (!bus_connection_get_unix_groups (connection, &group_ids, &n_group_ids, in bus_connection_is_in_unix_group() 900 if (group_ids[i] == gid) in bus_connection_is_in_unix_group() 902 dbus_free (group_ids); in bus_connection_is_in_unix_group() 908 dbus_free (group_ids); in bus_connection_is_in_unix_group()
|