ok,
        -Otto
        
On Fri, Feb 11, 2011 at 09:40:42PM +0100, Paul de Weerd wrote:

> chroot(2) speaks of a non-existing setreseuid in its example.  The
> below patch removes the extraneous e.  ok ?
> 
> Index: chroot.2
> ===================================================================
> RCS file: /cvs/src/lib/libc/sys/chroot.2,v
> retrieving revision 1.16
> diff -u -r1.16 chroot.2
> --- chroot.2  1 Apr 2010 17:06:55 -0000       1.16
> +++ chroot.2  11 Feb 2011 15:49:34 -0000
> @@ -83,7 +83,7 @@
>  
>  if (chroot(newroot) != 0 || chdir("/") != 0)
>       err(1, "%s", newroot);
> -setreseuid(getuid(), getuid(), getuid());
> +setresuid(getuid(), getuid(), getuid());
>  .Ed
>  .Sh ERRORS
>  .Fn chroot
> 
> -- 
> >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
> +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
>                  http://www.weirdnet.nl/                 

Reply via email to