Bhargava Shastry wrote:
> I am trying to get Tomoyo 2.2 running on Android kernel 2.6.32 on a real (not
> emulator) Android-based phone. Is Tomoyo 2.2 written to make this feasible?

No. TOMOYO 2.4 would be.

> I compiled the kernel with tomoyo enabled and booted successfully with it.
> The problem though is to compile tomoyo tools for the phone.

Until TOMOYO 2.4 is accepted, you can use TOMOYO 1.8.x instead.
http://tomoyo.sourceforge.jp/1.8/android-arm.html

TOMOYO 1.8.x provides ccs-editpolicy-agent program for manipulating policy on
systems that are difficult to compile/run TOMOYO's management tools. Also,
TOMOYO 1.8.1 provides built-in policy support that allows Android users to
start enforcing mode from the early stage of the boot procedure because it is
difficult to execute userspace policy loader application when /init starts.

If you have difficulty in making ccs-patch-2.6.32-android.diff for your kernel,
please send me a tarball containing below files.

  fs/compat.c
  fs/compat_ioctl.c
  fs/exec.c
  fs/fcntl.c
  fs/ioctl.c
  fs/namei.c
  fs/namespace.c
  fs/open.c
  fs/proc/version.c
  fs/stat.c
  include/linux/init_task.h
  include/linux/sched.h
  include/linux/security.h
  kernel/compat.c
  kernel/fork.c
  kernel/kexec.c
  kernel/module.c
  kernel/ptrace.c
  kernel/sched.c
  kernel/signal.c
  kernel/sys.c
  kernel/sysctl.c
  kernel/time.c
  kernel/time/ntp.c
  net/ipv4/inet_connection_sock.c
  net/ipv4/inet_hashtables.c
  net/ipv4/raw.c
  net/ipv4/udp.c
  net/ipv6/raw.c
  net/ipv6/udp.c
  net/socket.c
  net/unix/af_unix.c
  security/Kconfig
  security/Makefile

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

Reply via email to