Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 11:37:51 -0800 (PST)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42682 for review
Message-ID:  <200311171937.hAHJbpXT043364@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42682

Change 42682 by areisse@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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311171937.hAHJbpXT043364>