[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LIBGO PATCH] Remove stubs causing duplicated symbols errors
Hi Simon, looks good, thanks. -- Felipe Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx> On 07.02.20, 15:37, "Minios-devel on behalf of Simon Kuenzer" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of simon.kuenzer@xxxxxxxxx> wrote: Recent Unikraft and libc provide symbols for those stubs. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- glue.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/glue.c b/glue.c index 44d2e08..114fa7d 100644 --- a/glue.c +++ b/glue.c @@ -72,16 +72,6 @@ int mincore(void *addr __unused, size_t length __unused, unsigned char *vec __un return 0; } -int prctl(int option __unused, unsigned long arg2 __unused, unsigned long arg3 __unused, unsigned long arg4 __unused, unsigned long arg5 __unused) -{ - return 0; -} - -int pthread_sigmask(int how __unused, const sigset_t *set __unused, sigset_t *oldset __unused) -{ - return 0; -} - long ptrace(void) { return 0; @@ -97,11 +87,6 @@ int sched_getaffinity(void) return 0; } -int setitimer(int which __unused, const struct itimerval *new_value __unused, struct itimerval *old_value __unused) -{ - return 0; -} - int settimeofday(const struct timeval *tv __unused, const struct timezone *tz __unused) { return 0; @@ -113,11 +98,6 @@ int sigaddset(sigset_t *set __unused, int signum __unused) return 0; } -int sigaltstack(const stack_t *ss __unused, stack_t *old_ss __unused) -{ - return 0; -} - #undef sigdelset int sigdelset(sigset_t *set __unused, int signum __unused) { @@ -136,11 +116,6 @@ int sigfillset(sigset_t *set __unused) return 0; } -long syscall(long number __unused, ...) -{ - return 0; -} - ssize_t sendfile64(int out_fd __unused, int in_fd __unused, off_t *offset __unused, size_t count __unused) { return 1; @@ -151,21 +126,12 @@ int getgrouplist(const char *user __unused, gid_t group __unused, gid_t *groups return 0; } -int getgrnam_r(const char *name __unused, struct group *grp __unused, - char *buf __unused, size_t buflen __unused, struct group **result __unused) -{ - return 0; -} int getgrgid_r(gid_t gid __unused, struct group *grp __unused, char *buf __unused, size_t buflen __unused, struct group **result __unused) { return 0; } -void uk_syscall_fn___NR_clone(void) -{ -} - /* * Glue code */ @@ -200,4 +166,3 @@ size_t get_stack_size(void) { return __STACK_SIZE; } - -- 2.20.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |