From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 11 23:19:38 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5128F106566C for ; Sun, 11 Jul 2010 23:19:38 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 12C298FC17 for ; Sun, 11 Jul 2010 23:19:37 +0000 (UTC) Received: by iwn35 with SMTP id 35so5052561iwn.13 for ; Sun, 11 Jul 2010 16:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NqTLWK0MC4Td4EXIfGae2UuUG2mPbl66JXp+NM3jUPU=; b=f92/OzjWVOE2ymKD8VH3ZrWSvhbVm3tRm4SbWLLbVegFn/yXXMp25cdR0F2csn1CkD oE/11RhKG9TEcYBD+/atFyF1MJSpN8LJP8CyhN4kz+ps3Xzj72JMQhlQFCNbhZsQG3Rx ++gfI9ZjgcADwz4vxheIto93l5f7V+j0/1MfI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pwUT1+L4zT+zcbhy2XNJ2+i2XAqBSHOGuYhsajYB3BkroF7PVPQol2SCiy0mx0fBIa kAv+shZMv5NkGvdCmm3QDRc4H88pQuOUfymWcb/C/YuAG11gtO71uL3n6Lz+sXQGIgF9 Cfu/NYGtkCqQuzsc57l42DjrrY6TquUPCow+o= MIME-Version: 1.0 Received: by 10.231.31.7 with SMTP id w7mr12876035ibc.83.1278890377470; Sun, 11 Jul 2010 16:19:37 -0700 (PDT) Received: by 10.231.182.74 with HTTP; Sun, 11 Jul 2010 16:19:37 -0700 (PDT) In-Reply-To: <20100711191727.61c812cb@kan.dnsalias.net> References: <20100711210843.GQ2408@deviant.kiev.zoral.com.ua> <20100711214016.GR2408@deviant.kiev.zoral.com.ua> <20100711191727.61c812cb@kan.dnsalias.net> Date: Sun, 11 Jul 2010 16:19:37 -0700 Message-ID: From: Garrett Cooper To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , hackers@freebsd.org Subject: Re: *sigpause hanging on 8.x+ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2010 23:19:38 -0000 2010/7/11 Alexander Kabaev : > On Sun, 11 Jul 2010 15:59:05 -0700 > Garrett Cooper wrote: > >> > + =A0 =A0 =A0 if (!_SIG_VALID(how)) >> > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 return (-EINVAL); > > -EINVAL? Smells too much of Linux, try returning EINVAL instead. Wow, I'm batting 1,000 today. Please completely ignore my previous claim about sigprocmask(2) -- I'm screwing up my function calls. -Garrett