[PATCH] isofs noexec (2.1.90)

Ragnar Hojland Espinosa (root@lightside.ddns.org)
Sat, 21 Mar 1998 18:54:50 +0100 (MET)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-23344358-890502505=:5800
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.3.96.980321185059.5882C@lightside.ddns.org>

Found quite strange that you had to do a

mount /cdrom -o mode=0444

instead of just like other fs

mount /cdrom -o noexec

This little patch `fixes' it.

____/| Ragnar Hojland (tech.support@redestb.es) Fingerprint 94C4B
\ o.O| 2F0D27DE025BE2302C
=(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822
U chaos and madness await thee at its end." hkp://keys.pgp.com

--8323328-23344358-890502505=:5800
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="isofs_noexec-2.1.90.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.980321185450.5882D@lightside.ddns.org>
Content-Description: isofs_noexec-2.1.90.diff

LS0tIGxpbnV4LTIuMS45MC9mcy9pc29mcy9pbm9kZS5jLk9SSUcJU2F0IE1h
ciAyMSAxODo1MDozNyAxOTk4DQorKysgbGludXgtMi4xLjkwL2ZzL2lzb2Zz
L2lub2RlLmMJU2F0IE1hciAyMSAxODo1Mjo0MSAxOTk4DQpAQCAtODU4LDgg
Kzg1OCwxMSBAQCB2b2lkIGlzb2ZzX3JlYWRfaW5vZGUoc3RydWN0IGlub2Rl
ICogaW5vDQogCQlmb3IoaT0wOyBpPCByYXdfaW5vZGUtPm5hbWVfbGVuWzBd
OyBpKyspDQogCQkJaWYocmF3X2lub2RlLT5uYW1lW2ldPT0nLicgfHwgcmF3
X2lub2RlLT5uYW1lW2ldPT0nOycpDQogCQkJCWJyZWFrOw0KLQkJaWYoaSA9
PSByYXdfaW5vZGUtPm5hbWVfbGVuWzBdIHx8IHJhd19pbm9kZS0+bmFtZVtp
XSA9PSAnOycpDQorCSAgICAgICAgaWYgKElTX05PRVhFQyhpbm9kZSkpIHsN
CisJCQlpbm9kZS0+aV9tb2RlICY9IH5TX0lYVUdPOw0KKwkJfSBlbHNlIGlm
KGkgPT0gcmF3X2lub2RlLT5uYW1lX2xlblswXSB8fCByYXdfaW5vZGUtPm5h
bWVbaV0gPT0gJzsnKSB7DQogCQkJaW5vZGUtPmlfbW9kZSB8PSBTX0lYVUdP
OyAvKiBleGVjdXRlIHBlcm1pc3Npb24gKi8NCisJCX0NCiAJfQ0KIAlpbm9k
ZS0+aV91aWQgPSBpbm9kZS0+aV9zYi0+dS5pc29mc19zYi5zX3VpZDsNCiAJ
aW5vZGUtPmlfZ2lkID0gaW5vZGUtPmlfc2ItPnUuaXNvZnNfc2Iuc19naWQ7
DQo=
--8323328-23344358-890502505=:5800--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu