sysdeps/squiid: Enable SQ_SYS_{clone,execve}
syscalls
Some checks failed
Continuous Integration / Build mlibc (riscv64, mlibc-ansi-only) (push) Has been cancelled
Check for ABI breaks / Compare ABIs (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-ansi-only) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-static) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-static) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-ansi-only) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-static) (push) Has been cancelled
Continuous Integration / Compile sysdeps (aero) (push) Has been cancelled
Continuous Integration / Compile sysdeps (dripos) (push) Has been cancelled
Continuous Integration / Compile sysdeps (ironclad) (push) Has been cancelled
Continuous Integration / Compile sysdeps (lemon) (push) Has been cancelled
Continuous Integration / Compile sysdeps (squiid) (push) Has been cancelled
Continuous Integration / Compile sysdeps (vinix) (push) Has been cancelled
Some checks failed
Continuous Integration / Build mlibc (riscv64, mlibc-ansi-only) (push) Has been cancelled
Check for ABI breaks / Compare ABIs (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-ansi-only) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (aarch64, mlibc-static) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (riscv64, mlibc-static) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-ansi-only) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-headers-only) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-shared) (push) Has been cancelled
Continuous Integration / Build mlibc (x86_64, mlibc-static) (push) Has been cancelled
Continuous Integration / Compile sysdeps (aero) (push) Has been cancelled
Continuous Integration / Compile sysdeps (dripos) (push) Has been cancelled
Continuous Integration / Compile sysdeps (ironclad) (push) Has been cancelled
Continuous Integration / Compile sysdeps (lemon) (push) Has been cancelled
Continuous Integration / Compile sysdeps (squiid) (push) Has been cancelled
Continuous Integration / Compile sysdeps (vinix) (push) Has been cancelled
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
parent
c400fb7da5
commit
f3cd570240
|
@ -131,12 +131,12 @@ int sys_fcntl(int fd, int request, va_list args, int *result) {
|
|||
return -ENOSYS;
|
||||
}
|
||||
|
||||
int sys_kill(int pid, int signal){
|
||||
int sys_kill(int pid, int signal) {
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
int sys_fork(pid_t *child) {
|
||||
int ret = -ENOSYS; // __sq_syscall1(SQ_SYS_clone, 0);
|
||||
int ret = __sq_syscall1(SQ_SYS_clone, 0);
|
||||
|
||||
if (ret < 0) {
|
||||
return -ret;
|
||||
|
@ -147,7 +147,7 @@ int sys_fork(pid_t *child) {
|
|||
}
|
||||
|
||||
int sys_execve(const char *path, char *const argv[], char *const envp[]) {
|
||||
return -ENOSYS; // __sq_syscall3(SQ_SYS_execve, (__sq_u64)path, (__sq_u64)argv, (__sq_u64)envp);
|
||||
return __sq_syscall3(SQ_SYS_execve, (__u64)path, (__u64)argv, (__u64)envp);
|
||||
}
|
||||
|
||||
void sys_exit(int code) {
|
||||
|
|
Loading…
Reference in a new issue