Messages in this thread | | | Date | Sun, 02 Mar 2008 16:53:30 +0100 | From | Filippo Zangheri <> | Subject | Re: [PATCH] chroot= as a new kernel parameter |
| |
Pawel Plociennik ha scritto: > hi *real* hackers, (...)
> diff -urp linux-2.6.24-orig/Documentation/kernel-parameters.txt linux-2.6.24/Documentation/kernel-parameters.txt > --- linux-2.6.24-orig/Documentation/kernel-parameters.txt 2008-02-25 20:53:26.000000000 -0500 > +++ linux-2.6.24/Documentation/kernel-parameters.txt 2008-02-25 20:51:21.000000000 -0500 > @@ -381,6 +381,8 @@ and is between 256 and 4096 characters. > Value can be changed at runtime via > /selinux/checkreqprot. > > + chroot= [KNL] call chroot() for init proccess.
Isn't the called function 'sys_chroot()'?
(...) > + if(sys_chroot(chroot_str) < 0) > + printk("chroot=%s failed\n", chroot_str);
Thanks.
-- Filippo Zangheri
GPG key ID: 0xE1D879FA Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA Key server: pgp.mit.edu
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M-- V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h-- r++ z* ------END GEEK CODE BLOCK------
| |