doc/website/static/security/patches/SA-02:44/filedesc.patch
Sergio Carlavilla Delgado 989d921f5d Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of
our new website and documentation using
the new toolchain with Hugo and AsciiDoctor.

To get more information about the new toolchain
please read the FreeBSD Documentation Project Primer[1],
Hugo docs[2] and AsciiDoctor docs[3].

Acknowledgment:
Benedict Reuschling <bcr@>
Glen Barber <gjb@>
Hiroki Sato <hrs@>
Li-Wen Hsu <lwhsu@>
Sean Chittenden <seanc@>
The FreeBSD Foundation

[1] https://docs.FreeBSD.org/en/books/fdp-primer/
[2] https://gohugo.io/documentation/
[3] https://docs.asciidoctor.org/home/

Approved by:    doceng, core
2021-01-26 00:31:29 +01: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: