159e5b0c | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement setloginclass(2) and getloginclass(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <im
bsd-user: Implement setloginclass(2) and getloginclass(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-25-kariem.taha2.7@gmail.com>
show more ...
|
ae502887 | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement wait4(2) and wait6(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Me
bsd-user: Implement wait4(2) and wait6(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-24-kariem.taha2.7@gmail.com>
show more ...
|
36999e6a | 25-Sep-2023 |
Karim Taha <kariem.taha2.7@gmail.com> |
bsd-user: Implement execve(2) and fexecve(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.h
bsd-user: Implement execve(2) and fexecve(2) system calls.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-23-kariem.taha2.7@gmail.com>
show more ...
|
dcaa3dfd | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement procctl(2) along with necessary conversion functions.
Implement t2h_procctl_cmd, h2t_reaper_status, h2t_reaper_pidinfo and h2t/t2h reaper_kill conversion functions.
Signed-off-b
bsd-user: Implement procctl(2) along with necessary conversion functions.
Implement t2h_procctl_cmd, h2t_reaper_status, h2t_reaper_pidinfo and h2t/t2h reaper_kill conversion functions.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-22-kariem.taha2.7@gmail.com>
show more ...
|
86327290 | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement freebsd_exec_common, used in implementing execve/fexecve.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Lo
bsd-user: Implement freebsd_exec_common, used in implementing execve/fexecve.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-21-kariem.taha2.7@gmail.com>
show more ...
|
84d41c5e | 25-Sep-2023 |
Karim Taha <kariem.taha2.7@gmail.com> |
bsd-user: Implement get_filename_from_fd.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.o
bsd-user: Implement get_filename_from_fd.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-20-kariem.taha2.7@gmail.com>
show more ...
|
ff266372 | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement getpriority(2) and setpriority(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Mes
bsd-user: Implement getpriority(2) and setpriority(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-19-kariem.taha2.7@gmail.com>
show more ...
|
615ad41c | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Add stubs for profil(2), ktrace(2), utrace(2) and ptrace(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderso
bsd-user: Add stubs for profil(2), ktrace(2), utrace(2) and ptrace(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-18-kariem.taha2.7@gmail.com>
show more ...
|
932683c3 | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement get/set[resuid/resgid/sid] and issetugid.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richar
bsd-user: Implement get/set[resuid/resgid/sid] and issetugid.
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-17-kariem.taha2.7@gmail.com>
show more ...
|
e4446e0a | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement several get/set system calls:
getpid(2), getppid(2), getpgrp(2) setreuid(2), setregid(2) getuid(2), geteuid(2), getgid(2), getegid(2), getpgid(2) setuid(2), seteuid(2), setgid(2)
bsd-user: Implement several get/set system calls:
getpid(2), getppid(2), getpgrp(2) setreuid(2), setregid(2) getuid(2), geteuid(2), getgid(2), getegid(2), getpgid(2) setuid(2), seteuid(2), setgid(2), setegid(2), setpgid(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-16-kariem.taha2.7@gmail.com>
show more ...
|
faba8e12 | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement getrlimit(2) and setrlimit(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@
bsd-user: Implement getrlimit(2) and setrlimit(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-15-kariem.taha2.7@gmail.com>
show more ...
|
59e801ef | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement getrusage(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Revi
bsd-user: Implement getrusage(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-14-kariem.taha2.7@gmail.com>
show more ...
|
82fe5f3a | 25-Sep-2023 |
Stacey Son <sson@FreeBSD.org> |
bsd-user: Implement umask(2), setlogin(2) and getlogin(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com>
bsd-user: Implement umask(2), setlogin(2) and getlogin(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-13-kariem.taha2.7@gmail.com>
show more ...
|
f51e7c41 | 19-Aug-2023 |
Warner Losh <imp@bsdimp.com> |
bsd-user: Add missing break after do_bsd_preadv
Without it, we'd call preadv, then write with weird parameters, which is clearly not ideal...
Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by
bsd-user: Add missing break after do_bsd_preadv
Without it, we'd call preadv, then write with weird parameters, which is clearly not ideal...
Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Fixes: 770d8abae7 ("bsd-user/bsd-file.h: Meat of the write system calls") Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230820045419.89691-1-imp@bsdimp.com>
show more ...
|
97a3c571 | 13-Aug-2023 |
Warner Losh <imp@bsdimp.com> |
bsd-user: Add getdents and fcntl related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_getdents getdirentries freebsd11_getdirentries fcntl
Signed-off-by:
bsd-user: Add getdents and fcntl related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_getdents getdirentries freebsd11_getdirentries fcntl
Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|
d7e9a545 | 13-Aug-2023 |
Warner Losh <imp@bsdimp.com> |
bsd-user: Add glue for statfs related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_statfs statfs freebsd11_fstatfs fstatfs freebsd11_getfsstat getfsstat
S
bsd-user: Add glue for statfs related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_statfs statfs freebsd11_fstatfs fstatfs freebsd11_getfsstat getfsstat
Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
show more ...
|
6fe97c6c | 13-Aug-2023 |
Warner Losh <imp@bsdimp.com> |
bsd-user: Add glue for getfh and related syscalls
Add glue to call the following syscalls to the freebsd_syscall:
getfh lgetfh fhopen freebsd11_fhstat freebsd11_fhstatfs fhstat fhstatfs
Signed-off
bsd-user: Add glue for getfh and related syscalls
Add glue to call the following syscalls to the freebsd_syscall:
getfh lgetfh fhopen freebsd11_fhstat freebsd11_fhstatfs fhstat fhstatfs
Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
show more ...
|
e800e6c5 | 13-Aug-2023 |
Warner Losh <imp@bsdimp.com> |
bsd-user: Add glue for the freebsd11_stat syscalls
Add glue to call the freebsd11_stat syscalls to the freebsd_syscall:
freebsd11_stat freebsd11_lstat freebsd11_fstat freebsd11_fstatat freebsd11_ns
bsd-user: Add glue for the freebsd11_stat syscalls
Add glue to call the freebsd11_stat syscalls to the freebsd_syscall:
freebsd11_stat freebsd11_lstat freebsd11_fstat freebsd11_fstatat freebsd11_nstat, freebsd11_nfstat, freebsd11_nlstat fstatat fstat
Signed-off-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|
292bfd0f | 13-Aug-2023 |
Mikaël Urankar <mikael.urankar@gmail.com> |
bsd-user: Implement do_freebsd_realpathat syscall
Signed-off-by: Mikaël Urankar <mikael.urankar@gmail.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richar
bsd-user: Implement do_freebsd_realpathat syscall
Signed-off-by: Mikaël Urankar <mikael.urankar@gmail.com> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|
292f00c0 | 13-Aug-2023 |
Michal Meloun <mmel@FreeBSD.org> |
bsd-user: Implement freebsd11 netbsd stat related syscalls
Forward declaration of the nstat syscalls: nstat nlstat nfstat
Co-authored-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Stacey Son <ss
bsd-user: Implement freebsd11 netbsd stat related syscalls
Forward declaration of the nstat syscalls: nstat nlstat nfstat
Co-authored-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Michal Meloun <mmel@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|
91a98c9b | 13-Aug-2023 |
Michal Meloun <mmel@FreeBSD.org> |
bsd-user: Implement freebsd11 getdirents related syscalls
Implement the freebsd11 variant of the following syscalls: getdirentries(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: St
bsd-user: Implement freebsd11 getdirents related syscalls
Implement the freebsd11 variant of the following syscalls: getdirentries(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Michal Meloun <mmel@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|
196da9d3 | 13-Aug-2023 |
Michal Meloun <mmel@FreeBSD.org> |
bsd-user: Implement freebsd11 statfs related syscalls
Implement the freebsd11 variant of the following syscalls: statfs(2) fstatfs(2) getfsstat(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org> Sign
bsd-user: Implement freebsd11 statfs related syscalls
Implement the freebsd11 variant of the following syscalls: statfs(2) fstatfs(2) getfsstat(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Michal Meloun <mmel@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
show more ...
|