Dear Mr. Handa, Before I move to Tomoyo 1.8, I would like to try a last-ditch effort to get Tomoyo 2.2 running on Android since I have already spent considerable time porting Tomoyo tools for Android. I have a few questions concerning problems I have faced getting Tomoyo 2.2 to run on an Android phone. It would be really helpful if you could spare some time on these. Thanks in advance.
1. I have compiled 2.6.32 kernel for android with Tomoyo enabled and activated but the problem is that for some reason Tomoyo Security Filesystem is not getting mounted at /sys/kernel/security/tomoyo . This being the default path for look-up of policy configuration files, certain tomoyo tools e.g. tomoyo-editpolicy fail. I was wondering how I could mount tomoyo security fs successfully at /sys/kernel/security. 2. I have cross-compiled the ncurses library (used by Tomoyo tools) for the Android platform but am unable to evoke Tomoyo tools' Graphical user interface. Is it possible to get a GUI working on adb shell for example? Kind Regards, Bhargava On Thu, Jun 16, 2011 at 3:25 PM, Tetsuo Handa < [email protected]> wrote: > Bhargava Shastry wrote: > > What is the difference between tomoyo 1.x and 2.x that would make > > the former suitable for the android platform? > > Since the latter contains only functionality that has been accepted by > the LSM community, so far not fully functional. > http://tomoyo.sourceforge.jp/comparison.html > > > The only communication between phone and PC is a USB > > connection. With this in mind, how could one deploy the > > ccs-editpolicy-agent to run 1.8 tomoyo on android phone? > > I don't have real devices. Is there no debugger interface on real devices? > I think there is, for "Android USB debug" shows many results. > If you can find a solution that allows communication between PC and real > device > using read/write system call, I can add code to use it. > > > I have attached a tar file (2.6.32-tomoyo.tar.gz) with this email > > containing the above files in the same folder structure. > > OK. You can use > > http://sourceforge.jp/projects/tomoyo/svn/view/branches/ccs-patch-2.6.32-android.diff?root=tomoyo&revision=5131 > and overwrite include/linux/ccsecurity.h in ccs-patch-1.8.1-20110511.tar.gz > with > > http://sourceforge.jp/projects/tomoyo/svn/view/trunk/1.8.x/ccs-patch/include/linux/ccsecurity.h?root=tomoyo&revision=5131 > > _______________________________________________ > 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
