Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 1535004: Fix SELinux warnings when running on Fedora.... (Closed)

Created:
10 years, 8 months ago by Markus (顧孟勤)
Modified:
9 years, 7 months ago
Reviewers:
agl, Evan Martin
CC:
chromium-reviews, agl
Visibility:
Public.

Description

Fix SELinux warnings when running on Fedora. (c.f. http://people.redhat.com/drepper/selinux-mem.html) Fix compilation warnings on Fedora. BUG=none TEST=when running Chrome on Fedora, verify that we don't get AVC warnings Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43107

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M sandbox/linux/seccomp/library.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Markus (顧孟勤)
While patching system calls, we would previously change privileges from PROT_READ|PROT_EXEC to PROT_READ|PROT_WRITE, and after ...
10 years, 8 months ago (2010-03-30 16:10:59 UTC) #1
Evan Martin
=> selinux master before i even look at it
10 years, 8 months ago (2010-03-30 16:11:33 UTC) #2
Evan Martin
I can't review this intelligently. I thought RWX pages were generally bad, though. http://codereview.chromium.org/1535004/diff/1/3 File ...
10 years, 8 months ago (2010-03-30 16:13:24 UTC) #3
agl
LGTM. This is controlled by a policy boolean which we probably need to flip for ...
10 years, 8 months ago (2010-03-30 16:14:11 UTC) #4
agl
On Tue, Mar 30, 2010 at 12:13 PM, <evan@chromium.org> wrote: > I can't review this ...
10 years, 8 months ago (2010-03-30 16:16:03 UTC) #5
Markus (顧孟勤)
On Tue, Mar 30, 2010 at 09:15, Adam Langley <agl@chromium.org> wrote: > On Tue, Mar ...
10 years, 8 months ago (2010-03-30 16:25:41 UTC) #6
agl
10 years, 8 months ago (2010-03-30 16:28:41 UTC) #7
On Tue, Mar 30, 2010 at 12:25 PM, Markus Gutschke <markus@chromium.org> wrote:
>> Yea, it does beg the question as to why we don't go RX -> RWX -> RX?
>
> That's what this patch does, and it appears to make SELinux happy. From a

Ah, ok. I guess the diff doesn't include the RWX -> RX change. It
looked like everything was going to RWX.


LGTM


AGL

Powered by Google App Engine
This is Rietveld 408576698