This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH 0/2] AARCH64/ILP32: support stat syscalls


On Friday, September 9, 2016 6:49:57 PM CEST Yury Norov wrote:
> This is another implementation for stat syscalls. I tried to follow all comments.
> It defines custom struct stat to avoid annoying copying, and implements custom
> statfs syscalls to be compatible to lp64. The rest is taken from generic code.
> XSTAT_IS_XSTAT64 and STAT_IS_KERNEL_STAT are enabled to reuse code and bypass
> __xstat_conv().
> 
> First patch is the preparing work and not related to aarch64/ilp32 directly.
> It may be applied separately.
> 
> Notice that kernel ABI is changed, so pull latest version for testing:
> https://github.com/norov/linux/tree/linux-stat
> https://github.com/norov/glibc/tree/glibc-stat

I have a few questions about the implementation in the second patch,
but this is getting close to what I was hoping for. The remaining
questions I had are basically about whether it can be done in a simpler
way.

In short, I was hoping that it would be enough to override bits/stat.h
and otherwise use everything from sysdeps/unix/sysv/linux/generic/wordsize-32/

	Arnd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]