Bug 1551380
Summary: | SELinux is preventing abrt-action-gen from 'map' accesses on the arquivo /home/ecorreia/Documentos/Projects/C++/Exceptions/bin/Debug/Exceptions. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | eduardo.vinicius2009 |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | allan.poulsen, dgibson, dwalsh, lvrabec, mailtopreetam, mgrepl, ndbecker2, plautrba, pmoore, stevenvdschoot |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:a359ae38bd108094880bb61122fa669ae712a9c5e7ecf1c69d1fced18022f80d;VARIANT_ID=workstation; | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-10 16:05:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
eduardo.vinicius2009
2018-03-05 02:01:32 UTC
Hi, This looks like you testing something in homerdir, if you want to experiment, please create local policy with fixes on your system. Description of problem: Opening a "New Live Script" from within Matlab generates this AVC denial. Version-Release number of selected component: selinux-policy-3.13.1-283.28.fc27.noarch Additional info: reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.15.10-300.fc27.x86_64 type: libreport Description of problem: Everytime my code segfaults I get this Version-Release number of selected component: selinux-policy-3.13.1-283.29.fc27.noarch Additional info: reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.15.10-300.fc27.x86_64 type: libreport Description of problem: I write the follwoing c++ code in a project in CodeBlocks. #include <iostream> #include<string> using namespace std; int main() { int t; cin>>t; unsigned int d; string p; for(int i = 1; i <= t; i++) { cin>>d; cin>>p; unsigned int s = 0, sum = 0, c = 1, h = 0; for(unsigned int j = 0; j < p.length(); j++) if(p[j] == 'S') { s++; sum += c; } else c <<= 1; if(s > d) cout<<"Case #"<<i<<": IMPOSSIBLE"<<endl; else { while(sum > d) { int ls = p.find_last_of('S'); int skip = p.length() - ls + 1; unsigned int mc = c << skip; int k; for(k = ls; p[k] == 'S'; k--); p[k] = 'S'; p[k+1] = 'C'; h++; sum -= mc/2; } cout<<"Case #"<<i<<": "<<h<<endl; } } return 0; } While running the code give the following input 1 1 CS the error pops up Version-Release number of selected component: selinux-policy-3.13.1-283.28.fc27.noarch Additional info: reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.15.10-300.fc27.x86_64 type: libreport |