This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH V2 06/10] C-SKY: Linux Syscall Interface
On Sun, Apr 8, 2018 at 9:02 AM, Mao Han <han_mao@c-sky.com> wrote:
> diff --git a/sysdeps/unix/sysv/linux/csky/syscalls.list b/sysdeps/unix/sysv/linux/csky/syscalls.list
> new file mode 100644
> index 0000000..53cff69
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/csky/syscalls.list
> @@ -0,0 +1,7 @@
> +# File name Caller Syscall name Args Strong name Weak names
> +
> +chown - chown32 i:sii __chown chown
> +cacheflush - cacheflush i:pii _flush_cache cacheflush
> +
> +prlimit64 EXTRA prlimit64 i:iipp prlimit64
> +fanotify_mark EXTRA fanotify_mark i:iiiiis fanotify_mark
I can understand the need for the cacheflush syscall here, but why do you need
to override those other three? Shouldn't the defaults be correct for new
architectures?
Arnd