Re: [LTP] [PATCH v2 7/7] Add ioctl_ficlone04 test

Cyril Hrubis
2024-07-24T15:43:22Z

Hi!
> + switch (fd_src->type) {
> + case TST_FD_DEV_ZERO:
> + case TST_FD_PROC_MAPS:
> + case TST_FD_PIPE_READ:
> + case TST_FD_PIPE_WRITE:
> + case TST_FD_UNIX_SOCK:
> + case TST_FD_INET_SOCK:
> + case TST_FD_EPOLL:
> + case TST_FD_EVENTFD:
> + case TST_FD_SIGNALFD:
> + case TST_FD_TIMERFD:
> + case TST_FD_PIDFD:
> + case TST_FD_FANOTIFY:
> + case TST_FD_INOTIFY:
> + case TST_FD_USERFAULTFD:
> + case TST_FD_PERF_EVENT:
> + case TST_FD_IO_URING:
> + case TST_FD_BPF_MAP:
> + case TST_FD_FSOPEN:
> + case TST_FD_FSPICK:
> + case TST_FD_OPEN_TREE:
> + case TST_FD_MEMFD:
> + case TST_FD_MEMFD_SECRET:
> + return;
> + default:
> + break;
> + }

Why do we skip all these cases?

--
Cyril Hrubis
chrubis@suse.cz