From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 11 23:46:18 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 859701065674 for ; Sun, 11 Jul 2010 23:46:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 338228FC17 for ; Sun, 11 Jul 2010 23:46:17 +0000 (UTC) Received: by qwg5 with SMTP id 5so1414712qwg.13 for ; Sun, 11 Jul 2010 16:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=7M1aLeZdTRGy6j/aSjoGwNsm6G5do8D091tbHFTBV/0=; b=KFWh24k64Jqo8Mb+b7lhTToRrsIQTn02Q0vtwYn8XZEVHMy84TLSDQu0AEpv20Sxjg SH6BQ1XfiqxvjsIvt0VVhkYtfS/QOxrhj8mJzxk6hGlxhdzLRZ4e+hCGy8oiokJFcUBW /IWIeDU/mLeIHD8OqGdfYX0xlimoNkvbcxkmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=QTPvKK6NUyEwElG3gqYaBEsHokBGTPeVBzY8qfQegzQ8wQuDymyf1DLm2wj0RG2DmC nhfTm9ZWtYQNSdQdAQ+brLbeUyTQbikdwWhUmKfvv+8nZ2rQRjIsaUhA8kB0XsjmfyGz fPxcx8Kum2K5fb/3H7PbeIB72O0I8GWQDR0z4= Received: by 10.229.250.146 with SMTP id mo18mr7807015qcb.239.1278890254964; Sun, 11 Jul 2010 16:17:34 -0700 (PDT) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id h34sm16562835qcm.14.2010.07.11.16.17.33 (version=SSLv3 cipher=RC4-MD5); Sun, 11 Jul 2010 16:17:34 -0700 (PDT) Date: Sun, 11 Jul 2010 19:17:27 -0400 From: Alexander Kabaev To: Garrett Cooper Message-ID: <20100711191727.61c812cb@kan.dnsalias.net> In-Reply-To: References: <20100711210843.GQ2408@deviant.kiev.zoral.com.ua> <20100711214016.GR2408@deviant.kiev.zoral.com.ua> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Vramf7t6B16FZE.1TlLrFf+"; protocol="application/pgp-signature" 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:46:18 -0000 --Sig_/Vramf7t6B16FZE.1TlLrFf+ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sun, 11 Jul 2010 15:59:05 -0700 Garrett Cooper wrote: > > + =9A =9A =9A if (!_SIG_VALID(how)) > > + =9A =9A =9A =9A =9A =9A =9A return (-EINVAL); -EINVAL? Smells too much of Linux, try returning EINVAL instead. --=20 Alexander Kabaev --Sig_/Vramf7t6B16FZE.1TlLrFf+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iD8DBQFMOlEMQ6z1jMm+XZYRAr+eAKDXNge5GWE4YQ/M0ty5BsKNsC7SlQCfbO5A oJDvtBfuM60eZsCGD9FZlkg= =CN1N -----END PGP SIGNATURE----- --Sig_/Vramf7t6B16FZE.1TlLrFf+--