Searched refs:scontext (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/bin/coreutils/src/
H A Dmkfifo.c80 security_context_t scontext = NULL; local
98 scontext = optarg;
113 if (scontext && setfscreatecon (scontext) < 0)
116 quote (scontext));
H A Dmkdir.c143 security_context_t scontext = NULL; local
173 scontext = optarg;
188 if (scontext && setfscreatecon (scontext) < 0)
191 quote (scontext));
H A Dmknod.c97 security_context_t scontext = NULL; local
115 scontext = optarg;
166 if (scontext && setfscreatecon (scontext) < 0)
169 quote (scontext));
H A Dinstall.c317 security_context_t scontext = NULL; local
367 if ((matchpathcon (file, st.st_mode, &scontext) != 0) ||
368 STREQ (scontext, "<<none>>"))
370 if (scontext != NULL)
371 freecon (scontext);
375 if (lsetfilecon (file, scontext) < 0 && errno != ENOTSUP)
378 quotearg_colon (file), scontext);
380 freecon (scontext);
440 security_context_t scontext = NULL; local
555 scontext
[all...]
H A Dstat.c499 char *scontext; local
501 ? getfilecon (filename, &scontext)
502 : lgetfilecon (filename, &scontext)) < 0)
506 scontext = NULL;
509 printf (pformat, (scontext ? scontext : "?"));
510 if (scontext)
511 freecon (scontext);
H A Dls.c210 security_context_t scontext; member in struct:fileinfo
2698 if (f->scontext != UNKNOWN_SECURITY_CONTEXT)
2699 freecon (f->scontext);
2855 ? getfilecon (absolute_name, &f->scontext)
2856 : lgetfilecon (absolute_name, &f->scontext));
2860 have_selinux = ! STREQ ("unlabeled", f->scontext);
2863 f->scontext = UNKNOWN_SECURITY_CONTEXT;
2977 int len = strlen (f->scontext);
3719 format_user_or_group (f->scontext, 0, scontext_width);
4067 printf ("%*s ", format == with_commas ? 0 : scontext_width, f->scontext);
[all...]

Completed in 100 milliseconds