[LTP] [PATCH] runtest/fs: Don't read files in /dev indiscriminately
Mon May 14 10:53:24 CEST 2018
> > It would be better to replace indiscriminate reading of /dev files
> > with tests targeting specific files in /dev which have defined known
> > behaviour, e.g., /dev/null, /dev/urandom, etc.
> > In the meanwhile, drop the indiscriminate reading of files in /dev.
> Another solution might be to add an option which drops privileges before
> running the test on /dev. An unprivileged user should not have access to files
> like /dev/port, but will for /dev/null and /dev/urandom.
That sounds like a better solution to me, can we get that in before the
More information about the ltp