standards/159679: [patch] [standards] fchmod(2) fails on
descriptor referencing shared memory
Kostik Belousov
kostikbel at gmail.com
Thu Aug 11 12:00:31 UTC 2011
The following reply was made to PR standards/159679; it has been noted by GNATS.
From: Kostik Belousov <kostikbel at gmail.com>
To: Gleb Smirnoff <glebius at freebsd.org>
Cc: FreeBSD-gnats-submit at freebsd.org, Roland Olbricht <roland.olbricht at gmx.de>
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--
More information about the freebsd-standards
mailing list