[PATCH v2 6/6] tests: add a test case for the abitrator of ioctl command overwrapping

Dmitry V. Levin ldv at altlinux.org
Sat Mar 12 15:52:11 UTC 2022


On Sat, Mar 12, 2022 at 03:02:09AM +0900, Masatake YAMATO wrote:

> diff --git a/tests/ioctl_overwrap.c b/tests/ioctl_overwrap.c
> new file mode 100644
> index 000000000..bfbaddba4
> --- /dev/null
> +++ b/tests/ioctl_overwrap.c
> @@ -0,0 +1,71 @@
> +/*
> + * Test the code arbitrating the overwrapped IOCTL commands

We are talking about collisions between ioctl commands from different
subsystems.  I don't think the word "overwrapped" has anything to do with
collisions.

[...]
> +	error_msg_and_skip("SNDCTL_TMR_START is not equals to TCSETS", ptm);

is not equal


-- 
ldv


More information about the Strace-devel mailing list