Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
92212e5c
Commit
92212e5c
authored
10 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Patch deletion due to upstream fix"
parents
f49702e9
c2dc33bd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patch/all/gecko/0003-Bug-1144514-Whitelist-pread64.patch
+0
-35
0 additions, 35 deletions
patch/all/gecko/0003-Bug-1144514-Whitelist-pread64.patch
with
0 additions
and
35 deletions
patch/all/gecko/0003-Bug-1144514-Whitelist-pread64.patch
deleted
100644 → 0
+
0
−
35
View file @
f49702e9
From a5dc50e9229ea93a692f146a112fa5c717d8f077 Mon Sep 17 00:00:00 2001
From: Michael Vines <mvines@codeaurora.org>
Date: Wed, 18 Mar 2015 15:02:19 -0700
Subject: [PATCH 3/4] Bug 1144514 - Whitelist pread64
Change-Id: I445e6988981ead54f34d4c44322954b49662aafe
---
security/sandbox/linux/SandboxFilter.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
index db4fa75..39d24e3 100644
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -145,6 +145,9 @@
SandboxFilterImplContent::Build() {
#if SYSCALL_EXISTS(ftruncate64)
Allow(SYSCALL(ftruncate64));
#endif
+#if SYSCALL_EXISTS(pread64)
+ Allow(SYSCALL(pread64));
+#endif
/* ioctl() is for GL. Remove when GL proxy is implemented.
* Additionally ioctl() might be a place where we want to have
@@ -286,7 +289,6 @@
SandboxFilterImplContent::Build() {
Allow(SYSCALL(mkdir));
Allow(SYSCALL(getcwd));
Allow(SYSCALL(readahead));
- Allow(SYSCALL(pread64));
Allow(SYSCALL(statfs));
#if SYSCALL_EXISTS(ugetrlimit)
Allow(SYSCALL(ugetrlimit));
--
1.8.2.1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment