i like it.

> Index: sys/sys/un.h
> ===================================================================
> RCS file: /cvsroot/src/sys/sys/un.h,v
> retrieving revision 1.59
> diff -u -r1.59 un.h
> --- sys/sys/un.h      6 Nov 2020 14:50:13 -0000       1.59
> +++ sys/sys/un.h      5 Aug 2021 13:19:20 -0000
> @@ -56,6 +56,7 @@
>   * Socket options for UNIX IPC domain.
>   */
>  #if defined(_NETBSD_SOURCE)
> +#define SOL_LOCAL    0               /* options level for get/setsockopt */
>  #define      LOCAL_OCREDS    0x0001          /* pass credentials to receiver 
> */
>  #define      LOCAL_CONNWAIT  0x0002          /* connects block until 
> accepted */
>  #define      LOCAL_PEEREID   0x0003          /* get peer identification */

please fix the space/tab issue here.

> Index: share/man/man4/unix.4
> ===================================================================
> RCS file: /cvsroot/src/share/man/man4/unix.4,v
> retrieving revision 1.26
> diff -u -r1.26 unix.4
> --- share/man/man4/unix.4       3 Jul 2017 21:30:58 -0000       1.26
> +++ share/man/man4/unix.4       5 Aug 2021 13:19:16 -0000
> @@ -173,8 +173,8 @@
>  when the destination socket is closed.
>  .Pp
>  A UNIX-domain socket supports two
> -.Tn socket-level
> -options for use with
> +.Dv SOL_LOCAL
> +level options for use with
>  .Xr setsockopt 2
>  and
>  .Xr getsockopt 2 :

now reads:

"A UNIX-domain socket supports two SOL_LOCAL level options for use .."

shouldn't this be something like "only supports SOL_LOCAL level"?
if not, what the "two" part now?

thanks.


.mrg.

Reply via email to