lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 21 May 2019 17:35:38 -0700
From:   Deepa Dinamani <>
To:     Eric Wong <>
Cc:     Andrew Morton <>,
        Linux Kernel Mailing List <>,
        Alexander Viro <>,
        Arnd Bergmann <>,,,
        Davidlohr Bueso <>,
        Jason Baron <>,
        Linux FS-devel Mailing List <>,
        linux-aio <>,
        Omar Kilani <>,
        Thomas Gleixner <>,,
        Oleg Nesterov <>
Subject: Re: [PATCH 1/1] signal: Adjust error codes according to restore_user_sigmask()

> > > It's been 2 weeks and this fix hasn't appeared in mmots / mmotm.
> > > I also noticed it's missing Cc: for stable@ (below)
> >
> > Why is a -stable backport needed?  I see some talk above about lost
> > signals but it is unclear whether these are being observed after fixing
> > the regression caused by 854a6ed56839a.
> I guess Deepa's commit messages wasn't clear...
> I suggest prepending this as the first paragraph to Deepa's
> original message:
>   This fixes a bug introduced with 854a6ed56839a which caused
>   EINTR to not be reported to userspace on epoll_pwait.  Failure
>   to report EINTR to userspace caused problems with user code
>   which relies on EINTR to run signal handlers.

This is not what the patch fixed.

The notable change is userspace is that now whenever a signal is
delivered, the return value is adjusted to reflect the signal
Prior to this patch, there was a window, however small it might have
been, when the signal was delivered but the errono was not adjusted
This is because of the regression caused by 854a6ed56839a, which
extended the window of delivery of signals that was delivered to
The patch also fixes more than sys_epoll_pwait().

I will post a follow up patch.

> > IOW, can we please have a changelog which has a clear and complete
> > description of the user-visible effects of the change.
> >
> > And please Cc Oleg.

I will cc Oleg.

Powered by blists - more mailing lists