Searched refs:preserve_security_context (Results 1 – 5 of 5) sorted by relevance
574 && (x->set_security_context || x->preserve_security_context)) in make_dir_parents_private()842 x->preserve_security_context = false; /* -a or --preserve=context. */ in cp_option_init()938 x->preserve_security_context = on_off; in decode_preserve_arg()953 x->preserve_security_context = on_off; in decode_preserve_arg()1020 x.preserve_security_context = true; in main()1254 x.preserve_security_context = false; in main()1256 if (x.preserve_security_context && (x.set_security_context || scontext)) in main()
207 bool preserve_security_context; member
215 if (selinux_enabled && x->preserve_security_context) in need_copy()295 x->preserve_security_context = false; /* Whether to copy context from src. */ in cp_option_init()882 x.preserve_security_context = true; in main()929 if (x.preserve_security_context && (x.set_security_context || scontext)) in main()
139 x->preserve_security_context = selinux_enabled; in cp_option_init()413 x.preserve_security_context = false; in main()
766 = (x->preserve_security_context || x->set_security_context in copy_attr()1019 if (x->preserve_security_context) in set_process_security_ctx()1299 && (x->set_security_context || x->preserve_security_context)) in copy_reg()2999 if (x->set_security_context || x->preserve_security_context) in copy_internal()3170 if (x->preserve_security_context) in copy_internal()3206 && (x->set_security_context || x->preserve_security_context)) in copy_internal()3350 if (x->preserve_security_context) in copy_internal()