summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Reshetova <elena.reshetova@intel.com>2013-07-04 13:17:38 +0300
committerElena Reshetova <elena.reshetova@intel.com>2013-07-04 13:48:45 +0300
commitae4860d74f8be3aab924c866bdfbe78cb5e09429 (patch)
tree37ccc62b184f270efaa27b856971252dd099e89e
parent944a13fea02e1552617bb258a9903b271542f699 (diff)
downloaddefault-ac-domains-tizen_ivi_genivi.tar.gz
default-ac-domains-tizen_ivi_genivi.tar.bz2
default-ac-domains-tizen_ivi_genivi.zip
-rw-r--r--packaging/default-ac-domains.changes3
-rw-r--r--packaging/default-ac-domains.manifest24
-rw-r--r--packaging/default-ac-domains.spec26
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
+