[PATCH] Prevent the overwriting of global errno in set file info code path.

Surbhi Palande Surbhi.Palande at canonical.com
Thu Mar 25 15:18:15 MDT 2010


On Thu, 2010-03-18 at 20:02 +0100, Volker Lendecke wrote:
> On Thu, Mar 18, 2010 at 08:47:29PM +0200, Surbhi Palande wrote:
> > Ya! I looked at this once again. You are right. The error number
> > is NOT getting overwritten. I looked at the free_acl() and the
> > allocation of entry code carefully.
> > 
> > Please do ignore this patch. I wonder how the patch worked for me!! 
> > 
> > I did find out the real problem though.
> > 
> > source3/lib/errmap_unix.c::map_nt_error_from_unix() gets called due to
> > error in set_unix_posix_acl(). The errno set is: "ENOTSUP"
> 
> In master we have
> 
> #ifdef ENOTSUP
>         { ENOTSUP,      NT_STATUS_NOT_SUPPORTED},
> #endif
> 
> Is that okay for you?
> 
> Volker

I just wanted to know if there was any update on this.
Thanks!

Warm Regards,
Surbhi.




More information about the samba-technical mailing list