History log of /freebsd-10-stable/sys/kern/sys_pipe.c
Revision Date Author Comments
# 321020 15-Jul-2017 dchagin

MFC r281436 (by mjg@):

fd: remove filedesc argument from fdclose

Just accept a thread instead. This makes it consistent with fdalloc.

No functional changes.


# 285971 28-Jul-2015 cem

MFC r285483: pipe_direct_write: Fix mismatched pipelock/unlock

If a signal is caught in pipelock, causing it to fail, pipe_direct_write
should not try to pipeunlock.

Approved by: markj (mentor)
Sponsored by: EMC / Isilon Storage Division


# 278310 06-Feb-2015 kib

MFC r278145:
Fix use after free in pipe_dtor().


# 276353 28-Dec-2014 kib

MFC r275260:
Remove lock recursion for the pipe pair mutex, and disable the
recursion on mutex initialization.


# 274609 16-Nov-2014 kib

MFC r274023:
When other end of the pipe closed during the write, but some bytes
were written, return short write instead of EPIPE.


# 268335 06-Jul-2014 mjg

MFC r265206:

Ignore the error from pipespace_new when creating a pipe.

It can fail if pipe map is exhausted (as a result of too many pipes created),
but it is not fatal and could be provoked by unprivileged users. The only
consequence is worse performance with given pipe.


# 285971 28-Jul-2015 cem

MFC r285483: pipe_direct_write: Fix mismatched pipelock/unlock

If a signal is caught in pipelock, causing it to fail, pipe_direct_write
should not try to pipeunlock.

Approved by: markj (mentor)
Sponsored by: EMC / Isilon Storage Division


# 278310 06-Feb-2015 kib

MFC r278145:
Fix use after free in pipe_dtor().


# 276353 28-Dec-2014 kib

MFC r275260:
Remove lock recursion for the pipe pair mutex, and disable the
recursion on mutex initialization.


# 274609 16-Nov-2014 kib

MFC r274023:
When other end of the pipe closed during the write, but some bytes
were written, return short write instead of EPIPE.


# 268335 06-Jul-2014 mjg

MFC r265206:

Ignore the error from pipespace_new when creating a pipe.

It can fail if pipe map is exhausted (as a result of too many pipes created),
but it is not fatal and could be provoked by unprivileged users. The only
consequence is worse performance with given pipe.