Revert "Hotfix for MAC log"
authorLomtev Dmytro <d.lomtev@samsung.com>
Fri, 27 Oct 2017 06:34:42 +0000 (09:34 +0300)
committerLomtev Dmytro <d.lomtev@samsung.com>
Wed, 1 Nov 2017 10:00:21 +0000 (12:00 +0200)
This reverts commit 63bd7a3aff8a295a0685432c26d55222897d9add.

device_core/nmdaemon/audit_trail_client.cpp

index 2871672..ee8c3d4 100644 (file)
@@ -73,12 +73,6 @@ void macLogCallback(audit_trail_mac_h handle, void* user_data)
         return;
     }
 
-    if ((strlen(obj_name) == 0) &&
-        (strcmp(subj_name, "BrowserBlocking") == 0) &&
-        (strcmp(subj_label, "User::Pkg::xSOWb623os") == 0)) {
-        obj_name = "/usr/apps/network-manager/smack_test.txt";
-    }
-
     std::ostringstream os;
     os << "[MAC] audit(" << time << '.' << ms << ":0) lsm=SMACK comm=" << subj_name << " subject=" << subj_label
        << " path=" << obj_name << " object=" << obj_label << " requested=" << req << " pid=" << pid << " ino=" << syscall;