Skip to content

Calling fswait can cause the kernel to crash. #272

@mxlgv

Description

@mxlgv

Here is the code that causes the kernel to crash:

#include <sys/fswait.h>

int main(void)
{
    int fds[2];
    fswait(-1, fds);

    return 0;
}

Fix please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions