[PATCH] tests: tee: remove usage of flags TEE_IOCTL_SHM_{MAPPED, DMA_BUF}
Eugene Syromyatnikov
evgsyr at gmail.com
Sun Jun 12 18:09:46 UTC 2022
On Wed, Jun 08, 2022 at 05:30:31PM -0500, Andrew Davis wrote:
> These were not valid and have been removed in kernel d8fc1c7c4c9b7
> (for 5.19). Remove usage of these flags.
>
> Signed-off-by: Andrew Davis <afd at ti.com>
Thank you for the patch. Unfortunately, the test fails still fails,
with the following diagnostics:
--- exp 2022-06-12 17:43:11.114593756 +0000
+++ out 2022-06-12 17:43:11.118593804 +0000
@@ -11,9 +11,9 @@
ioctl(-1, _IOC(_IOC_NONE, 0xa4, 0xa, 0), 0) = -1 EBADF (Bad file descriptor)
ioctl(-1, TEE_IOC_CANCEL, {cancel_id=3735928559, session=0xbadc0ded}) = -1 EBADF (Bad file descriptor)
ioctl(-1, TEE_IOC_CLOSE_SESSION, {session=0xeef0beef}) = -1 EBADF (Bad file descriptor)
-ioctl(-1, TEE_IOC_SHM_ALLOC, {size=0xdeadbeef, flags=0x80}) = -1 EBADF (Bad file descriptor)
-ioctl(-1, TEE_IOC_SHM_REGISTER, {addr=0xeef0beef, length=0xcafef00d, flags=0x80}) = -1 EBADF (Bad file descriptor)
-ioctl(-1, _IOC(_IOC_READ|_IOC_WRITE, 0xa4, 0x8, 0x20), {fd=3}) = -1 EBADF (Bad file descriptor)
+ioctl(-1, TEE_IOC_SHM_ALLOC, {size=0xdeadbeef, flags=0x80 /* TEE_IOCTL_SHM_??? */}) = -1 EBADF (Bad file descriptor)
+ioctl(-1, TEE_IOC_SHM_REGISTER, {addr=0xeef0beef, length=0xcafef00d, flags=0x80 /* TEE_IOCTL_SHM_??? */}) = -1 EBADF (Bad file descriptor)
+ioctl(-1, _IOC(_IOC_READ|_IOC_WRITE, 0xa4, 0x8, 0x20), {fd=3, flags=0}) = -1 EBADF (Bad file descriptor)
ioctl(-1, TEE_IOC_INVOKE, {buf_len=3134983661, buf_ptr=0xdeadbeef}) = -1 EBADF (Bad file descriptor)
ioctl(-1, TEE_IOC_OPEN_SESSION, {buf_len=3134983661, buf_ptr=0xdeadbeef}) = -1 EBADF (Bad file descriptor)
ioctl(-1, TEE_IOC_SUPPL_RECV, {buf_len=3134983661, buf_ptr=0xdeadbeef}) = -1 EBADF (Bad file descriptor)
+ fail_ ../../src/strace -a16 -eioctl ../ioctl_tee output mismatch
+ warn_ ioctl_tee.gen.test: failed test: ../../src/strace -a16 -eioctl ../ioctl_tee output mismatch
+ printf %s\n ioctl_tee.gen.test: failed test: ../../src/strace -a16 -eioctl ../ioctl_tee output mismatch
ioctl_tee.gen.test: failed test: ../../src/strace -a16 -eioctl ../ioctl_tee output mismatch
+ exit 1
FAIL ioctl_tee.gen.test (exit status: 1)
More information about the Strace-devel
mailing list