Skip to content

Commit

Permalink
lib/syscall_shim: Add syscall alias to uk_syscall
Browse files Browse the repository at this point in the history
The symbol is required for binaries that were compiled against a Linux
musl and use musl's system call wrapper.

Signed-off-by: Marco Schlumpp <marco@unikraft.io>
  • Loading branch information
mschlumpp committed Feb 9, 2023
1 parent 4c7352c commit 53a8b41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/syscall_shim/uk_syscall.awk
Expand Up @@ -56,4 +56,5 @@ END {
printf "\tva_end(ap);\n"
printf "\treturn ret;\n"
printf "}\n"
printf "long syscall() __attribute__ ((weak, alias (\"uk_syscall\")));\n"
}

0 comments on commit 53a8b41

Please sign in to comment.