diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2013-07-04 13:17:38 +0300 |
---|---|---|
committer | Elena Reshetova <elena.reshetova@intel.com> | 2013-07-04 13:48:45 +0300 |
commit | ae4860d74f8be3aab924c866bdfbe78cb5e09429 (patch) | |
tree | 37ccc62b184f270efaa27b856971252dd099e89e | |
parent | 944a13fea02e1552617bb258a9903b271542f699 (diff) | |
download | default-ac-domains-tizen_ivi_genivi.tar.gz default-ac-domains-tizen_ivi_genivi.tar.bz2 default-ac-domains-tizen_ivi_genivi.zip |
Creating System and User domainssubmit/tizen_ivi_release/20131120.030009submit/tizen_ivi_genivi/20140131.040614submit/tizen/20130912.075659submit/tizen/20130806.072617ivi_oct_m2accepted/tizen_ivi_release/20131120.050404accepted/tizen/ivi/genivi/20140131.041944accepted/tizen/20130912.093346accepted/tizen/20130912.085628accepted/tizen/20130912.082947tizen_ivi_genivi
-rw-r--r-- | packaging/default-ac-domains.changes | 3 | ||||
-rw-r--r-- | packaging/default-ac-domains.manifest | 24 | ||||
-rw-r--r-- | packaging/default-ac-domains.spec | 26 |
3 files changed, 53 insertions, 0 deletions
diff --git a/packaging/default-ac-domains.changes b/packaging/default-ac-domains.changes new file mode 100644 index 0000000..3e9d2a5 --- /dev/null +++ b/packaging/default-ac-domains.changes @@ -0,0 +1,3 @@ +* Thu Jun 04 2013 Elena Reshetova <elena.reshetova@intel.com> +- Initial package creation for domains System and User + diff --git a/packaging/default-ac-domains.manifest b/packaging/default-ac-domains.manifest new file mode 100644 index 0000000..3dd15e7 --- /dev/null +++ b/packaging/default-ac-domains.manifest @@ -0,0 +1,24 @@ +<manifest> + <define> + <domain name="System"/> + <provide> + <label name="System::Shared"/> + </provide> + <request> + <smack request="System::Shared" type="rwxat"/> + </request> + </define> + <define> + <domain name="User"/> + <request> + <smack request="System" type="w"/> + <smack request="System::Shared" type="rx"/> + </request> + <permit> + <smack permit="System" type="w"/> + </permit> + </define> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/default-ac-domains.spec b/packaging/default-ac-domains.spec new file mode 100644 index 0000000..88d6f92 --- /dev/null +++ b/packaging/default-ac-domains.spec @@ -0,0 +1,26 @@ +Name: default-ac-domains +Version: 0.1 +Release: 1 +Group: Security/Access Control +License: GPL-2.0 +Summary: The definition of default ac domains +BuildArch: noarch +Source0: %{name}-%{version}.tar.gz +Source1001: default-ac-domains.manifest + +%description +The package provides a definition for the default set of ac domains +with the corresponding Smack rules between them + +%prep +%setup -q + +%build +cp %{SOURCE1001} . + +%install + +%files +%defattr(-,root,root) +%manifest default-ac-domains.manifest + |