PERFORCE change 42682 for review

Andrew Reisse areisse at FreeBSD.org
Mon Nov 17 19:37:51 GMT 2003


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

Change 42682 by areisse at areisse_ibook on 2003/11/17 11:37:01

	mac_set_proc syscall wrapper
	made default label list 'static' to avoid linker problems

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/libmac/mac.c#3 edit
.. //depot/projects/trustedbsd/sedarwin/libmac/mac_set.c#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/libmac/mac.c#3 (text+ko) ====

@@ -54,7 +54,7 @@
  *
  * XXXMAC: Not thread-safe.
  */
-LIST_HEAD(, label_default) label_default_head;
+static LIST_HEAD(, label_default) label_default_head;
 struct label_default {
 	char				*ld_name;
 	char				*ld_labels;

==== //depot/projects/trustedbsd/sedarwin/libmac/mac_set.c#4 (text+ko) ====

@@ -61,5 +61,5 @@
 int
 mac_set_proc(struct mac *label)
 {
-	return ENOSYS;
+  return syscall (341, label);
 }
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