Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2020 04:11:08 -0400
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [HEADSUP] Disallowing read() of a directory fd
Message-ID:  <CAD2Ti2-GzL2DXfWSyEzBPmDMTSYW_JjiDKTufJtr2p9Vpicuow@mail.gmail.com>
In-Reply-To: <202005161518.04GFIA0a099390@fire.js.berklix.net>
References:  <2ea8236f935a4c786a0f4f06ca1d3ea3@udns.ultimatedns.net> <202005161518.04GFIA0a099390@fire.js.berklix.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

People in fora have been seen doing this, often
after discovering read works after figuring what
command arguments blew up their screen.

> so one can find same
> name junk elsewhere, & search for tool causing junk,

Many might not like managing
 ktrace -ditnp 1
then again unfortunately there may still not be anyone offering
useful kernel module ports that might log all pathname add/use/del,
save its contents somewhere, log all keystrokes in shells, etc.

> & ensure other data files avoid using names that would be zapped.

mkstemp(3)



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