Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 30) sorted by relevance

12

/system/extras/runconuid/
Drunconuid.cpp44 static gid_t* groups = nullptr; variable
60 if (ngroups && setgroups(ngroups, groups) < 0) { in do_child()
123 groups = (gid_t*)calloc(ngroups, sizeof(gid_t)); in lookup_groups()
128 groups[n] = lookup_gid(group); in lookup_groups()
/system/extras/ext4_utils/
Dext4_utils.c180 for (i = 1; i < aux_info.groups; i++) { in block_device_write_sb()
208 aux_info.groups = DIV_ROUND_UP(aux_info.len_blocks - aux_info.first_data_block, in ext4_create_fs_aux_info()
215 DIV_ROUND_UP(aux_info.groups * sizeof(struct ext2_group_desc), in ext4_create_fs_aux_info()
222 if (ext4_bg_has_super_block(aux_info.groups - 1)) in ext4_create_fs_aux_info()
225 if (aux_info.groups <= 1 && last_group_size < last_header_size) { in ext4_create_fs_aux_info()
229 aux_info.groups--; in ext4_create_fs_aux_info()
255 aux_info.backup_sb = calloc(aux_info.groups, sizeof(char *)); in ext4_create_fs_aux_info()
270 for (i=0; i<aux_info.groups; i++) { in ext4_free_fs_aux_info()
285 sb->s_inodes_count = info.inodes_per_group * aux_info.groups; in ext4_fill_in_sb()
369 for (i = 0; i < aux_info.groups; i++) { in ext4_fill_in_sb()
[all …]
Dallocate.c333 aux_info.bgs = calloc(sizeof(struct block_group_info), aux_info.groups); in block_allocator_init()
337 for (i = 0; i < aux_info.groups; i++) in block_allocator_init()
345 for (i = 0; i < aux_info.groups; i++) { in block_allocator_free()
375 for (i = 0; i < aux_info.groups; i++) { in ext4_allocate_best_fit_partial()
745 for (bg = 0; bg < aux_info.groups; bg++) { in allocate_inode()
Dmake_ext4fs.c570 for(i = 0; i < aux_info.groups; i++) { in get_block_group()
685 for (i = 0; i < aux_info.groups; i++) { in extract_base_fs_allocations()
817 printf(" Block groups: %d\n", aux_info.groups); in make_ext4fs_internal()
Dext4fixup.c308 for (i = 0; i < aux_info.groups; i++) { in update_superblocks_and_bg_desc()
/system/core/adb/daemon/
Dmain.cpp110 gid_t groups[] = {AID_ADB, AID_LOG, AID_INPUT, in drop_privileges() local
114 minijail_set_supplementary_gids(jail.get(), arraysize(groups), groups); in drop_privileges()
/system/connectivity/wificond/net/
Dnetlink_manager.cpp176 vector<NL80211NestedAttr> groups; in OnNewFamily() local
177 if (!multicast_groups.GetListOfNestedAttributes(&groups)) { in OnNewFamily()
180 for (auto& group : groups) { in OnNewFamily()
189 message_types_[family_name].groups[group_name] = group_id; in OnNewFamily()
446 auto groups = message_types_[NL80211_GENL_NAME].groups; in SubscribeToEvents() local
447 if (groups.find(group) == groups.end()) { in SubscribeToEvents()
451 uint32_t group_id = groups[group]; in SubscribeToEvents()
Dnetlink_manager.h46 std::map<std::string, uint32_t> groups; member
/system/core/liblog/
Dlogger_write.c67 gid_t* groups; in check_log_uid_permissions() local
73 groups = calloc(num_groups, sizeof(gid_t)); in check_log_uid_permissions()
74 if (!groups) { in check_log_uid_permissions()
77 num_groups = getgroups(num_groups, groups); in check_log_uid_permissions()
79 if (groups[num_groups - 1] == AID_LOG) { in check_log_uid_permissions()
84 free(groups); in check_log_uid_permissions()
/system/netd/server/
DNetlinkManager.cpp71 int groups, int format, bool configNflog) { in setupSocket() argument
80 nladdr.nl_groups = groups; in setupSocket()
DNetlinkManager.h61 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
/system/core/logd/
Dmain.cpp145 gid_t groups[] = { AID_READPROC }; in drop_privs() local
147 if (setgroups(arraysize(groups), groups) == -1) { in drop_privs()
/system/bt/test/
DREADME.md24 But for the impatient, run specific groups of tests like this:
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h113 u32 groups; member
/system/core/init/
Dinit.cpp981 gid_t groups[] = { AID_READPROC }; in main() local
982 setgroups(arraysize(groups), groups); in main()
DREADME.md176 supplemental groups of the process (via setgroups()).
318 groups can be provided. No other commands will be run until this one
/system/sepolicy/private/
Dincidentd.te68 # Allow incidentd to find these standard groups of services.
Dadbd.te17 # Set UID and GID to shell. Set supplementary groups.
/system/sepolicy/public/
Dnetd.te15 # than one of the groups assigned to the current process to see if
/system/vold/bench/
Dbenchgen.py119 time, call, args, ret = line.groups()
/system/core/liblog/tests/
Dliblog_test.cpp2002 gid_t groups[num_groups]; in TEST() local
2003 num_groups = getgroups(num_groups, groups); in TEST()
2005 if (groups[num_groups - 1] == AID_LOG) { in TEST()
/system/vold/
Dcryptfs.cpp2131 for (i = 0; i < aux_info.groups; ++i) { in encrypt_groups()
2260 for (i = 0; i < aux_info.groups; ++i) { in cryptfs_enable_inplace_ext4()
/system/media/audio_utils/
DDoxyfile335 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
1990 # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
1991 # the modules index. If set to NO, only the current project's groups will be
2106 # groups, showing the direct groups dependencies.
DDoxyfile.orig335 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
1990 # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
1991 # the modules index. If set to NO, only the current project's groups will be
2106 # groups, showing the direct groups dependencies.
/system/chre/chre_api/doc/
DDoxyfile353 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
2074 # If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
2075 # in the modules index. If set to NO, only the current project's groups will be
2190 # groups, showing the direct groups dependencies.

12