[email protected] wrote:
> It turn out that i created a symlink in init.rc this is why /sbin/ccs-init
> cannot be executed as init.rc is not started yet. I have removed the symlink
> and created a folder /lib and dmesg found "Mandatory Access Control 
> activated."

Thank you for reporting. I added description on why we have to copy
/system/bin/loader /lib/libc.so /lib/libm.so instead of creating symlinks to
these files.

--- tags/htdocs/1.7/android-arm.html.en
+++ tags/htdocs/1.7/android-arm.html.en
@@ -153,7 +153,7 @@
 
 <h2>Step 10: Pull files needed for policy loader.</h2>
 
-<p>Copy files needed by /sbin/ccs-init . If you compiled ccs-init as 
statically linked program at step 7, step 10 is not needed.</p>
+<p>Copy files needed by /sbin/ccs-init . On Android environment, 
/system/bin/loader is used for loading dynamically linked library files. But 
/system/ partition is not yet mounted when /sbin/ccs-init is executed. 
Therefore, you need to copy /bin/loader in the /system/ partition to 
/system/bin/ directory in the ramdisk's image. Likewise, you need to copy 
/lib/libc.so and /lib/libm.so in the /system/ partition to /lib/ directory in 
the ramdisk's image.</p>
 
 <table border="1">
 <tr><td>

_______________________________________________
tomoyo-users-en mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en

Reply via email to