From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.3.250]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id q5TDxQE1002774 for ; Fri, 29 Jun 2012 09:59:26 -0400 Received: by wibhm2 with SMTP id hm2so883531wib.0 for ; Fri, 29 Jun 2012 06:59:23 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <201206211329.q5LDT6PW031262@tarius.tycho.ncsc.mil> <1340288275.4234.48.camel@moss-pluto.epoch.ncsc.mil> Date: Fri, 29 Jun 2012 15:59:23 +0200 Message-ID: Subject: Re: Welcome to selinux From: Alexandra Test To: selinux@tycho.nsa.gov Content-Type: multipart/alternative; boundary=f46d0442806404025e04c39cdbee Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --f46d0442806404025e04c39cdbee Content-Type: text/plain; charset=ISO-8859-1 Hi, sorry for all the mails! I installed SeAndroid but I have some problems. - the camera is not working (is it normal?) i would like to install other applications but I really didn't get how to do that. should I install the application and then define new policies? How to define the policies? then I notice that I have some residual denials to address in my policy. I hope I will find a way and I am really sorry but I am a beginner! Thanks in advance, Alexandra On Fri, Jun 29, 2012 at 12:17 PM, Alexandra Test < testalexandrainstitute@gmail.com> wrote: > Now it works... I am going to the next step! :-) > > > On Fri, Jun 29, 2012 at 11:59 AM, Alexandra Test < > testalexandrainstitute@gmail.com> wrote: > >> I have a samsung galaxy nexus and I am using ubuntu 12.04... >> >> Unfortunately I could't see any SeAndroid when I lunch the adb shell >> getenforce, so I decided to try again. >> >> this is my procedure: >> - initialize repo with the master version >> - add the master local_manifest.xml in the .repo folder >> - sync >> - build a modified kernel with the necessary support for SELinux >> >> export PREFIX=/path/to/your/aospclone >> cd $PREFIX/kernel/samsung >> make ARCH=arm tuna_defconfig >> make ARCH=arm CROSS_COMPILE=$PREFIX/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- >> >> - make HAVE_SELINUX=true >> >> Now the device tries to boot but I can only see an horizontal line on the >> screen. >> However if I try to interrogate the device with the adb shell getenforce, >> I can see that it is in a permissive mode. >> What is wrong?? >> >> When I compiled AOSP the first time I had the same problem with the >> screen and I solved with additional hardware-related proprietary >> libraries, that are here >> https://developers.google.com/android/nexus/drivers?hl=da#maguroimm76d >> I used this one: Galaxy Nexus (GSM/HSPA+) binaries for Android 4.0.4 >> (IMM76D to IMM76L). >> I also tried to add these libraries but it doesn't work yet! >> >> Can anyone help me? >> >> >> On Thu, Jun 21, 2012 at 4:17 PM, Stephen Smalley wrote: >> >>> On Thu, 2012-06-21 at 16:08 +0200, Alexandra Test wrote: >>> > Hi, >>> > I need a help but I don't know where to ask for it. >>> >>> seandroid@tycho.nsa.gov is our team mail alias, so you can use it for >>> questions that you don't want to be public. selinux@tycho.nsa.gov is >>> the public SELinux mailing list, so you can use it for questions that >>> don't require privacy. When possible, use the public list so that >>> others can benefit from the questions and answers. >>> >>> > Which kernel can I use for Galaxy Nexus and what are the commands to >>> > execute? >>> >>> The omap kernel with the tuna_defconfig is the one to use for Galaxy >>> Nexus. Commands to execute from the seandroid directory: >>> cd kernel/omap >>> make ARCH=arm tuna_defconfig >>> make ARCH=arm >>> CROSS_COMPILE=$PREFIX/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- >>> >>> >>> -- >>> Stephen Smalley >>> National Security Agency >>> >>> >> > --f46d0442806404025e04c39cdbee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
sorry for all the mails!
I installed SeAndroid but I have some pr= oblems.
- the camera is not working (is it normal?)

i would like = to install other applications but I really didn't get how to do that. should I install the application and then define new policies?
How to de= fine the policies?

then I notice that I have some residual denials t= o address in my policy.
I hope I will find a way and I am really sorry but I am a beginn= er!

Thanks in advance,
Alexandra


On Fri, Jun 29, 2012 at 12:17 PM, Alexandra Test &= lt;te= stalexandrainstitute@gmail.com> wrote:
Now it works... I am going to the next step!= :-)


On Fri, Jun 29, 2012 at 11:59 AM, Alexandra Test <= testa= lexandrainstitute@gmail.com> wrote:
I have a samsung galaxy nexus and I am = using ubuntu 12.04...=A0

Unfortunately I could't se= e any SeAndroid when I lunch the adb shell getenforce, so I decided to try = again.

this is my procedure:
- initialize repo with the master version
- add the master l= ocal_manifest.xml in the .repo folder
- sync
-=A0build a mo= dified kernel with the necessary support for SELinux
export PREFIX=3D/path/to/your/aospclone
cd $PREFIX/kernel/samsung
make ARCH=3Darm tuna_defconfig
make ARCH=3Darm CROSS_COMPILE=3D$PREFIX/prebuilt/linux-x86/toolchain/arm-ea=
bi-4.4.3/bin/arm-eabi-
-=A0make HAVE_SELINUX=3Dtrue

Now the device tries to boot but I can only see an horizo= ntal line on the screen.
= However if I try to interrogate the device with the adb shell getenforce, I= can see that it is in a permissive mode.
What is wrong??

When I compiled AOSP the first time I had the same problem wit= h the screen and I solved with additional hardware-related proprietary libraries, that are here
I used this one:=A0Galaxy Nexus (GSM/HSPA+) bin= aries for Android 4.0.4 (IMM76D to IMM76L).
I also tried to add these libraries but it doesn&#= 39;t work yet!

Can anyone help me?


On Thu, Jun 21, 2012 at 4:17 PM, Stephen Smalley <sds@tycho.nsa.gov>= ; wrote:
On Thu, 2012-06-21 at 16:08 +0200, Alex= andra Test wrote:
> Hi,
> I need a help but I don't know where to ask for it.

seandroi= d@tycho.nsa.gov is our team mail alias, so you can use it for
questions that you don't want to be public. =A0selinux@tycho.nsa.gov is
the public SELinux mailing list, so you can use it for questions that
don't require privacy. =A0When possible, use the public list so that others can benefit from the questions and answers.

> Which kernel can I use for Galaxy Nexus and what are the commands to > execute?

The omap kernel with the tuna_defconfig is the one to use for Galaxy<= br> Nexus. =A0Commands to execute from the seandroid directory:
cd kernel/omap
make ARCH=3Darm tuna_defconfig
make ARCH=3Darm CROSS_COMPILE=3D$PREFIX/prebuilt/linux-x86/toolchain/arm-ea= bi-4.4.3/bin/arm-eabi-


--
Stephen Smalley
National Security Agency




--f46d0442806404025e04c39cdbee-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.