On Mon, 8 Oct 2007, Julien Valroff wrote:

>
> Le lundi 08 octobre 2007 à 08:45 +1000, Tim Connors a écrit :
> [...]
> > Also, there is no documentation as to what a "suspicious file" in /dev
> > entails.
>
> The do_dev_whitelist_check() function seems quite clear on what a
> suspcious file is:
> FNAME=`${FILE_CMD} ${RKHTMPVAR} | cat -v | tr ' ' ' ' | tr -s ' ' | egrep -v 
> ' (character special|block special|socket|fifo \(named pipe\)|symbolic link 
> to|empty|directory|MAKEDEV)'`
>
> in clear: a suspicious file is everything that is not standard/common in /dev

Hmmm, should still have the ability to whitelist entire directories in
that case (I suspect a /dev/shm/* wildcard already does this though),
since /dev/shm is, as far as I am aware, a perfectly legal place to put
any old temporary files -- a gauranteed place where the data will not
waste space residing on a physical partition (as opposed to /tmp, which
may or may not be a tmpfs).

> If this is ok for you, I will close this bug report - please confirm

I was hoping for more documentatation without having to RTFS.

-- 
TimC
Probably best see a real doctor and not take too much diagnostic advice
from a bunch of sysadmins who consider the body a meat computer that
needs debugging.   -- Anthony de Boer on possible nerve damage in ASR

Reply via email to