[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LIBUKUNISTD] Add stub for issetugid



This function is used in libnewlibc posix/glob.c

Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
---
 lib/ukunistd/exportsyms.uk | 1 +
 lib/ukunistd/user.c        | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/lib/ukunistd/exportsyms.uk b/lib/ukunistd/exportsyms.uk
index e463e3af..5a7a0a59 100644
--- a/lib/ukunistd/exportsyms.uk
+++ b/lib/ukunistd/exportsyms.uk
@@ -19,6 +19,7 @@ getgroups
 getresgid
 setegid
 setgid
+issetugid
 setregid
 setgroups
 initgroups
diff --git a/lib/ukunistd/user.c b/lib/ukunistd/user.c
index 9d39aed8..428cfcf9 100644
--- a/lib/ukunistd/user.c
+++ b/lib/ukunistd/user.c
@@ -180,6 +180,11 @@ int setgid(gid_t gid __unused)
        return 0;
 }
 
+int issetugid(void)
+{
+       return 0;
+}
+
 gid_t getegid(void)
 {
        return 0;
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.