bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 10/16] lib: General Linux RV64 syscall support.


From: W. J. van der Laan
Subject: Re: [PATCH 10/16] lib: General Linux RV64 syscall support.
Date: Tue, 04 May 2021 11:58:47 +0000

On Tuesday, May 4th, 2021 at 1:31 PM, Danny Milosavljevic 
<dannym@scratchpost.org> wrote:

> > Same for the other syscalls I've replaced in this patch. Doing it in some 
> > way is a necessity, unfortunately.
>
> Which kernel version introduced openat() on architectures we want to use? 
> (x86, x86_64, arm, risc-v)

According to the manual page: "openat() was added to Linux in kernel 2.6.16". 
So I guess that is old enough. For other replaced syscalls the introduction may 
be much more recent though! (RISC-V is one of the newest architectures in the 
kernel, after all, so it provides a really recent snapshot.)

I think the decision what kernel to set as minimum depends on whether it is 
valuable to be able to bootstrap on really old kernels on i386. I have no 
insight into this.

-W



reply via email to

[Prev in Thread] Current Thread [Next in Thread]