/system/extras/runconuid/ |
D | runconuid.cpp | 44 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/ |
D | ext4_utils.c | 180 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 …]
|
D | allocate.c | 333 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()
|
D | make_ext4fs.c | 570 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()
|
D | ext4fixup.c | 308 for (i = 0; i < aux_info.groups; i++) { in update_superblocks_and_bg_desc()
|
/system/core/adb/daemon/ |
D | main.cpp | 110 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/ |
D | netlink_manager.cpp | 176 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()
|
D | netlink_manager.h | 46 std::map<std::string, uint32_t> groups; member
|
/system/core/liblog/ |
D | logger_write.c | 67 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/ |
D | NetlinkManager.cpp | 71 int groups, int format, bool configNflog) { in setupSocket() argument 80 nladdr.nl_groups = groups; in setupSocket()
|
D | NetlinkManager.h | 61 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
|
/system/core/logd/ |
D | main.cpp | 145 gid_t groups[] = { AID_READPROC }; in drop_privs() local 147 if (setgroups(arraysize(groups), groups) == -1) { in drop_privs()
|
/system/bt/test/ |
D | README.md | 24 But for the impatient, run specific groups of tests like this:
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 113 u32 groups; member
|
/system/core/init/ |
D | init.cpp | 981 gid_t groups[] = { AID_READPROC }; in main() local 982 setgroups(arraysize(groups), groups); in main()
|
D | README.md | 176 supplemental groups of the process (via setgroups()). 318 groups can be provided. No other commands will be run until this one
|
/system/sepolicy/private/ |
D | incidentd.te | 68 # Allow incidentd to find these standard groups of services.
|
D | adbd.te | 17 # Set UID and GID to shell. Set supplementary groups.
|
/system/sepolicy/public/ |
D | netd.te | 15 # than one of the groups assigned to the current process to see if
|
/system/vold/bench/ |
D | benchgen.py | 119 time, call, args, ret = line.groups()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 2002 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/ |
D | cryptfs.cpp | 2131 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/ |
D | Doxyfile | 335 # 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.
|
D | Doxyfile.orig | 335 # 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/ |
D | Doxyfile | 353 # 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.
|