summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Reshetova <elena.reshetova@intel.com>2013-12-04 11:56:07 +0200
committerElena Reshetova <elena.reshetova@intel.com>2013-12-04 12:07:45 +0200
commita1123dab9c5738ab9764f4b8a931aba5a4720946 (patch)
tree432d22e2f3ea9395cd142ce7610e96a43374a94f
parent88977d82d8a300ef761b9eb7d7a3f48983183391 (diff)
downloadlibrpm-tizen-a1123dab9c5738ab9764f4b8a931aba5a4720946.tar.gz
librpm-tizen-a1123dab9c5738ab9764f4b8a931aba5a4720946.tar.bz2
librpm-tizen-a1123dab9c5738ab9764f4b8a931aba5a4720946.zip
Security plugin: adding support for l access type
Change-Id: Id61dd99ef2e6a673d3c66a58d71c735b07571970
-rw-r--r--plugins/msmmanifest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/msmmanifest.c b/plugins/msmmanifest.c
index d1f211bce..5c14e097c 100644
--- a/plugins/msmmanifest.c
+++ b/plugins/msmmanifest.c
@@ -57,7 +57,7 @@ static int msmVerifyAccessType(const char* type)
}
while ( type[idx] != '\0' ){
if ((type[idx] !='a') && (type[idx]!='r') && (type[idx]!='w') &&
- (type[idx]!='x') && (type[idx]!='t') && (type[idx] !='-')) {
+ (type[idx]!='x') && (type[idx]!='t') && (type[idx]!='l') && (type[idx] !='-')) {
rpmlog(RPMLOG_ERR, "Not allowed character in access type: %s\n", type);
res = -1;
break;