Thank you Stephen, I've just "git remote update" and "git fetch" my code. 
But I still got no goldfish_armv7_defconfig. Could you please provide me 
your way to compile and run the android-goldfish-3.4 kernel?

On Wednesday, March 20, 2013 1:29:56 AM UTC+8, Stephen Smalley wrote:
>
> On 03/19/2013 05:52 AM, dywis...@gmail.com <javascript:> wrote:
> > 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. 
>
> AOSP kernel/goldfish android-goldfish-3.4 is working for me now (they 
> have recently merged many changes that made it functional).  On top of 
> that you need some further changes if you want file security labeling to 
> fully work on yaffs2 (it already has xattr support but won't label new 
> files automatically otherwise).  That change is here: 
> https://android-review.googlesource.com/#/c/53721/ 
>
> Have you considered using SELinux instead?  See 
> http://selinuxproject.org/page/SEAndroid 
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
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 android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to