Demand paged executables
John F. Haugh II
jfh at rpp386.Dallas.TX.US
Fri Feb 3 13:38:34 AEST 1989
In article <7599 at chinet.chi.il.us> les at chinet.chi.il.us (Leslie Mikesell) writes:
>Now, if a.outs need this kind of protection (and they do) why isn't
>the same thing done for shell scripts - i.e prevent them from being
>modified while running?
Shell scripts should be protected from modification during execution,
but you weren't dicussing preventing pure-text files from being opened
for writing. There _is_ a need to prevent text prototypes from being
modified. There is not a need to prevent a pure-text file from being
unlinked. The kernel is capable of recovering the disk space when the
last reference [ loaded process ] goes away. Disallowing write
permission on pure-text files should be all that is needed. [ And
disallowing execution of pure-text files which are opened for writing ]
--
John F. Haugh II +--Quote of the Week:------------------
VoiceNet: (214) 250-3311 Data: -6272 | "Get it through your head:
InterNet: jfh at rpp386.Dallas.TX.US | CARS ARE THE ENEMY."
UucpNet : <backbone>!killer!rpp386!jfh +------ -- Bob Fishell ----------
More information about the Comp.unix.wizards
mailing list