Re: Dumping /dev/zero to the console

Matthias Urlichs (smurf@smurf.noris.de)
Mon, 22 Jul 1996 12:22:55 +0100


In linux.dev.kernel, article <199607191936.NAA28960@chopper.poohsticks.=
org>,
Drew Eckhardt <drew@poohsticks.org> writes:
> In message <199607182022.PAA10655@nixnet.qrp.com>, Nathan.Lewis@nixne=
t.qrp.com=20
> >Is there any reason /dev/zero should be readable by normal users,=20
>=20
> It is needed to map-in zero filled pages for the dynamic linker.

That was before God invented MAP_ANONYMOUS.

> Unless everything on your system is statically linked, changing=20
> its permissions would be a _very_ bad idea.

Assuming that you haven't updated your ld-linux.so recently.

--=20
Guard the Mysteries - constantly reveal them
--=20
Matthias Urlichs \ noris network GmbH / Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12 \ Linux+Internet / EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany) \ Consulting+Programming+Networking+etc=
'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 D=
E
Click <A HREF=3D"http://info.noris.de/~smurf/finger">here</A>. =
42