[LTP] [PATCH v4 5/6] syscalls/quotactl09: Test error when quota info hidden in filesystem
Cyril Hrubis
chrubis@suse.cz
Wed Jan 12 09:31:13 CET 2022
Hi!
> > Ah, that's what I have missed. But still, what happen if we pass fd to a
> > regular file to the quotactl_fd()? Shouldn't we test that case too?
> Good suggestion.
> Yes, AFAIK, the fd point to superblock, every subcmd will check quota
> feature bit or whether enable but return different errno.
>
> I will test Q_QUOTAON with regular file fd because it is the most
> meaningful.
And we can always try to pass a fd pointing to a socket, that shouldn't
be associated with any block device at all.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list