Module Name:    src
Committed By:   chs
Date:           Mon Dec 14 23:12:12 UTC 2020

Modified Files:
        src/sys/kern: uipc_sem.c

Log Message:
when updating the per-uid "semcnt", decrement the counter for the uid
that created the ksem, not the uid of the process freeing the ksem.
fixes PR 55509.

Reported-by: syzbot+9d04b3ef2ca180ef9...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/kern/uipc_sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to