Le 30/10/2018 à 13:55, Aleksandar Markovic a écrit :
> From: Aleksandar Rikalo <arik...@wavecomp.com>
> 
> Implement support for translation of system call statx(). The
> implementation includes invoking other (more mature) syscalls
> (from the same 'stat' family) on the host side. This way,
> problems of availability of statx() on the host side are
> avoided.
> 
> On some systems with __NR_statx defined, there are some difficulties
> defining variables using "struct statx", so definitions with "struct
> target_statx" is used, and this works in all cases.

Could you give more details?

This is not consistent to use the target_struct type with the host
variable, even if the struct is the same on host and target.

The size of the field can be the same, but the alignment can differ
according to the system ABI.

Thanks,
Laurent

Reply via email to