Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 13:17:10 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Brian Feldman <green@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 16271 for review
Message-ID:  <Pine.NEB.3.96L.1020819131554.11578Z-100000@fledge.watson.org>
In-Reply-To: <Pine.NEB.3.96L.1020819131449.11578Y-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Although I have to admit it makes one wonder if we shouldn't be
considering an API model more like chown/fchown/lchown...

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories

On Mon, 19 Aug 2002, Robert Watson wrote:

> Feel free to merge that to the main tree, btw.  It might also be worth
> dropping a note in appropriate man pages.
> 
> Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org      Network Associates Laboratories
> 
> On Mon, 19 Aug 2002, Brian Feldman wrote:
> 
> > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16271
> > 
> > Change 16271 by green@green_laptop_2 on 2002/08/19 07:43:34
> > 
> > 	Make extattr set/get calls operate on symlinks, not their
> > 	targets.
> > 
> > Affected files ...
> > 
> > .. //depot/projects/trustedbsd/mac/sys/kern/vfs_syscalls.c#79 edit
> > 
> > Differences ...
> > 
> > ==== //depot/projects/trustedbsd/mac/sys/kern/vfs_syscalls.c#79 (text+ko) ====
> > 
> > @@ -3777,7 +3777,7 @@
> >  	if (error)
> >  		return (error);
> >  
> > -	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
> > +	NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
> >  	if ((error = namei(&nd)) != 0)
> >  		return (error);
> >  	NDFREE(&nd, NDF_ONLY_PNBUF);
> > @@ -3907,7 +3907,7 @@
> >  	if (error)
> >  		return (error);
> >  
> > -	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
> > +	NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
> >  	if ((error = namei(&nd)) != 0)
> >  		return (error);
> >  	NDFREE(&nd, NDF_ONLY_PNBUF);
> > @@ -4000,7 +4000,7 @@
> >  	if (error)
> >  		return(error);
> >  
> > -	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
> > +	NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
> >  	if ((error = namei(&nd)) != 0)
> >  		return(error);
> >  	NDFREE(&nd, NDF_ONLY_PNBUF);
> > 
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020819131554.11578Z-100000>