doc/share/security/patches/SA-02:44/filedesc.patch
Bjoern A. Zeeb 3571e53040 Import FreeBSD Security Advisories and Errata Notices, as well as their
patches for easier mirroring, to eliminate a special copy, to make
www.freebsd.org/security a full copy of security.freebsd.org and be
eventually be the same.

For now files are just sitting there.   The symlinks are missing.

Discussed on:	www (repository location)
Discussed with:	simon (so)
2012-08-15 06:19:40 +00:00

29 lines
743 B
Diff

Index: sys/kern/kern_descrip.c
diff -c sys/kern/kern_descrip.c:1.81.2.14 src/sys/kern/kern_descrip.c:1.81.2.15
*** sys/kern/kern_descrip.c:1.81.2.14 Mon Apr 29 10:14:12 2002
--- sys/kern/kern_descrip.c Sun Nov 10 19:43:31 2002
***************
*** 711,720 ****
switch (fp->f_type) {
case DTYPE_PIPE:
case DTYPE_SOCKET:
! if (uap->name != _PC_PIPE_BUF)
! return (EINVAL);
! p->p_retval[0] = PIPE_BUF;
! error = 0;
break;
case DTYPE_FIFO:
case DTYPE_VNODE:
--- 711,722 ----
switch (fp->f_type) {
case DTYPE_PIPE:
case DTYPE_SOCKET:
! if (uap->name != _PC_PIPE_BUF) {
! error = EINVAL;
! } else {
! p->p_retval[0] = PIPE_BUF;
! error = 0;
! }
break;
case DTYPE_FIFO:
case DTYPE_VNODE: