summaryrefslogtreecommitdiffstats
path: root/rtemsbsd
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2012-05-02 10:27:59 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-05-02 10:27:59 -0500
commitbe8032d2b61752e7b87e38ca3d09259b165e6bf3 (patch)
treea394e7f3a9c633d8731054c81e71cc5082abcd81 /rtemsbsd
parentAdded rtems_bsd_thread0_ucred as a single global ucred. (diff)
downloadrtems-libbsd-be8032d2b61752e7b87e38ca3d09259b165e6bf3.tar.bz2
Added stubs for funsetown() and fsetown()
Diffstat (limited to 'rtemsbsd')
-rw-r--r--rtemsbsd/src/rtems-bsd-descrip.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/rtemsbsd/src/rtems-bsd-descrip.c b/rtemsbsd/src/rtems-bsd-descrip.c
new file mode 100644
index 00000000..75df534d
--- /dev/null
+++ b/rtemsbsd/src/rtems-bsd-descrip.c
@@ -0,0 +1,51 @@
+/**
+ * @file
+ *
+ * @ingroup rtems_bsd_rtems
+ *
+ * @brief TODO.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
+ * XXX
+ */
+
+#include <freebsd/machine/rtems-bsd-config.h>
+
+#include <freebsd/sys/param.h>
+#include <freebsd/sys/systm.h>
+
+#include <freebsd/sys/conf.h>
+#include <freebsd/sys/domain.h>
+#include <freebsd/sys/fcntl.h>
+#include <freebsd/sys/file.h>
+#include <freebsd/sys/filedesc.h>
+#include <freebsd/sys/filio.h>
+#include <freebsd/sys/jail.h>
+#include <freebsd/sys/kernel.h>
+#include <freebsd/sys/limits.h>
+#include <freebsd/sys/lock.h>
+#include <freebsd/sys/malloc.h>
+#include <freebsd/sys/mount.h>
+#include <freebsd/sys/mutex.h>
+#include <freebsd/sys/namei.h>
+#include <freebsd/sys/priv.h>
+#include <freebsd/sys/proc.h>
+
+/*
+ * This routine is not supported in the RTEMS interface
+ */
+void
+funsetown(struct sigio **sigiop)
+{
+}
+
+/*
+ * This routine is not supported in the RTEMS interface
+ */
+int
+fsetown(pid_t pgid, struct sigio **sigiop)
+{
+ return 0;
+}