PERFORCE change 16271 for review

Robert Watson rwatson at freebsd.org
Mon Aug 19 17:15:25 GMT 2002


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 at 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 at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list