The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=513320c0f1122f096468c0b01623ba7c7e77cbe2

commit 513320c0f1122f096468c0b01623ba7c7e77cbe2
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-01-11 17:07:10 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-01-12 10:43:34 +0000

    sigfastblock_setpend(): do not set PEND user flag unless TDP_SIGFASTPENDING 
is set.
    
    User pending bit should not be set if kernel did not noted a pending signal.
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D28089
---
 sys/kern/kern_sig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 004aabdcb84e..7884b5be9f91 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -4213,7 +4213,7 @@ sigfastblock_setpend1(struct thread *td)
        int res;
        uint32_t oldval;
 
-       if ((td->td_pflags & TDP_SIGFASTBLOCK) == 0)
+       if ((td->td_pflags & TDP_SIGFASTPENDING) == 0)
                return;
        res = fueword32((void *)td->td_sigblock_ptr, &oldval);
        if (res == -1) {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to