From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from one.firstfloor.org (one.firstfloor.org [213.235.205.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7AECDDDFD5 for ; Sat, 9 May 2009 05:49:48 +1000 (EST) To: =?iso-8859-1?Q?Markus_Gutschke_=28=DC=D2=D0=29?= Subject: Re: [PATCH 2/2] x86-64: seccomp: fix 32/64 syscall hole From: Andi Kleen References: <20090228030226.C0D34FC3DA@magilla.sf.frob.com> <20090228030413.5B915FC3DA@magilla.sf.frob.com> <20090228072554.CFEA6FC3DA@magilla.sf.frob.com> <904b25810905061146ged374f2se0afd24e9e3c1f06@mail.gmail.com> <20090506212913.GC4861@elte.hu> <904b25810905061446m73c42040nfff47c9b8950bcfa@mail.gmail.com> <20090506215450.GA9537@elte.hu> <904b25810905061508n6d9cb8dbg71de5b1e0332ede7@mail.gmail.com> Date: Fri, 08 May 2009 21:18:44 +0200 In-Reply-To: <904b25810905061508n6d9cb8dbg71de5b1e0332ede7@mail.gmail.com> (Markus Gutschke's message of "Wed, 6 May 2009 15:08:40 -0700") Message-ID: <878wl7o12j.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: linux-mips@linux-mips.org, x86@kernel.org, linux-kernel@vger.kernel.org, stable@kernel.org, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, Ingo Molnar , Linus Torvalds , Andrew Morton , Roland McGrath List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , "Markus Gutschke (мва)" writes: > > There are a large number of system calls that "normal" C/C++ code uses > quite frequently, and that are not security sensitive. A typical > example would be gettimeofday(). At least on x86-64 gettimeofday() (and time(2)) work inside seccomp because they're vsyscalls that run in ring 3 only. -Andi -- ak@linux.intel.com -- Speaking for myself only.