Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 17:18:10 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: [HEADSUP] Disallowing read() of a directory fd
Message-ID:  <202005161518.04GFIA0a099390@fire.js.berklix.net>
In-Reply-To: Your message "Fri, 15 May 2020 20:30:08 -0700." <2ea8236f935a4c786a0f4f06ca1d3ea3@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005161518.04GFIA0a099390>