Modify SMACK rule test. 68/105568/1 submit/tizen/20161219.050553 submit/tizen_3.0/20161219.050606
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Mon, 19 Dec 2016 04:53:40 +0000 (13:53 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Mon, 19 Dec 2016 04:54:06 +0000 (13:54 +0900)
Change-Id: I35a135c58389f88ac5da965532d29beb93ab8c64

test/smack_rule_test/checksmackrule_loaded.sh
test/smack_rule_test/checksmackrule_saved.sh

index 99f213f6391c1f9b662cc3612e13ba5456e324dd..069d3251e933b483e39836175a17a2463c6f3f33 100755 (executable)
@@ -294,11 +294,11 @@ function RULE_CHECK
                then
                        return 0
                fi 
-       # System _ rwx
+       # System _ rwxa
        elif [ "$1" == "System" ] && [[ "$2" == "_" ]]
        then
 
-               if [ "$3" == "rwx" ]
+               if [ "$3" == "rwxa" ]
                then
                        return 0
                fi
@@ -393,10 +393,10 @@ function RULE_CHECK
                then
                        return 0
                fi
-       # System::Privileged _ rwx
+       # System::Privileged _ rwxa
        elif [ "$1" == "System::Privileged" ] && [[ "$2" == "_" ]]
        then
-               if [ "$3" == "rwx" ]
+               if [ "$3" == "rwxa" ]
                then
                        return 0
                fi  
index e6725e9b88f9b349c45ab0d20cb84aa3663b8125..3a75028bef71405c9aa9902c315344c5de9a929c 100755 (executable)
@@ -295,11 +295,11 @@ function RULE_CHECK
                then
                        return 0
                fi 
-       # System _ rwx
+       # System _ rwxa
        elif [ "$1" == "System" ] && [[ "$2" == "_" ]]
        then
 
-               if [ "$3" == "rwx---" ]
+               if [ "$3" == "rwxa--" ]
                then
                        return 0
                fi
@@ -394,10 +394,10 @@ function RULE_CHECK
                then
                        return 0
                fi
-       # System::Privileged _ rwx
+       # System::Privileged _ rwxa
        elif [ "$1" == "System::Privileged" ] && [[ "$2" == "_" ]]
        then
-               if [ "$3" == "rwx---" ]
+               if [ "$3" == "rwxa--" ]
                then
                        return 0
                fi