^~
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202312260235.uj5ug8k9-...@intel.com/
Suggested-by: Kees Cook
Signed-off-by: Amer Al Shanawany
---
v1 -> v2: removed empty print statements
v2 -> v3: used Kees's suggestion
---
tools/test
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202312260235.uj5ug8k9-...@intel.com/
Signed-off-by: Amer Al Shanawany
---
Changes v1 -> v2:
removed empty print statements
---
tools/testing/selftests/seccomp/seccomp_benchmark.c | 3 ---
1 file changed, 3 deletio
://lore.kernel.org/r/202404010211.ygidvmwa-...@intel.com/
Signed-off-by: Amer Al Shanawany
---
tools/testing/selftests/proc/proc-empty-vm.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/testing/selftests/proc/proc-empty-vm.c
b/tools/testing/selftests/proc/proc-empty-vm.c
index 56198d4ca2bf
org/oe-kbuild-all/202312260235.uj5ug8k9-...@intel.com/
Signed-off-by: Amer Al Shanawany
---
tools/testing/selftests/seccomp/seccomp_benchmark.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/seccomp/seccomp_benchmark.c
b/tools/testing/selftests/sec
On 5/4/24 19:17, Amer Al Shanawany wrote:
> On 4/19/24 18:41, Muhammad Usama Anjum wrote:
>> On 4/17/24 11:49 PM, Amer Al Shanawany wrote:
>>> Fix the following warnings by adding return check and error messages.
>>>
>>> statmount_test.c: In function ‘cleanup_na
On 4/22/24 15:49, Muhammad Usama Anjum wrote:
> On 4/22/24 6:16 PM, Amer Al Shanawany wrote:
>> fix compiler warning and errors when compiling statmount test.
>>
>> gcc 12.3 (Ubuntu 12.3.0-1ubuntu1~22.04)
>>
>> statmount_test.c:572:24: warning: implicit dec
On 4/19/24 18:41, Muhammad Usama Anjum wrote:
> On 4/17/24 11:49 PM, Amer Al Shanawany wrote:
>> Fix the following warnings by adding return check and error messages.
>>
>> statmount_test.c: In function ‘cleanup_namespace’:
>> statmount_test.c:128:9: warning: ignor
();
| ^~~~
Signed-off-by: Amer Al Shanawany
---
tools/testing/selftests/capabilities/test_execve.c | 12 +---
tools/testing/selftests/capabilities/validate_cap.c | 7 ++-
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/capabilities
forget to ‘#include ’?
17 | #include "../../kselftest.h"
+++ |+#include
Signed-off-by: Amer Al Shanawany
---
V1 -> V2 added compiler warning in the patch message
tools/testing/selftests/filesystems/statmount/statmount_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/
usr/bin/ld: seal_elf.c:(.text+0x82c): undefined reference to
`sys_mprotect'
/usr/bin/ld: seal_elf.c:(.text+0xa4e): undefined reference to
`sys_mprotect'
Signed-off-by: Amer Al Shanawany
---
tools/testing/selftests/mm/seal_elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
On 4/19/24 18:45, Muhammad Usama Anjum wrote:
> On 4/17/24 9:16 PM, Amer Al Shanawany wrote:
>> fix compiler warning and errors when compiling statmount test.
> The error description or the compiler with version is required to reproduce
> the error easily. I'm unable to reprod
);
| ^
statmount_test.c:129:9: warning: ignoring return value of ‘chroot’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
129 | chroot(".");
| ^~~
Signed-off-by: Amer Al Shanawany
---
.../selftests/filesystems
fix compiler warning and errors when compiling statmount test.
Signed-off-by: Amer Al Shanawany
---
tools/testing/selftests/filesystems/statmount/statmount_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/filesystems/statmount/statmount_test.c
b/tools/testing
13 matches
Mail list logo