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 15, 2018 at 10:29:41PM +0200, Arnd Bergmann 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
Thanks for the comment. The default implimentation of the other three are ok
for C-SKY. I'll remove them in syscalls.list.
Best Regards
Mao Han