OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nsupp_groups
(Results
1 - 2
of
2
) sorted by null
/external/minijail/examples/
drop_privs.cpp
34
int
nsupp_groups
= getgroups(0, NULL);
local
35
if (
nsupp_groups
< 0) {
38
if (
nsupp_groups
== 0) {
43
gid_t *list = (gid_t*)calloc((size_t)
nsupp_groups
, sizeof(gid_t));
44
nsupp_groups
= getgroups(
nsupp_groups
, list);
45
if (
nsupp_groups
< 0) {
46
PLOG(FATAL) << "getgroups(
nsupp_groups
)";
48
for (size_t i = 0; i < (size_t)
nsupp_groups
; i++) {
/external/minijail/test/
libminijail_test.cpp
30
int
nsupp_groups
= getgroups(0, NULL);
local
31
if (
nsupp_groups
< 0) {
35
if (
nsupp_groups
== 0) {
40
*plist = (gid_t*)calloc((size_t)
nsupp_groups
, sizeof(gid_t));
41
nsupp_groups
= getgroups(
nsupp_groups
, *plist);
42
if (
nsupp_groups
< 0) {
43
PLOG(ERROR) << "getgroups(
nsupp_groups
)";
47
return
nsupp_groups
;
106
size_t
nsupp_groups
= getgroups_with_alloc(&list)
local
[
all
...]
Completed in 1454 milliseconds