Re: [PATCH 1/1] We make two changes: 1. GPS-chip-requires-uart-rts-level-control; 2. We label our specific context to misc/camera(./*) in order to allow camera calibration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-07-19 at 10:21 -0700, hqjiang wrote:
> ---
>  init.tuna.rc            |    1 +
>  sepolicy.genfs_contexts |    2 ++
>  2 files changed, 3 insertions(+), 0 deletions(-)
>  create mode 100644 sepolicy.genfs_contexts

You did not specify the project being targeted by the patch, and your
subject line is too long (the longer description goes in the body before
the --).  Example of a good subject line:

Subject: [PATCH 1/1] device/samsung/tuna: camera and gps control labeling

> 
> diff --git a/init.tuna.rc b/init.tuna.rc
> index 7745161..aa57120 100755
> --- a/init.tuna.rc
> +++ b/init.tuna.rc
> @@ -22,6 +22,7 @@ on post-fs-data
>  	# camera calibration
>  	mkdir /data/misc/camera 0770 media media
>  	mkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media
> +	restorecon /data/misc/camera
>  
>  	# remount factory as read-only
>  	mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ro remount
> diff --git a/sepolicy.genfs_contexts b/sepolicy.genfs_contexts
> new file mode 100644
> index 0000000..56ef603
> --- /dev/null
> +++ b/sepolicy.genfs_contexts
> @@ -0,0 +1,2 @@
> +# This proc entry is for CSR GPS chip on Samsung Tuna Board.
> +genfscon proc /mcspi1_cs3_ctrl u:object_r:gps_control:s0

-- 
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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux