diff options
Diffstat (limited to 'app-forensics/ovaldi/files/ovaldi-5.10.1.7-disable_RetrieveSelinuxDomainLabel.patch')
-rw-r--r-- | app-forensics/ovaldi/files/ovaldi-5.10.1.7-disable_RetrieveSelinuxDomainLabel.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/app-forensics/ovaldi/files/ovaldi-5.10.1.7-disable_RetrieveSelinuxDomainLabel.patch b/app-forensics/ovaldi/files/ovaldi-5.10.1.7-disable_RetrieveSelinuxDomainLabel.patch deleted file mode 100644 index 9f0a0e05e401..000000000000 --- a/app-forensics/ovaldi/files/ovaldi-5.10.1.7-disable_RetrieveSelinuxDomainLabel.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/src/probes/unix/Process58Probe.cpp -+++ b/src/probes/unix/Process58Probe.cpp -@@ -743,26 +743,8 @@ - } - - bool Process58Probe::RetrieveSelinuxDomainLabel(pid_t pid, string *label, string *err) { -- security_context_t sctx; -- int ec = getpidcon(pid, &sctx); -- if (ec == -1) { -- // getpidcon man page doesn't say errno is set... so we can't get a -- // reason for the error. -- *err = "getpidcon() failed"; -- return false; -- } -- -- SecurityContextGuard scg(sctx); -- ContextGuard cg(sctx); -- -- const char *tmp = context_type_get(cg); -- if (!tmp) { -- *err = string("context_get_type(")+sctx+"): "+strerror(errno); -- return false; -- } -- -- *label = tmp; -- return true; -+ *err = string("context_get_type(NotImplmented)"); -+ return false; - } - - #elif defined SUNOS |