From owner-freebsd-standards@FreeBSD.ORG Thu Aug 11 12:00:31 2011 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FF810656A7 for ; Thu, 11 Aug 2011 12:00:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A06F28FC17 for ; Thu, 11 Aug 2011 12:00:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7BC0VSc041017 for ; Thu, 11 Aug 2011 12:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7BC0VEK041016; Thu, 11 Aug 2011 12:00:31 GMT (envelope-from gnats) Date: Thu, 11 Aug 2011 12:00:31 GMT Message-Id: <201108111200.p7BC0VEK041016@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Kostik Belousov Cc: Subject: Re: standards/159679: [patch] [standards] fchmod(2) fails on descriptor referencing shared memory X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kostik Belousov List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2011 12:00:31 -0000 The following reply was made to PR standards/159679; it has been noted by GNATS. From: Kostik Belousov To: Gleb Smirnoff Cc: FreeBSD-gnats-submit@freebsd.org, Roland Olbricht Subject: Re: standards/159679: [patch] [standards] fchmod(2) fails on descriptor referencing shared memory Date: Thu, 11 Aug 2011 14:36:08 +0300 --cnq8aYAp9EJI1BEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I do not think the patch is the right thing to do. My opinion is that struct fileops should grow another method, say fo_chmod, instead of adding yet another switch on the f_type. As a side note, f_type can move into fileops. --cnq8aYAp9EJI1BEL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5DvqcACgkQC3+MBN1Mb4j75ACgsPg06pG0aNYWvnDmq9iwkzIh nGsAoPNiwtW54zQxQu2PSZq/66B2FCcm =F37n -----END PGP SIGNATURE----- --cnq8aYAp9EJI1BEL--