arm64: dose arm64 support the sysfs system call?
Hi,
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
because the __NR_sysfs didn't define in aarch64
Dose anyone know what number the sysfs system call is in aarch64?
Thanks,
Wang
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Wei Xu
Quoted 1 line · wangyufen
Hi,
Hi Yufen,
Quoted 8 lines
Quoted 5 lines
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
because the
__NR_sysfsdidn't define in aarch64Have you been enabled the *CONFIG_COMPAT* in your .config?
*CONFIG_COMPAT* already enabledCONFIG_COMPAT_BRK=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_COMPAT=y
Quoted 3 lines
The
__NR_sysfsis defined atarch/arm64/include/asm/unistd32.handarch/arm64/kernel/sys32.Sis including it.
in arch/arm64/include/asm/unistd32.h defined :__SYSCALL(135, sys_sysfs)
So I used 135 to test sysfs, I straced sysfs01,
the syscall called rt_sigprocmask not sysfs:rt_sigprocmask(SIG_UNBLOCK, [], 0x8, 0) = -1 EINVAL (Invalid argument)
Quoted 24 lines
Hope it will fix your issues.
Best Regards,
WeiQuoted 12 lines
Dose anyone know what number the sysfs system call is in aarch64?
Thanks,
Wang_______________________________________________
linuxarm mailing list
linuxarm at huawei.com
http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm_______________________________________________
linuxarm mailing list
linuxarm at huawei.com
http://rnd-openeuler.huawei.com/mailman/listinfo/linuxarm
Quoted 9 lines · On Friday 21 November 2014 15:27:02 wangyufen wrote:
Hi,
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
because the
__NR_sysfsdidn't define in aarch64Dose anyone know what number the sysfs system call is in aarch64?
It's disabled of course, because we don't support ancient libc implementations. No modern Linux port has this.
Arnd
Quoted 7 lines · Arnd Bergmann
Quoted 6 lines · On Friday 21 November 2014 15:27:02 wangyufen wrote:
Hi,
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
Quoted 10 lines
Quoted 3 lines
because the
__NR_sysfsdidn't define in aarch64Dose anyone know what number the sysfs system call is in aarch64?
It's disabled of course, because we don't support ancient libc implementations. No modern Linux port has this.
Arnd
__NR__lchown32?__NR_lstat?__NR__sysctl?__NR_vserver have similar problems.
Dose aarch64 support those system call?
How I distinguish the ancient libc implementations.
Hi,
2014-12-05 11:07 GMT+09:00 wangyufen <[email protected]>:
Quoted 20 lines · Arnd Bergmann
Quoted 7 lines · On Friday 21 November 2014 15:27:02 wangyufen wrote:
Quoted 6 lines
Hi,
I did ltp test on arm64, the sysfs testcases failed:
sysfs01 0 TWARN : This test can only run on kernels that support the sysfs system call
Quoted 10 lines
Quoted 3 lines
because the
__NR_sysfsdidn't define in aarch64Dose anyone know what number the sysfs system call is in aarch64?
It's disabled of course, because we don't support ancient libc implementations. No modern Linux port has this.
Arnd
Quoted 5 lines
__NR__lchown32?__NR_lstat?__NR__sysctl?__NR_vserver have similar problems.
Dose aarch64 support those system call?
How I distinguish the ancient libc implementations.
You can find the syscalls from include/uapi/asm-generic/unistd.h. Please note below definitions are not defined on aarch64. __ARCH_WANT_SYSCALL_NO_AT__ARCH_WANT_SYSCALL_NO_FLAGS __ARCH_WANT_SYSCALL_DEPRECATED
Best Regards,
Chanho Park