MCPcopy Create free account
hub / github.com/containers/bubblewrap / label_create_file

Function label_create_file

utils.c:921–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921int
922label_create_file (UNUSED const char *file_label)
923{
924#ifdef HAVE_SELINUX
925 if (is_selinux_enabled () > 0 && file_label)
926 return setfscreatecon (file_label);
927#endif
928 return 0;
929}
930
931int
932label_exec (UNUSED const char *exec_label)

Callers 1

parse_args_recurseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected