[LTP] (no subject)

路斐 lufei@uniontech.com
Fri Apr 26 11:42:18 CEST 2024


I tried using NULL, but met `TBROK: Test killed by SIGSEGV!`. 


And the last time you mentioned in response to using `supported_archs`, this seems not work properly by now, the ltp document(section of writing_tests) says "not applicable".
 






 路斐 Fei.Lu
平台测试部 高级测试开发工程师
统信软件
企业官网:www.uniontech.com
联系方式:18501012352
办公地址:西安市雁塔区云水一路与天谷八路口软件新城二期C2-20层



  

 
 
 
------------------ Original ------------------
From: "Cyril Hrubis"; 
Date: 2024年4月26日(星期五) 上午8:37
To: "lufei"; 
Cc: "ltp"; 
Subject: Re:

 
Hi!
> Some of your point has been fixed. Some are not:
> 1. I'm using gcc (GCC) 11.4.1 20230605, `addr` without initialization would output some warnings.
> 2. I read the manpage of arch_prctl, the ARCH_GET_CPUID seems return the flag, instead of storing `addr`:
> ```
> ARCH_GET_CPUID (since Linux 4.12)
>               Return the setting of the flag manipulated by ARCH_SET_CPUID as the result of the system call (1  for  enabled,  0  for
>               disabled).  addr is ignored.
> ```

Ah right, if addr is ignored just pass NULL there instead.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list