summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/setgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/setgroups.c')
-rw-r--r--cpukit/libcsupport/src/setgroups.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/setgroups.c b/cpukit/libcsupport/src/setgroups.c
new file mode 100644
index 0000000000..9f75f20acb
--- /dev/null
+++ b/cpukit/libcsupport/src/setgroups.c
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2016 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#include <unistd.h>
+
+int setgroups(int size, const gid_t *list)
+{
+ /* FIXME: Implement this function properly. Currently it only returns a
+ * success. */
+
+ (void) size;
+ (void) list;
+
+ return 0;
+}