* commit '3346da0a93f60a7039581e48182be347dcceabec': build: update fs_config calls for capabilities change.
This commit is contained in:
commit
4da8048647
2 changed files with 4 additions and 2 deletions
|
@ -62,7 +62,8 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned uid = 0, gid = 0, mode = 0;
|
unsigned uid = 0, gid = 0, mode = 0;
|
||||||
fs_config(buffer, is_dir, &uid, &gid, &mode);
|
uint64_t capabilities;
|
||||||
|
fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities);
|
||||||
printf("%s %d %d %o\n", buffer, uid, gid, mode);
|
printf("%s %d %d %o\n", buffer, uid, gid, mode);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -57,7 +57,8 @@ main(int argc, const char *argv[])
|
||||||
if (!strcmp(argv[2], "1"))
|
if (!strcmp(argv[2], "1"))
|
||||||
is_dir = 1;
|
is_dir = 1;
|
||||||
|
|
||||||
fs_config(argv[3], is_dir, &uid, &gid, &perms);
|
uint64_t capabilities;
|
||||||
|
fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities);
|
||||||
fprintf(stdout, "%d %d 0%o\n", uid, gid, perms);
|
fprintf(stdout, "%d %d 0%o\n", uid, gid, perms);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue