[HEADSUP] Disallowing read() of a directory fd

Julian H. Stacey jhs at berklix.com
Sat May 16 15:18:29 UTC 2020


Another use of "cat ." is to see names of transient files a tool
creates, & normaly deletes, if not aborting, so one can find same
name junk elsewhere, & search for tool causing junk,
& ensure other data files avoid using names that would be zapped.

While blocking "cat ." might be worked round if not in a jail, &
or if using fsdb & sysctl etc, it would add to a more BSD specific
environment, where standard portable Unix skills was insufficient,
& more time needed to search & learn BSD extras.  Every obstacle
costs employers time = money.

Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
http://www.berklix.org/corona/#masks  Tie 2 handkerchiefs or 1 pillow case. 
Jobs & economy hit by Corona to be hit again by Crash Brexit 31st Dec. 2020


More information about the freebsd-arch mailing list