[klibc] klibc-0.130: s390, run-init
H. Peter Anvin
hpa at zytor.com
Tue Jun 8 17:30:06 PDT 2004
Olaf Hering wrote:
> On Tue, Jun 08, H. Peter Anvin wrote:
>
>
>>OK, I have just pushed out klibc-0.130; it significantly updates the
>>run-init program (again... PLEASE TEST IN A SAFE ENVIRONMENT) based on, but
>>not identical to, Alexander's suggestions; it also adds s390/x patches from
>>Arnd Bergmann.
>
>
> Hmm, havent looked at the code, but your mails sound like the
> implementation is a bit messy.
> I'm attaching what we ship with suse 9.1. Some corner cases still need fixing.
>
Your code doesn't clear out the initramfs at all (well, it does in the script,
but it leaves a bunch of stuff in place); other than that, it does very little
more: it does a bunch of safety checks to make sure it doesn't wipe a reap
filesysttem, and it does the console redirection mainly so that all fds get
opened O_RDWR.
By moving the filesystem wiping into run-init we can delete everything,
including run-init itself.
-hpa
More information about the klibc
mailing list