All of lore.kernel.org
 help / color / mirror / Atom feed
* Patches to target denies of LocationManager (GPS).
@ 2012-07-10 21:36 hqjiang
  2012-07-10 21:36 ` [PATCH] GPS chip accesses to uart driver when locationmanager launched hqjiang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: hqjiang @ 2012-07-10 21:36 UTC (permalink / raw)
  To: selinux; +Cc: bill.c.roberts, sds


LocationManger needs to access GPS over UART devices. Two core functionalities are
required in order to access GPS. The first one is the uart driver. /dev/ttyO0 is 
for UART Driver. It's defined in CSR SiRF policy file. We can find it on both maguro 
and toro devices. But it's Samsung tuna board specific. We define it as "gps_device".

The second one is the uart rts level ctrl. The uart1 is for GPS and CSR GPS chip 
should control uart1 rts level for GPS firmware download. /proc/mcspi1_cs3_ctrl is
the proc entry assigned "uart1 rts level" control. It is also Samsung Tuna Board 
specific. 

But we find one problem that we cannot label contexts of /proc/mcspi1_cs3_ctrl out
of file "ocontext". Could someone help us to label it in the file of 
"/device/samsung/tuna/sepolicy.fc" to make it device-specific? 

Thanks a lot, 

Haiqing Jiang 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-11 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10 21:36 Patches to target denies of LocationManager (GPS) hqjiang
2012-07-10 21:36 ` [PATCH] GPS chip accesses to uart driver when locationmanager launched hqjiang
2012-07-10 21:36 ` [PATCH] Corrected denials for LocationManager when accessing gps over uart hqjiang
2012-07-11 12:43 ` Patches to target denies of LocationManager (GPS) Stephen Smalley
2012-07-11 21:29   ` William Roberts

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.