From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964906AbWDGTYX (ORCPT ); Fri, 7 Apr 2006 15:24:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964907AbWDGTYX (ORCPT ); Fri, 7 Apr 2006 15:24:23 -0400 Received: from pproxy.gmail.com ([64.233.166.182]:23258 "EHLO pproxy.gmail.com") by vger.kernel.org with ESMTP id S964906AbWDGTYW convert rfc822-to-8bit (ORCPT ); Fri, 7 Apr 2006 15:24:22 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B0WcS2+Yx9NvZhmE41feJ88j+aQLzDokdw6UgcEYXZgV9m2bUiNraYM30ar7WUWLLoDqO93g4txyhamw7bTSAoGJShfDj+DZ5LZx8YSnw7uwB4gP4x3quWiB6r7jNYWmwgG/VQlLoTJxcO5BvFqoyZbAIF9LBFlM20DuJ4kN4AE= Message-ID: Date: Fri, 7 Apr 2006 12:24:21 -0700 From: "Joshua Hudson" To: linux-kernel@vger.kernel.org Subject: Re: wait4/waitpid/waitid oddness In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <787b0d920604052038i3a75bdb6ic0818d93805b881b@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > So what I see current in wait4 is: > > asmlinkage long sys_wait4(pid_t pid, int __user *stat_addr, > > int options, struct rusage __user *ru) > > { > > long ret; > > > > if (options & ~(WNOHANG|WUNTRACED|WCONTINUED| > > __WNOTHREAD|__WCLONE|__WALL)) > > return -EINVAL; > > So where are you seeing the check in 2.6.16.1? > > Eric Stupid me. I read that w/o the tilde.