> > There is no "Tomoyo Security Filesystem". > /sys/kernel/security/tomoyo is within "Security Filesystem" which can be > mounted by > > mount -t securityfs none /sys/kernel/security/ > > after > > mount -t sysfs none /sys/ >
Ok. But I see that the initialisation of the tomoyo interface (in function * tomoyo_initerface_init()* defined in file */tomoyo/common.c*) happens even before sysfs is mounted on the device. This means, the function * securityfs_create_dir(tomoyo)* is called when there is no sysfs mounted on the device. That is why, I think, there is no directory called *tomoyo*listed under /sys/kernel/security Since /sys/ will be automatically mounted upon boot and TOMOYO's tools > internally mount /sys/kernel/security/ if not yet mounted, there should be > nothing to worry. > Yes, Tomoyo's tools, tomoyo-init in particular, mount /sys/kernel/security/ if not yet mounted. However, securityfs_create_dir(tomoyo) happens at the time of kernel boot-up which is much before tomoyo-init is called. > Excuse me, tomoyo-editpolicy uses CUI. I don't know how to use GUI from > "adb > shell". Also, I don't know whether the terminal on the Android platform > controlled by the ncurses library is functional enough to use > tomoyo-editpolicy. > > You should consider using tomoyo-editpolicy-agent rather than > tomoyo-editpolicy > because you can communicate with the phone using adb. > http://android-dls.com/wiki/index.php?title=ADB > I guess there is nothing difficult with using tomoyo-editpolicy-agent on > the > phone because tomoyo-editpolicy-agent is a tiny application that > communicates > with tomoyo-editpolicy etc. running on the PC using TCP socket connection. > "adb forward" will take care of forwarding TCP socket connection. > > http://androidforums.com/application-development/12060-adb-forward-error.html > Thank you for the suggestion! I am looking at this but don't have a working set-up to communicate between phone and PC on TCP over USB connection yet. Thanks and Regards, Bhargava > > _______________________________________________ > tomoyo-users-en mailing list > [email protected] > http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en > -- Bhargava Shastry
_______________________________________________ tomoyo-users-en mailing list [email protected] http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en
