Lines Matching +full:free +full:- +full:running
1 // SPDX-License-Identifier: GPL-2.0
4 * video_device_test - Video Device Test
20 * sudo ./video_device_test -d /dev/videoX
22 * While test is running, remove the device or unbind the driver and
23 * ensure there are no use after free errors and other Oops in the
25 * When possible, enable KaSan kernel config option for use-after-free
51 printf("Usage: %s [-d </dev/videoX>]\n", argv[0]); in main()
52 exit(-1); in main()
56 while ((opt = getopt(argc, argv, "d:")) != -1) { in main()
59 strncpy(video_dev, optarg, sizeof(video_dev) - 1); in main()
60 video_dev[sizeof(video_dev)-1] = '\0'; in main()
63 printf("Usage: %s [-d </dev/videoX>]\n", argv[0]); in main()
64 exit(-1); in main()
74 if (fd == -1) { in main()
76 exit(-1); in main()
80 "While test is running, remove the device or unbind\n" in main()
81 "driver and ensure there are no use after free errors\n" in main()
83 "kernel config option for use-after-free error detection.\n\n"); in main()
99 count--; in main()