Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 23:37:48 +0800 (WST)
From:      Adrian Chadd <adrian@obiwan.psinet.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/3497: typo in sys/sys/socketvar.h stopping SYS_PRIV from being definied
Message-ID:  <199705041537.XAA01149@obiwan.psinet.net.au>
Resent-Message-ID: <199705041600.JAA01351@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3497
>Category:       kern
>Synopsis:       typo in sys/sys/socketvar.h stopping SYS_PRIV from being definied
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May  4 09:00:01 PDT 1997
>Last-Modified:
>Originator:     Adrian Chadd
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

-current cvsupped around 23:45 WST

FreeBSD obiwan.psinet.net.au 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Tue Apr 29 22:39:52 WST 1997     adrian@obiwan.psinet.net.au:/usr/src/sys/compile/OBIWAN  i386

>Description:

Typo in sys/sys/socketvar.h was preventing SS_PRIV to be definied, messing up
(part of) the ipfilter build.

>How-To-Repeat:

vi /usr/src/sys/sys/socketvar.h
search for SS_PRIV

>Fix:
	
--- socketvar.h.orig    Sun May  4 23:07:55 1997
+++ socketvar.h Sun May  4 23:21:28 1997
@@ -115,7 +115,7 @@
 #define        SS_CANTRCVMORE          0x0020  /* can't receive more data from peer */
 #define        SS_RCVATMARK            0x0040  /* at mark on input */
 
-/*efine        SS_PRIV                 0x0080     privileged for broadcast, raw... */
+#define        SS_PRIV                 0x0080  /* privileged for broadcast, raw... */
 #define        SS_NBIO                 0x0100  /* non-blocking ops */
 #define        SS_ASYNC                0x0200  /* async i/o notify */
 #define        SS_ISCONFIRMING         0x0400  /* deciding to accept connection req */

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705041537.XAA01149>