Hi I was trying to use "smack" MAC in Android kernel. And I wanted to use SMACK64EXEC extended attribute which allows switching to another security context when executing a file.
My problem is that only the linux kernel higher than 2.6.38.8 support SMACK64EXEC extended attribute, but, As we all know, the Goldfish emulator currently runs only on 2.6.29 kernel, and the 3.4 version that currently in Google's git repository is not working, and i don't have a real device. In other words, all i need is a kernel higher than 2.6.38 for my emulator to run on. The project here https://github.com/nanikjava/androidgoldfish/wiki seems solved my problem. But when I tried to compile the code from the project, I failed. Here is my steps: git clone https://github.com/nanikjava/androidgoldfish.git cd androidgoldfish git checkout -b 3.0.1 origin/3.0.1 make ARCH=arm CROSS_COMPILE=/media/829a404d-9c9f-eb47-9830-689b88baab08/source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- goldfish_armv7_defconfig make ARCH=arm CROSS_COMPILE=/media/829a404d-9c9f-eb47-9830-689b88baab08/source/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- -j2 When I started emulator with "emulator -verbose -show-kernel -kernel ./arch/arm/boot/zImage", I failed with information below ...... init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' init: untracked pid 44 exited init: untracked pid 38 exited init: untracked pid 48 exited init: untracked pid 56 exited init: untracked pid 69 exited init: untracked pid 71 exited init: untracked pid 75 exited init: untracked pid 89 exited init: untracked pid 93 exited init: untracked pid 87 exited init: untracked pid 106 exited init: untracked pid 108 exited init: untracked pid 113 exited init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode SysRq : Emergency Remount R/O Emergency Remount complete Restarting system with command 'recovery'. Reboot failed -- System halted Any help would be appreciated!!! -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
