From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 73473] Potential crash bug in
src/gallium/auxiliary/rtasm/rtasm_execmem.c
Date: Fri, 17 Jan 2014 23:01:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0322199103=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============0322199103==
Content-Type: multipart/alternative; boundary="1389999714.657CAF0.31093"; charset="us-ascii"
--1389999714.657CAF0.31093
Date: Fri, 17 Jan 2014 23:01:54 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=73473
--- Comment #9 from Jaak Ristioja ---
Personally, I'd keep both the selinux and PaX parts out of the patch.
I suggest simply checking the return value for the mmap call. I think this
would suffice. Keep it simple. There are also other reasons why mmap can fail
(e.g. due to ulimit) and this should be checked. Please fix this first, add
PaX/selinux/whatever support later. :)
PS: While in the selinux patch the selinux code can be conditionally #ifdef
enabled, in the PaX patch the PaX code is not, meaning this results in a minor
performance impact for all users.
--
You are receiving this mail because:
You are the assignee for the bug.
--1389999714.657CAF0.31093
Date: Fri, 17 Jan 2014 23:01:54 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 9
on bug 73473
from Jaak Ristioja
Personally, I'd keep both the selinux and PaX parts out of the patch.
I suggest simply checking the return value for the mmap call. I think this
would suffice. Keep it simple. There are also other reasons why mmap can fail
(e.g. due to ulimit) and this should be checked. Please fix this first, add
PaX/selinux/whatever support later. :)
PS: While in the selinux patch the selinux code can be conditionally #ifdef
enabled, in the PaX patch the PaX code is not, meaning this results in a minor
performance impact for all users.
You are receiving this mail because:
- You are the assignee for the bug.
--1389999714.657CAF0.31093--
--===============0322199103==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============0322199103==--