Searched refs:stack_path (Results 1 - 4 of 4) sorted by relevance

/external/libselinux/utils/
H A Dsefcontext_compile.c280 char stack_path[PATH_MAX + 1]; local
344 rc = snprintf(stack_path, sizeof(stack_path), "%s", out_file);
346 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path);
348 if (rc < 0 || rc >= (int)sizeof(stack_path))
351 tmp = malloc(strlen(stack_path) + 7);
355 rc = sprintf(tmp, "%sXXXXXX", stack_path);
373 rc = rename(tmp, stack_path);
/external/selinux/libselinux/utils/
H A Dsefcontext_compile.c300 char stack_path[PATH_MAX + 1]; local
391 rc = snprintf(stack_path, sizeof(stack_path), "%s", out_file);
393 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path);
395 if (rc < 0 || rc >= (int)sizeof(stack_path))
398 tmp = malloc(strlen(stack_path) + 7);
402 rc = sprintf(tmp, "%sXXXXXX", stack_path);
420 rc = rename(tmp, stack_path);
/external/libselinux/src/
H A Dlabel_file.c422 char stack_path[PATH_MAX + 1]; local
428 rc = snprintf(stack_path, sizeof(stack_path),
430 if (rc >= (int)sizeof(stack_path)) {
434 path = stack_path;
/external/selinux/libselinux/src/
H A Dlabel_file.c429 char stack_path[PATH_MAX + 1]; local
435 rc = snprintf(stack_path, sizeof(stack_path),
437 if (rc >= (int)sizeof(stack_path)) {
441 path = stack_path;

Completed in 35 milliseconds