summaryrefslogtreecommitdiff
path: root/plugins/msm.h
diff options
context:
space:
mode:
authorElena Reshetova <elena.reshetova@intel.com>2013-03-08 11:02:45 +0200
committerElena Reshetova <elena.reshetova@intel.com>2013-03-12 12:43:25 +0200
commit1a584da2bd5b2824d41ab286aa93082400c9d687 (patch)
treea1319e69a22113739a0670520ec9d5b98eb5def2 /plugins/msm.h
parent914e0dfd5fd6ee025f0597e01ec329e7857a7efa (diff)
downloadlibrpm-tizen-1a584da2bd5b2824d41ab286aa93082400c9d687.tar.gz
librpm-tizen-1a584da2bd5b2824d41ab286aa93082400c9d687.tar.bz2
librpm-tizen-1a584da2bd5b2824d41ab286aa93082400c9d687.zip
Adding a new attribute tag to manifest
Attribute tag allows to specify the type of the package (currenlty only application or system) that affects setting SMACK64EXEC label. For system packages it isn't set by default and for applications it is set to requested domain.
Diffstat (limited to 'plugins/msm.h')
-rw-r--r--plugins/msm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/msm.h b/plugins/msm.h
index 3a6e75cba..b91e1a1a1 100644
--- a/plugins/msm.h
+++ b/plugins/msm.h
@@ -282,6 +282,7 @@ typedef struct sw_source_x {
typedef struct manifest_x { /*package manifest */
struct sw_source_x *sw_source; /* package sw source */
const char *name; /* package name */
+ const char *package_type; /* package type: system or application */
struct provide_x *provides; /* assign section */
struct request_x *request; /* request section */
struct sw_source_x *sw_sources; /*defined software sources(non-NULL only for configuration manifests)*/