[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.202 and 1.203

version 1.202, 2011/01/17 07:13:32 version 1.203, 2011/02/01 01:39:20
Line 463  socket_listener_cb(kauth_cred_t cred, ka
Line 463  socket_listener_cb(kauth_cred_t cred, ka
   
         case KAUTH_REQ_NETWORK_SOCKET_OPEN:          case KAUTH_REQ_NETWORK_SOCKET_OPEN:
                 /* We allow "raw" routing/bluetooth sockets to anyone. */                  /* We allow "raw" routing/bluetooth sockets to anyone. */
                 if ((u_long)arg1 == PF_ROUTE || (u_long)arg1 == PF_BLUETOOTH)                  if ((u_long)arg1 == PF_ROUTE || (u_long)arg1 == PF_OROUTE
                       || (u_long)arg1 == PF_BLUETOOTH) {
                         result = KAUTH_RESULT_ALLOW;                          result = KAUTH_RESULT_ALLOW;
                 else {                  } else {
                         /* Privileged, let secmodel handle this. */                          /* Privileged, let secmodel handle this. */
                         if ((u_long)arg2 == SOCK_RAW)                          if ((u_long)arg2 == SOCK_RAW)
                                 break;                                  break;

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.203

CVSweb <webmaster@jp.NetBSD.org>