The security policy of the KylinOS needs to automatically assign extended attributes to newly created temporary files. At present, the number of extended attributes in the system is quite large, and the size of the cache area for obtaining extended attributes in the flistxattr01 test case is limited. If we continue to add extended attributes, the list of extended attributes will exceed 64 bytes, and an error will be reported (ERANGE) like this:
kylin@kylin-XYABC:/opt/ltp/testcases/bin$ sudo ./flistxattr01 tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s flistxattr01.c:63: FAIL: flistxattr() failed: ERANGE (34)
Summary:
passed 0
failed 1
skipped 0
warnings 0
Considering these extended properties of our OS is necessary,so we recommend fixing this to pass the test
The security policy of the KylinOS needs to automatically assign extended attributes to newly created temporary files. At present, the number of extended attributes in the system is quite large, and the size of the cache area for obtaining extended attributes in the flistxattr01 test case is limited. If we continue to add extended attributes, the list of extended attributes will exceed 64 bytes, and an error will be reported (ERANGE) like this:
kylin@kylin-XYABC:/opt/ltp/testcases/bin$ sudo ./flistxattr01 tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s flistxattr01.c:63: FAIL: flistxattr() failed: ERANGE (34)
Summary: passed 0 failed 1 skipped 0 warnings 0
Considering these extended properties of our OS is necessary,so we recommend fixing this to pass the test
Signed-off-by: Frank He hexiaoxiao@kylinos.cn
[ type description here; PLEASE REMOVE THIS LINE AND THE LINES BELOW BEFORE SUBMITTING THIS PULL REQUEST ]