Skip to content

fcntl_setpipe_size should handle error cases (EBUSY, EPERM) #12425

@xtqqczze

Description

@xtqqczze

fcntl_setpipe_size currently ignores error cases when setting pipe size:

let _ = fcntl_setpipe_size(&mut *dest, MAX_ROOTLESS_PIPE_SIZE);

This can silently drop failures from F_SETPIPE_SZ, which may occur in at least the following cases:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions