Date: Mon, 3 Feb 2003 08:26:25 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 24607 for review Message-ID: <200302031626.h13GQPJX056458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=24607 Change 24607 by green@green_laptop_2 on 2003/02/03 08:26:05 8 spaces -> tabs Affected files ... .. //depot/projects/trustedbsd/sebsd/usr.sbin/cron/cron/database.c#3 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/usr.sbin/cron/cron/database.c#3 (text+ko) ==== @@ -271,19 +271,19 @@ if (mac_prepare(&filelabel, "sebsd") != 0) { log_it(fname, getpid(), "failure getting SEBSD context for tab", tabname); - goto next_crontab; - } + goto next_crontab; + } if (mac_get_fd(crontab_fd, filelabel) != 0) { log_it(fname, getpid(), "failure getting SEBSD context for tab", tabname); mac_free(filelabel); - goto next_crontab; - } + goto next_crontab; + } if (mac_to_text(filelabel, &file_context) != 0) { log_it(fname, getpid(), "failure getting SEBSD context for tab", tabname); mac_free(filelabel); - goto next_crontab; + goto next_crontab; } mac_free(filelabel); if (get_default_context(strcmp(fname, "*system*") == 0 ? @@ -291,20 +291,20 @@ log_it(fname, getpid(), "failure getting default SEBSD context", tabname); free(file_context); - goto next_crontab; - } - q.scontext = context; - q.tcontext = file_context + sizeof("sebsd/") - 1; - q.tclass = SECCLASS_FILE; - q.requested = FILE__ENTRYPOINT; - error = security_compute_av(&q, &r); + goto next_crontab; + } + q.scontext = context; + q.tcontext = file_context + sizeof("sebsd/") - 1; + q.tclass = SECCLASS_FILE; + q.requested = FILE__ENTRYPOINT; + error = security_compute_av(&q, &r); free(file_context); free(context); - if (error || ((q.requested & r.allowed) != q.requested)) { - log_it(fname, getpid(), "SEBSD entrypoint failed", + if (error || ((q.requested & r.allowed) != q.requested)) { + log_it(fname, getpid(), "SEBSD entrypoint failed", tabname); - goto next_crontab; - } + goto next_crontab; + } } u = load_user(crontab_fd, pw, fname); if (u != NULL) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302031626.h13GQPJX056458>