Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 6 of 6) sorted by relevance

/security/selinux/
Dnetlabel.c271 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request() argument
276 struct sk_security_struct *sksec = ep->base.sk->sk_security; in selinux_netlbl_sctp_assoc_request()
280 if (ep->base.sk->sk_family != PF_INET && in selinux_netlbl_sctp_assoc_request()
281 ep->base.sk->sk_family != PF_INET6) in selinux_netlbl_sctp_assoc_request()
286 ep->secid, &secattr); in selinux_netlbl_sctp_assoc_request()
296 rc = netlbl_conn_setattr(ep->base.sk, (void *)&addr4, &secattr); in selinux_netlbl_sctp_assoc_request()
300 rc = netlbl_conn_setattr(ep->base.sk, (void *)&addr6, &secattr); in selinux_netlbl_sctp_assoc_request()
Dhooks.c5184 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request() argument
5187 struct sk_security_struct *sksec = ep->base.sk->sk_security; in selinux_sctp_assoc_request()
5204 err = selinux_skb_peerlbl_sid(skb, ep->base.sk->sk_family, in selinux_sctp_assoc_request()
5228 ad.u.net->sk = ep->base.sk; in selinux_sctp_assoc_request()
5246 ep->secid = conn_sid; in selinux_sctp_assoc_request()
5247 ep->peer_secid = peer_sid; in selinux_sctp_assoc_request()
5250 return selinux_netlbl_sctp_assoc_request(ep, skb); in selinux_sctp_assoc_request()
5335 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone() argument
5347 newsksec->sid = ep->secid; in selinux_sctp_sk_clone()
5348 newsksec->peer_sid = ep->peer_secid; in selinux_sctp_sk_clone()
/security/tomoyo/
Drealpath.c162 char *ep; in tomoyo_get_local_path() local
163 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10); in tomoyo_get_local_path()
165 if (*ep == '/' && pid && pid == in tomoyo_get_local_path()
167 pos = ep - 5; in tomoyo_get_local_path()
Dutil.c186 char *ep; in tomoyo_parse_ulong() local
200 *result = simple_strtoul(cp, &ep, base); in tomoyo_parse_ulong()
201 if (cp == ep) in tomoyo_parse_ulong()
203 *str = ep; in tomoyo_parse_ulong()
/security/selinux/include/
Dnetlabel.h42 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
107 static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request() argument
/security/
Dsecurity.c2176 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request() argument
2178 return call_int_hook(sctp_assoc_request, 0, ep, skb); in security_sctp_assoc_request()
2190 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone() argument
2193 call_void_hook(sctp_sk_clone, ep, sk, newsk); in security_sctp_sk_clone()