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

[UNIKRAFT PATCH RFCv4 34/35] lib/posix-user: Export several posix-user interfaces



Without these posix-user interfaces, building nginx on arm64 will
trigger linking failures as follows:

.../ngx_process_cycle.c:828: undefined reference to `geteuid'
.../ngx_process_cycle.c:829: undefined reference to `setgid'
.../ngx_process_cycle.c:836: undefined reference to `initgroups'
.../ngx_process_cycle.c:853: undefined reference to `setuid'
<snip>

Signed-off-by: Jia He <justin.he@xxxxxxx>
---
 lib/posix-user/exportsyms.uk | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/lib/posix-user/exportsyms.uk b/lib/posix-user/exportsyms.uk
index 2acde9d..844061c 100644
--- a/lib/posix-user/exportsyms.uk
+++ b/lib/posix-user/exportsyms.uk
@@ -1,6 +1,16 @@
 getpid
+getppid
+getuid
+geteuid
+getlogin
+getpwnam
+getpwuid
+getgrnam
+setgid
+setuid
+issetugid
 uk_syscall_e_getpid
 uk_syscall_r_getpid
-getppid
 uk_syscall_e_getppid
 uk_syscall_r_getppid
+initgroups
-- 
2.17.1




 


Rackspace

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