From: Sergiu Moga Date: Wed, 19 Mar 2025 15:15:00 +0000 (+0200) Subject: lib/posix-process: Register `execve` using non-LL variant X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=21a1a44da1e4e7bcea221175aa6a84a397dce160;p=unikraft%2Funikraft.git lib/posix-process: Register `execve` using non-LL variant Use the non-LL variant of execenv-based syscall registration for execenv so that we will automatically have a corresponding libc wrapper defined. Signed-off-by: Sergiu Moga Approved-by: Michalis Pappas Reviewed-by: Michalis Pappas Reviewed-by: Andrei Tatar GitHub-Closes: #1618 --- diff --git a/lib/posix-process/execve.c b/lib/posix-process/execve.c index 6911b1dca..f04cf20ed 100644 --- a/lib/posix-process/execve.c +++ b/lib/posix-process/execve.c @@ -77,9 +77,9 @@ static int pprocess_cleanup(struct uk_thread *thread __maybe_unused) return 0; } -UK_LLSYSCALL_R_E_DEFINE(int, execve, const char *, pathname, - char *const *, argv, - char *const *, envp) +UK_SYSCALL_R_E_DEFINE(int, execve, const char *, pathname, + char *const *, argv, + char *const *, envp) { struct posix_process_execve_event_data event_data; struct uk_binfmt_loader_args loader_args;