Re: [PATCH] selftests: clone3: Use the capget and capset syscall directly

2024-10-15 Thread zhouyuhang
在 2024/10/15 06:38, Shuah Khan 写道: On 10/12/24 02:28, zhouyuhang wrote: On 2024/10/11 22:21, Shuah Khan wrote: On 10/11/24 00:59, zhouyuhang wrote: On 2024/10/10 23:50, Shuah Khan wrote: On 10/10/24 06:16, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make

[PATCH v2] selftests: clone3: Use the capget and capset syscall directly

2024-10-15 Thread zhouyuhang
From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct, it changes the offset of the members in the structure that breaks the assumption made in the "struct libcap

Re: [PATCH] selftests: clone3: Use the capget and capset syscall directly

2024-10-10 Thread zhouyuhang
On 2024/10/10 23:50, Shuah Khan wrote: On 10/10/24 06:16, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct,it changes the offset of the members in the stru

[PATCH] selftests: clone3: Use the capget and capset syscall directly

2024-10-10 Thread zhouyuhang
From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct,it changes the offset of the members in the structure that breaks the assumption made in the "struct libcap

Re: [PATCH v2] selftests: clone3: Use the capget and capset syscall directly

2024-10-16 Thread zhouyuhang
在 2024/10/15 23:31, Shuah Khan 写道: On 10/15/24 04:59, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct, it changes the offset of the members in the structure t

Re: [PATCH v2] selftests: clone3: Use the capget and capset syscall directly

2024-10-17 Thread zhouyuhang
在 2024/10/17 07:10, Shuah Khan 写道: On 10/16/24 03:18, zhouyuhang wrote: 在 2024/10/15 23:31, Shuah Khan 写道: On 10/15/24 04:59, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of

Re: [PATCH] selftests: clone3: Use the capget and capset syscall directly

2024-10-12 Thread zhouyuhang
On 2024/10/11 22:21, Shuah Khan wrote: On 10/11/24 00:59, zhouyuhang wrote: On 2024/10/10 23:50, Shuah Khan wrote: On 10/10/24 06:16, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginn

Re: [PATCH] selftests/mount_setattr: fix idmap_mount_tree_invalid failed to run

2024-10-25 Thread zhouyuhang
在 2024/10/24 22:26, Shuah Khan 写道: On 10/24/24 03:50, zhouyuhang wrote: From: zhouyuhang Test case idmap_mount_tree_invalid failed to run on the newer kernel with the following output:   #  RUN mount_setattr_idmapped.idmap_mount_tree_invalid ...   # mount_setattr_test.c:1428

Re: [PATCH v3] selftests: clone3: Use the capget and capset syscall directly

2024-11-04 Thread zhouyuhang
在 2024/11/1 06:59, Shuah Khan 写道: On 10/29/24 20:50, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct, it changes the offset of the members in the structure t

[PATCH v4] selftests: clone3: Use the capget and capset syscall directly

2024-11-04 Thread zhouyuhang
From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct, it changes the offset of the members in the structure that breaks the assumption made in the "struct libcap

[PATCH v3] selftests: clone3: Use the capget and capset syscall directly

2024-10-29 Thread zhouyuhang
From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct _cap_struct, it changes the offset of the members in the structure that breaks the assumption made in the "struct libcap

[PATCH v2] selftests/mount_setattr: fix idmap_mount_tree_invalid failed to run

2024-10-28 Thread zhouyuhang
From: zhouyuhang Test case idmap_mount_tree_invalid failed to run on the newer kernel with the following output: # RUN mount_setattr_idmapped.idmap_mount_tree_invalid ... # mount_setattr_test.c:1428:idmap_mount_tree_invalid:Expected sys_mount_setattr(open_tree_fd

[PATCH] selftests/mount_setattr: fix idmap_mount_tree_invalid failed to run

2024-10-24 Thread zhouyuhang
From: zhouyuhang Test case idmap_mount_tree_invalid failed to run on the newer kernel with the following output: # RUN mount_setattr_idmapped.idmap_mount_tree_invalid ... # mount_setattr_test.c:1428:idmap_mount_tree_invalid:Expected sys_mount_setattr(open_tree_fd