Date: Fri, 13 Apr 2001 09:40:02 -0700 (PDT) From: Thomas Quinot <quinot@inf.enst.fr> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/26148: mountd: can't change attributes for /usr Message-ID: <200104131640.f3DGe2T73478@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/26148; it has been noted by GNATS. From: Thomas Quinot <quinot@inf.enst.fr> To: Martin Blapp <mb@imp.ch> Cc: freebsd-gnats-submit@FreeBSD.org, quinot@inf.enst.fr Subject: Re: bin/26148: mountd: can't change attributes for /usr Date: Fri, 13 Apr 2001 18:36:28 +0200 Le 2001-04-13, Martin Blapp écrivait : > Please test the fix for this problem: > http://home.teleport.ch/freebsd/mountd.c.diff2 The proposed fix does not entirely resolve the problem, because only the first address in a host's gt_addrinfo list is checked. On the other hand, the check on canonname is probably superfluous, since the kernel only considers the address. I have also replaced a direct struct sockaddr equality with a call to sacmp(), which seemed safer. I have modified your patch accordingly. The version available at http://www.infres.enst.fr/~quinot/mountd.c.diff3 seems to work here. Thomas. -- Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104131640.f3DGe2T73478>