Subject: Re: mmap(), security and /dev/zero
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 06/22/2004 07:29:39
Jonathan Stone <jonathan@dsg.stanford.edu> writes:
> 2. ISTR our ld.elf_so doesn't require /dev/zero. What else (if anything)
> needs /dev/zero? Or /dev/null? Is it feasible to set up a
> chroot directory without any /dev/ entries at all?
I had a build fail recently in a chroot setup because sort(1) requires
/dev/stdin for its handling of "-". This struck me as pretty bogus,
and relatively new (2000) to our universe, although the code dates
from lite2.
- Nathan