The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=03f5bd1e462576838e79145379ce314e2e03e4b3
commit 03f5bd1e462576838e79145379ce314e2e03e4b3 Author: Dmitry Chagin <dcha...@freebsd.org> AuthorDate: 2023-10-10 09:20:51 +0000 Commit: Dmitry Chagin <dcha...@freebsd.org> CommitDate: 2023-10-10 09:20:51 +0000 linux(4): Drop the outdated comment, nosys is fine since 39024a89 MFC after: 1 week --- sys/arm64/linux/linux_sysvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index 19dd5866ba50..a850d5e34bc0 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -121,7 +121,7 @@ linux_fetch_syscall_args(struct thread *td) sa->code = td->td_frame->tf_x[8]; sa->original_code = sa->code; - /* LINUXTODO: generic syscall? */ + if (sa->code >= p->p_sysent->sv_size) sa->callp = &nosys_sysent; else