|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.126, 2006/10/12 01:32:19 | version 1.127, 2006/10/25 22:49:23 | ||
|---|---|---|---|
|
|
||
| uid_t uid; | uid_t uid; | ||
| int error, s; | int error, s; | ||
| if (kauth_authorize_network(l->l_cred, KAUTH_NETWORK_SOCKET, | |||
| KAUTH_REQ_NETWORK_SOCKET_OPEN, &dom, &type, &proto) != 0) | |||
| return (EPERM); | |||
| if (proto) | if (proto) | ||
| prp = pffindproto(dom, proto, type); | prp = pffindproto(dom, proto, type); | ||
| else | else |