Lines Matching refs:errs
123 errmask_t errs = ERR_OK;
193 errs |= ERR_INVAL;
210 errs |= ERR_INVAL;
221 errs |= ERR_INVAL;
227 errs |= ERR_MISSING;
232 errs |= ERR_MISSING;
237 errs |= ERR_INVAL;
248 errs |= ERR_INVAL;
252 errs |= ERR_INVAL;
257 if (errs & ERR_INVAL) {
259 exit(errs);
271 errs |= c;
276 errs |= ERR_INVAL;
278 errs |= read_rules(file_rules);
281 if (errs) {
282 cleanup(errs);
283 exit(errs);
314 errs |= add_ignore(0, SUFX_RULES);
315 errs |= add_ignore(0, SUFX_BASE);
320 errs |= add_include(bp, argv[ optind++ ]);
326 errs |= evaluate(bp, OPT_SRC, TRUE);
327 errs |= evaluate(bp, OPT_DST, TRUE);
331 errs |= add_restr(rlist[i]);
342 errs |= evaluate(bp, OPT_SRC, FALSE);
343 errs |= evaluate(bp, OPT_DST, FALSE);
348 if (errs & ERR_FATAL) {
349 cleanup(errs);
350 exit(errs);
354 errs |= analyze();
369 errs |= write_baseline(file_base);
370 errs |= write_rules(file_rules);
373 fprintf(stderr, "MISC: EXIT=%s\n", showflags(errmap, errs));
376 if (errs == ERR_RESOLVABLE && !opt_notouch)
377 errs = 0;
381 return (errs);
499 errmask_t errs = 0;
515 errs = check_access(namebuf, &new_rules);
518 if (new_rules && errs == 0) {
522 errs = check_access(namebuf, &new_rules);
525 if (new_rules && errs == 0)
534 errs |= check_access(namebuf, &new_baseline);
557 errs |= ERR_FILES;
562 errs |= ERR_FILES;
568 return (errs);