[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.209.2.2 and 1.209.2.2.2.1

version 1.209.2.2, 2013/02/14 22:13:59 version 1.209.2.2.2.1, 2013/08/02 20:18:48
Line 416  socket_listener_cb(kauth_cred_t cred, ka
Line 416  socket_listener_cb(kauth_cred_t cred, ka
                 /* Normal users can only drop their own connections. */                  /* Normal users can only drop their own connections. */
                 struct socket *so = (struct socket *)arg1;                  struct socket *so = (struct socket *)arg1;
   
                 if (proc_uidmatch(cred, so->so_cred))                  if (proc_uidmatch(cred, so->so_cred) == 0)
                         result = KAUTH_RESULT_ALLOW;                          result = KAUTH_RESULT_ALLOW;
   
                 break;                  break;

Legend:
Removed from v.1.209.2.2  
changed lines
  Added in v.1.209.2.2.2.1

CVSweb <webmaster@jp.NetBSD.org>