NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55675: ZFS mounts do not work with setuid programs



The following reply was made to PR kern/55675; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/55675: ZFS mounts do not work with setuid programs
Date: Sun, 11 Oct 2020 20:00:59 +0200

 --Apple-Mail=_6B24EB6B-3B07-45CC-BF4C-5734F754CDD4
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 > On 11. Oct 2020, at 19:25, Christos Zoulas <christos%zoulas.com@localhost> wrote:
 > 
 > Perhaps expose groupmember in genfs_vnops.c instead of duplicating?
 
 It is not a duplicate.  The genfs version returns -1 for non-member,
 0 for member or error > 0 on error.  The Solaris version returns 0 for
 non-member or 1 for member.
 
 We could expose it and use a stub to translate the return value.
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
 
 --Apple-Mail=_6B24EB6B-3B07-45CC-BF4C-5734F754CDD4
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAEBCAAdFiEE2BL3ha7Xao4WUZVYKoaVJdNr+uEFAl+DSFsACgkQKoaVJdNr
 +uEcTwf/f8oycakKyK9g2Z+X2MOurjUqNbRWG0xzbK9jEMicDT8JqZG2raSxarWT
 pFG2zjzIpVqIrsp7eW71ynqH2wCR2lKGfgcQ3oFuOYp01EiDai9euHJn0acnrcvL
 gkLeJkf6EFCP+XAKsfjv9qJXhTSip+tEHf6+MeVSmNLsjMSr0hM3LmvvTRxbmBMG
 UFtoTdF6/woyrgQsWu4LxlUTub1tjWAjEzPH8B+1ZQ7RpV2pQcW8pUrdkwWtMnrn
 vDVED7fmbQsLqyKmifc+1laDzdL2i2/Pu/NyR3nPOKtne5ge3cBIyxtEqrag+45m
 bZijRhePX7LYAit6ajVz2Wj2xJ2qsA==
 =m4ni
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_6B24EB6B-3B07-45CC-BF4C-5734F754CDD4--
 


Home | Main Index | Thread Index | Old Index