kernel_samsung_a53x/tools/testing
Edward Liaw 6e02f660e2 selftests/kcmp: remove unused open mode
[ Upstream commit eb59a58113717df04b8a8229befd8ab1e5dbf86e ]

Android bionic warns that open modes are ignored if O_CREAT or O_TMPFILE
aren't specified.  The permissions for the file are set above:

	fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);

Link: https://lkml.kernel.org/r/20240429234610.191144-1-edliaw@google.com
Fixes: d97b46a64674 ("syscalls, x86: add __NR_kcmp syscall")
Signed-off-by: Edward Liaw <edliaw@google.com>
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:59 +01:00
..
fault-injection Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ktest ktest: force $buildonly = 1 for 'make_warnings_file' test type 2024-11-19 09:23:15 +01:00
kunit Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kunit_mainline Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvdimm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
radix-tree Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scatterlist Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftests selftests/kcmp: remove unused open mode 2024-11-19 12:26:59 +01:00
vsock Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00