PERFORCE change 24607 for review

Brian Feldman green at freebsd.org
Mon Feb 3 16:26:25 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=24607

Change 24607 by green at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list