Home
last modified time | relevance | path

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

/coreutils/src/
Dchcon.c142 char *file_context = nullptr; in change_file_context() local
150 ? getfileconat (fd, file, &file_context) in change_file_context()
151 : lgetfileconat (fd, file, &file_context)); in change_file_context()
163 if (file_context == nullptr) in change_file_context()
170 if (compute_context_from_mask (file_context, &context)) in change_file_context()
180 if (file_context == nullptr || ! STREQ (context_string, file_context)) in change_file_context()
197 freecon (file_context); in change_file_context()
Druncon.c112 char *file_context = nullptr; in main() local
213 if (getfilecon (argv[optind], &file_context) == -1) in main()
218 if (security_compute_create (cur_context, file_context, in main()
223 freecon (file_context); in main()