All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Radzykewycz, T (Radzy)" <radzy@windriver.com>
To: Alexandra Test <testalexandrainstitute@gmail.com>,
	"selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: RE: Welcome to selinux
Date: Fri, 29 Jun 2012 14:19:26 +0000	[thread overview]
Message-ID: <33006C99F5A5194A9B7A7715DFA3E3836506DC67@ALA-MBB.corp.ad.wrs.com> (raw)
In-Reply-To: <CAKi3Puqf0u=H379cBk+uXtSNCbpQjtM-cDcyTifDGG8CdV93nA@mail.gmail.com>

Hi Alexandra

The camera uses proprietary components, which are not available in source form from the standard repo.  You need to install the binary proprietary components befroe building.  There are several other things, which also need proprietary binary components.

You can download and use the proprietary components from Google, but they are not complete.  These are at https://developers.google.com/android/nexus/drivers .  I'm not sure that the camera itself is included in these files.

Another option: look on the WEB for instructions about how to fetch the proprietary bits from the device running the stock images.  This can be more complete that the Google files.

Enjoy!

                                                              -- radzy

________________________________________
From: owner-selinux@tycho.nsa.gov [owner-selinux@tycho.nsa.gov] on behalf of Alexandra Test [testalexandrainstitute@gmail.com]
Sent: Friday, June 29, 2012 6:59 AM
To: selinux@tycho.nsa.gov
Subject: Re: Welcome to selinux

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<mailto: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<mailto: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 <sds@tycho.nsa.gov<mailto:sds@tycho.nsa.gov>> 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<mailto: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<mailto: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






--
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.

  reply	other threads:[~2012-06-29 14:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201206211329.q5LDT6PW031262@tarius.tycho.ncsc.mil>
     [not found] ` <CAKi3Pur-Ne8vAfbw6t4hutrqJO73x=wOaHvTg8dca4W-LUOuLg@mail.gmail.com>
     [not found]   ` <1340288275.4234.48.camel@moss-pluto.epoch.ncsc.mil>
2012-06-29  9:59     ` Welcome to selinux Alexandra Test
2012-06-29 10:17       ` Alexandra Test
2012-06-29 13:59         ` Alexandra Test
2012-06-29 14:19           ` Radzykewycz, T (Radzy) [this message]
2012-06-29 14:38           ` Stephen Smalley
2012-07-02 14:05             ` Alexandra Test
2012-07-09 20:48               ` SE Android (Was: Re: Welcome to selinux) Stephen Smalley
2012-07-11 10:39                 ` Alexandra Test
2012-07-11 12:50                   ` Robert Craig
2012-07-12 11:06                     ` Alexandra Test
2012-07-12 11:35                       ` Robert Craig
2012-07-13 12:50                         ` Alexandra Test
2012-07-15  4:25                           ` Robert Craig
2012-07-16 10:47                             ` Alexandra Test
2012-07-16 12:40                               ` Alexandra Test
2012-07-19 13:18                                 ` Stephen Smalley
     [not found]                                 ` <CAFftDdrDSKKeXJga_PO0LJiUsqb3VVMjnSNQFWF66K7QrJ43Bg@mail.gmail.com>
     [not found]                                   ` <CAKi3Puo0PqmsVkcTqJRDhNq5w6J_yVdS=_MPNSC28K0QP0CxXQ@mail.gmail.com>
     [not found]                                     ` <CAFftDdqD+o=hXRyCP5nKc4OmELX50XLWAL2t-9VPi_vKPB-grA@mail.gmail.com>
     [not found]                                       ` <CAKi3Pur1UD+_6YrZ6gj9sJ4yef6Yfim=OOi6R-Lek5Beo41LQw@mail.gmail.com>
     [not found]                                         ` <CAFftDdrUz4NkMKd29rLnhddE1B0dLtJA8DbGZqucovsNbsqo0w@mail.gmail.com>
     [not found]                                           ` <CAKi3PupwHSYPcRYyUNEeXM3py-FjtbrZUd5nGDUwfdwdKRgVZw@mail.gmail.com>
     [not found]                                             ` <CAFftDdocfYJd5JukcFMut+CuKmxCQ5TsNnGr=zb29qyRGKvLyA@mail.gmail.com>
     [not found]                                               ` <CAKi3Pup5Om=x28GW=j=LTC9z8GgrcwUoty6w8hQnPJpNaJE91w@mail.gmail.com>
2012-08-09 18:23                                                 ` William Roberts
2012-08-13  8:37                                                   ` Alexandra Test
2012-08-13 12:31                                                     ` Stephen Smalley
     [not found]                                                     ` <CAFftDdozQQH7skpco0XtJ2HS_yjd1AYS8tNbFqQLkS9oDWEqYg@mail.gmail.com>
2012-08-14 10:42                                                       ` Alexandra Test
2012-08-14 14:33                                                         ` Stephen Smalley
2012-08-14 15:38                                                           ` Radzykewycz, T (Radzy)
2012-08-14 17:19                                                             ` Alexandra Test
2012-07-11 12:56                   ` Stephen Smalley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33006C99F5A5194A9B7A7715DFA3E3836506DC67@ALA-MBB.corp.ad.wrs.com \
    --to=radzy@windriver.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=testalexandrainstitute@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.