PERFORCE change 40184 for review

Andrew Reisse areisse at FreeBSD.org
Wed Oct 22 19:16:48 GMT 2003


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

Change 40184 by areisse at 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;
 }
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