forked from openkylin/platform_build
am 33b190f6: Merge "build: update fs_config calls for capabilities change."
* commit '33b190f6c6653b3c3493c725a96ff340c4466604': build: update fs_config calls for capabilities change.
This commit is contained in:
commit
3346da0a93
|
@ -62,7 +62,8 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -57,7 +57,8 @@ main(int argc, const char *argv[])
|
|||
if (!strcmp(argv[2], "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);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue