Searched refs:scontext (Results 1 – 7 of 7) sorted by relevance
/busybox-1.35.0/coreutils/libcoreutils/ |
D | getopt_mk_fifo_nod.c | 29 security_context_t scontext; in getopt_mk_fifo_nod() local 32 opt = getopt32(argv, "m:" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext)); in getopt_mk_fifo_nod() 43 setfscreatecon_or_die(scontext); in getopt_mk_fifo_nod()
|
/busybox-1.35.0/coreutils/ |
D | install.c | 76 security_context_t scontext = NULL; in setdefaultfilecon() local 85 if (matchpathcon(path, s.st_mode, &scontext) < 0) { in setdefaultfilecon() 88 if (strcmp(scontext, "<<none>>") == 0) { in setdefaultfilecon() 92 if (lsetfilecon(path, scontext) < 0) { in setdefaultfilecon() 95 " of %s to %s", path, scontext); in setdefaultfilecon() 100 freecon(scontext); in setdefaultfilecon() 122 security_context_t scontext; in install_main() local 152 IF_SELINUX(, &scontext) in install_main() 165 setfscreatecon_or_die(scontext); in install_main()
|
D | mkdir.c | 60 security_context_t scontext; in mkdir_main() local 72 , &smode IF_SELINUX(,&scontext) in mkdir_main() 88 setfscreatecon_or_die(scontext); in mkdir_main()
|
D | stat.c | 261 IF_SELINUX(, security_context_t scontext)) 297 printfs(pformat, scontext); 309 IF_SELINUX(, security_context_t scontext)) 401 printfs(pformat, scontext); 411 …UNC (*print_func)(char*, char, const char*, const void* IF_SELINUX(, security_context_t scontext)), 413 IF_SELINUX(, security_context_t scontext)) 456 print_func(dest, *p, filename, data IF_SELINUX(,scontext)); 478 security_context_t scontext = NULL; in do_statfs() local 482 ? lgetfilecon(filename, &scontext) in do_statfs() 483 : getfilecon(filename, &scontext) in do_statfs() [all …]
|
D | id.c | 159 security_context_t scontext = NULL; in id_main() local 241 if (getcon(&scontext) == 0) in id_main() 242 printf(" context=%s", scontext); in id_main() 257 if (username || getcon(&scontext)) { in id_main() 261 fputs_stdout(scontext); in id_main() 265 freecon(scontext); in id_main()
|
/busybox-1.35.0/libbb/ |
D | selinux_common.c | 34 void FAST_FUNC setfscreatecon_or_die(security_context_t scontext) in setfscreatecon_or_die() argument 36 if (setfscreatecon(scontext) < 0) { in setfscreatecon_or_die() 40 "file creation context to %s", scontext); in setfscreatecon_or_die()
|
/busybox-1.35.0/include/ |
D | libbb.h | 1717 extern void setfscreatecon_or_die(security_context_t scontext) FAST_FUNC;
|