projects
/
platform
/
core
/
security
/
suspicious-activity-monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eeef74
)
Revert "Hotfix for MAC log"
author
Lomtev Dmytro
<d.lomtev@samsung.com>
Fri, 27 Oct 2017 06:34:42 +0000
(09:34 +0300)
committer
Lomtev 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
patch
|
blob
|
history
diff --git
a/device_core/nmdaemon/audit_trail_client.cpp
b/device_core/nmdaemon/audit_trail_client.cpp
index
2871672
..
ee8c3d4
100644
(file)
--- a/
device_core/nmdaemon/audit_trail_client.cpp
+++ b/
device_core/nmdaemon/audit_trail_client.cpp
@@
-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;