[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.215 and 1.216

version 1.215, 2013/04/08 21:12:33 version 1.216, 2013/08/02 20:00:33
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.215  
changed lines
  Added in v.1.216

CVSweb <webmaster@jp.NetBSD.org>