[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.192 and 1.193

version 1.192, 2009/10/03 01:41:39 version 1.193, 2009/10/03 03:59:39
Line 440  socket_listener_cb(kauth_cred_t cred, ka
Line 440  socket_listener_cb(kauth_cred_t cred, ka
         result = KAUTH_RESULT_DEFER;          result = KAUTH_RESULT_DEFER;
         req = (enum kauth_network_req)arg0;          req = (enum kauth_network_req)arg0;
   
         if (action != KAUTH_NETWORK_SOCKET)          if ((action != KAUTH_NETWORK_SOCKET) &&
               (action != KAUTH_NETWORK_BIND))
                 return result;                  return result;
   
         switch (req) {          switch (req) {
           case KAUTH_REQ_NETWORK_BIND_PORT:
                   result = KAUTH_RESULT_ALLOW;
                   break;
   
         case KAUTH_REQ_NETWORK_SOCKET_DROP: {          case KAUTH_REQ_NETWORK_SOCKET_DROP: {
                 /* 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;

Legend:
Removed from v.1.192  
changed lines
  Added in v.1.193

CVSweb <webmaster@jp.NetBSD.org>