Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 12:16:48 -0700 (PDT)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40184 for review
Message-ID:  <200310221916.h9MJGm19013167@repoman.freebsd.org>

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

Change 40184 by areisse@areisse_ibook on 2003/10/22 12:16:39

	currently unimplemented functions return ENOSYS

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/libmac/mac_set.c#2 edit

Differences ...

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

@@ -33,6 +33,7 @@
 
 #include <sys/types.h>
 #include <sys/mac.h>
+#include <sys/errno.h>
 
 extern	int	__mac_set_fd(int fd, struct mac *mac_p);
 extern	int	__mac_set_file(const char *path_p, struct mac *mac_p);
@@ -42,27 +43,23 @@
 int
 mac_set_fd(int fd, struct mac *label)
 {
-
-	return (__mac_set_fd(fd, label));
+	return ENOSYS;
 }
 
 int
 mac_set_file(const char *path, struct mac *label)
 {
-
-	return (__mac_set_file(path, label));
+	return ENOSYS;
 }
 
 int
 mac_set_link(const char *path, struct mac *label)
 {
-
-	return (__mac_set_link(path, label));
+	return ENOSYS;
 }
 
 int
 mac_set_proc(struct mac *label)
 {
-
-	return (__mac_set_proc(label));
+	return ENOSYS;
 }



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