Searched refs:req (Results 1 – 6 of 6) sorted by relevance
/security/selinux/include/ |
D | netlabel.h | 56 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/ |
D | netlabel.c | 256 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()
|
D | hooks.c | 4501 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/ |
D | security.c | 1149 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()
|
D | capability.c | 695 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/ |
D | smack_lsm.c | 3158 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()
|