Home
last modified time | relevance | path

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

/security/selinux/include/
Dnetlabel.h56 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
115 static inline int selinux_netlbl_inet_conn_request(struct request_sock *req, in selinux_netlbl_inet_conn_request() argument
/security/selinux/
Dnetlabel.c256 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
265 rc = security_netlbl_sid_to_secattr(req->secid, &secattr); in selinux_netlbl_inet_conn_request()
268 rc = netlbl_req_setattr(req, &secattr); in selinux_netlbl_inet_conn_request()
Dhooks.c4501 struct request_sock *req) in selinux_inet_conn_request() argument
4517 req->secid = sksec->sid; in selinux_inet_conn_request()
4518 req->peer_secid = SECSID_NULL; in selinux_inet_conn_request()
4523 req->secid = newsid; in selinux_inet_conn_request()
4524 req->peer_secid = peersid; in selinux_inet_conn_request()
4527 return selinux_netlbl_inet_conn_request(req, family); in selinux_inet_conn_request()
4531 const struct request_sock *req) in selinux_inet_csk_clone() argument
4535 newsksec->sid = req->secid; in selinux_inet_csk_clone()
4536 newsksec->peer_sid = req->peer_secid; in selinux_inet_csk_clone()
4544 selinux_netlbl_inet_csk_clone(newsk, req->rsk_ops->family); in selinux_inet_csk_clone()
[all …]
/security/
Dsecurity.c1149 void security_req_classify_flow(const struct request_sock *req, struct flowi *fl) in security_req_classify_flow() argument
1151 security_ops->req_classify_flow(req, fl); in security_req_classify_flow()
1162 struct sk_buff *skb, struct request_sock *req) in security_inet_conn_request() argument
1164 return security_ops->inet_conn_request(sk, skb, req); in security_inet_conn_request()
1169 const struct request_sock *req) in security_inet_csk_clone() argument
1171 security_ops->inet_csk_clone(newsk, req); in security_inet_csk_clone()
Dcapability.c695 struct request_sock *req) in cap_inet_conn_request() argument
701 const struct request_sock *req) in cap_inet_csk_clone() argument
722 static void cap_req_classify_flow(const struct request_sock *req, in cap_req_classify_flow() argument
/security/smack/
Dsmack_lsm.c3158 struct request_sock *req) in smack_inet_conn_request() argument
3202 req->peer_secid = smack_to_secid(sp); in smack_inet_conn_request()
3216 rc = netlbl_req_setattr(req, &secattr); in smack_inet_conn_request()
3220 netlbl_req_delattr(req); in smack_inet_conn_request()
3234 const struct request_sock *req) in smack_inet_csk_clone() argument
3238 if (req->peer_secid != 0) in smack_inet_csk_clone()
3239 ssp->smk_packet = smack_from_secid(req->peer_secid); in smack_inet_csk_clone()