Home
last modified time | relevance | path

Searched refs:stack_path (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libselinux/utils/
Dsefcontext_compile.c300 char stack_path[PATH_MAX + 1]; in main() local
402 rc = snprintf(stack_path, sizeof(stack_path), "%s", out_file); in main()
404 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path); in main()
406 if (rc < 0 || rc >= (int)sizeof(stack_path)) { in main()
411 tmp = malloc(strlen(stack_path) + 7); in main()
417 rc = sprintf(tmp, "%sXXXXXX", stack_path); in main()
441 rc = rename(tmp, stack_path); in main()
443 fprintf(stderr, "%s: rename %s -> %s failed: %s\n", argv[0], tmp, stack_path, strerror(errno)); in main()
/external/selinux/libselinux/src/
Dlabel_file.c464 char stack_path[len]; in open_file() local
476 rc = snprintf(stack_path, sizeof(stack_path), "%s", path); in open_file()
477 if (rc >= (int) sizeof(stack_path)) { in open_file()
485 path = rolling_append(stack_path, fdetails[i].suffix, in open_file()
486 sizeof(stack_path)); in open_file()