return EBADF instead of successfully attaching (and then panicing) when
an fd is dieing.. Convinced by: jhb PR: 103127
This commit is contained in:
parent
9edac6f3f9
commit
aeab19b21f
@ -2632,7 +2632,7 @@ static int
|
||||
badfo_kqfilter(struct file *fp, struct knote *kn)
|
||||
{
|
||||
|
||||
return (0);
|
||||
return (EBADF);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user