Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 13:15:25 -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.1020819131449.11578Y-100000@fledge.watson.org>
In-Reply-To: <200208191444.g7JEiCiM055723@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.1020819131449.11578Y-100000>