Re: klibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Followup to:  <[email protected]>
By author:    "Joshua Hudson" <[email protected]>
In newsgroup: linux.dev.kernel
>
> I've come to the conclusion that there is no good way to return to the
> initramfs at all
> after init moves to the real root device. What I have found is that the only way
> is for another process to keep a cwd or open file handle on the initramfs which
> plays very badly with killall.
> 
> Anybody got a way to make a user process other than init involunerable
> to kill -9? <g>
> 

Actually, does init close all its file descriptors?  Otherwise you
could simply pass a file descriptor to init when init is executed.

If init explicitly closes file descriptors then that's not possible,
but perhaps that could be fixed in init.

On the other hand, if you killall -9 arbitrary processes as root, then
perhaps getting a dirty filesystem on reboot is ugly but not
catastrophic.

	-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux