HomeFreeBSD

Correct a bug introduced in sys_pipe.c:1.179: in pipe_ioctl(),
rS138032Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Correct a bug introduced in sys_pipe.c:1.179: in pipe_ioctl(),
release the pipe mutex before calling fsetown(), as fsetown()
may block. The sigio code protects the pipe sigio data using
its own mutex, and the pipe reference count held by the caller
will prevent the pipe from being prematurely garbage-collected.

Discovered by: imp

Details

Provenance
rwatsonAuthored on
Parents
rS138031: Fix a cpuid mismatch from the recent cpuid rototill in Alpha: boot_cpu_id
Branches
Unknown
Tags
Unknown

Event Timeline