[PATCH 1/2] Linux: Fix '__close_nocancel_nostatus' clobbering 'errno' [BZ #33035]

Maciej W. Rozycki macro@redhat.com
Tue Jun 24 20:19:57 GMT 2025


On Fri, 20 Jun 2025, Florian Weimer wrote:

> > Index: glibc/sysdeps/unix/sysv/linux/not-cancel.h
> > ===================================================================
> > --- glibc.orig/sysdeps/unix/sysv/linux/not-cancel.h
> > +++ glibc/sysdeps/unix/sysv/linux/not-cancel.h
> > @@ -73,7 +73,7 @@ hidden_proto (__fcntl64_nocancel)
> >  static inline void
> >  __close_nocancel_nostatus (int fd)
> >  {
> > -  __close_nocancel (fd);
> > +  INTERNAL_SYSCALL_CALL (close, fd);
> >  }
> >  
> >  /* Non cancellable writev syscall that does not also set errno in case of
> 
> This is okay.

 Patch committed now, thank you for your review.

  Maciej



More information about the Libc-alpha mailing list