Searched refs:r_opts (Results 1 - 6 of 6) sorted by relevance
/external/selinux/policycoreutils/setfiles/ |
H A D | restore.c | 12 struct restore_opts *r_opts; variable in typeref:struct:restore_opts 18 r_opts = opts; 20 { SELABEL_OPT_VALIDATE, r_opts->selabel_opt_validate }, 21 { SELABEL_OPT_PATH, r_opts->selabel_opt_path }, 22 { SELABEL_OPT_DIGEST, r_opts->selabel_opt_digest } 25 r_opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3); 26 if (!r_opts->hnd) { 27 perror(r_opts->selabel_opt_path); 31 r_opts->restorecon_flags = 0; 32 r_opts [all...] |
H A D | setfiles.c | 21 static struct restore_opts r_opts; variable in typeref:struct:restore_opts 63 if (nerr > ABORT_ON_ERRORS - 1 && !r_opts.debug) { 73 r_opts.progname, arg); 77 r_opts.rootpath = strdup(arg); 78 if (!r_opts.rootpath) { 80 "%s: insufficient memory for r_opts.rootpath\n", 81 r_opts.progname); 153 fprintf(out, "%s: ", r_opts.progname); 177 memset(&r_opts, 0, sizeof(r_opts)); [all...] |
/external/selinux/restorecond/ |
H A D | restore.c | 12 struct restore_opts *r_opts; variable in typeref:struct:restore_opts 18 r_opts = opts; 20 { SELABEL_OPT_VALIDATE, r_opts->selabel_opt_validate }, 21 { SELABEL_OPT_PATH, r_opts->selabel_opt_path }, 22 { SELABEL_OPT_DIGEST, r_opts->selabel_opt_digest } 25 r_opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3); 26 if (!r_opts->hnd) { 27 perror(r_opts->selabel_opt_path); 31 r_opts->restorecon_flags = 0; 32 r_opts [all...] |
H A D | restorecond.c | 71 struct restore_opts r_opts; variable in typeref:struct:restore_opts 84 selabel_close(r_opts.hnd); 151 memset(&r_opts, 0, sizeof(r_opts)); 152 r_opts.ignore_noent = SELINUX_RESTORECON_IGNORE_NOENTRY; 153 r_opts.ignore_digest = SELINUX_RESTORECON_IGNORE_DIGEST; 155 /* As r_opts.selabel_opt_digest = NULL, no digest will be requested. */ 156 restore_init(&r_opts); 181 r_opts.verbose = SELINUX_RESTORECON_VERBOSE;
|
H A D | restorecond.h | 45 extern struct restore_opts r_opts;
|
H A D | watch.c | 67 r_opts.restorecon_flags); 134 r_opts.restorecon_flags);
|
Completed in 133 milliseconds