Change logs in security server connected to SMACK
authorPawel Polawski <p.polawski@partner.samsung.com>
Tue, 23 Apr 2013 12:45:05 +0000 (14:45 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:02:04 +0000 (17:02 +0100)
[Issue#]        SSDWSSP-203
[Feature]       New logs format
[Cause]         Deprecated log format
[Solution]      Log format changed
[Verification]  Compile, no tests should fail

Change-Id: I38d227b99e341cc76f540a7dc56c4532704ce9e3

src/server/security-server-cookie.c

index 79ae07e..a1ffbfd 100644 (file)
@@ -278,7 +278,7 @@ cookie_list *search_cookie_new(const cookie_list *c_list,
         if(memcmp(current->cookie, cookie, SECURITY_SERVER_COOKIE_LEN) == 0)
         {
             SEC_SVR_DBG("%s", "cookie has been found");
-            if (smack_check())
+            if (smack_runtime_check())
             {
                 ret = smack_have_access(current->smack_label, object, access_rights);
                 SEC_SVR_DBG("SMACK have access returned %d", ret);