On Mon, Feb 17, 2003 at 11:47:32PM +0100, Wiktor Niesiobedzki wrote:
[...]

There is an obvious mistake in patch (or change in ip_fw2.c should 
be considered).

Cheers,

Wiktor Niesiobedzki

===================================================================
RCS file: sys/kern/uipc_socket.c,v
retrieving revision 1.144
diff -u -r1.144 sys/kern/uipc_socket.c
--- sys/kern/uipc_socket.c      2003/02/17 22:37:58     1.144
+++ sys/kern/uipc_socket.c      2003/02/17 22:56:41
@@ -1846,8 +1846,8 @@
 {

        if (so == NULL)
-               return (EPERM);
-       if (so->so_cred->cr_uid == uid)
                return (0);
-       return (EPERM);
+       if (so->so_cred->cr_uid == uid)
+               return (1);
+       return (0);
 }





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to