Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753731Ab2HAXaq (ORCPT ); Wed, 1 Aug 2012 19:30:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48576 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900Ab2HAXap (ORCPT ); Wed, 1 Aug 2012 19:30:45 -0400 Message-ID: <5019BC0E.4010109@zytor.com> Date: Wed, 01 Aug 2012 16:30:22 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Meredydd Luff CC: linux-kernel@vger.kernel.org, Kees Cook , Ingo Molnar , Jeff Dike , Richard Weinberger , Andrew Morton Subject: Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2) References: <1343859049-3632-1-git-send-email-meredydd@senatehouse.org> <5019B36A.4030604@zytor.com> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 23 On 08/01/2012 04:09 PM, Meredydd Luff wrote: >>> # >>> # x32-specific system call numbers start at 512 to avoid cache impact >> >> I think that should be common, not 64 (as should kcmp be). > > I copied the original execve, which is 64. > Sorry, you're right. The argument vector needs compatibility support. This means you need an x32 version of the function -- execve unfortunately is one of the few system calls which require a special x32 version (although it's a simple wrapper around sys32_execve). See sys_x32_execve. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/