Security plugin: adding support for l access type
authorElena Reshetova <elena.reshetova@intel.com>
Wed, 4 Dec 2013 09:56:07 +0000 (11:56 +0200)
committerElena Reshetova <elena.reshetova@intel.com>
Wed, 4 Dec 2013 10:07:45 +0000 (12:07 +0200)
Change-Id: Id61dd99ef2e6a673d3c66a58d71c735b07571970

plugins/msmmanifest.c

index d1f211bce0c4cc02d7fbb70777f1abd02ca6081a..5c14e097ce77868b12b5ad544f9bb6cb31f94a65 100644 (file)
@@ -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;