Home
last modified time | relevance | path

Searched refs:netlbl_lsm_secattr (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/include/net/
H A Dnetlabel.h180 struct netlbl_lsm_secattr { struct
244 struct netlbl_lsm_secattr *secattr);
254 struct netlbl_lsm_secattr *secattr);
262 const struct netlbl_lsm_secattr *secattr);
474 const struct netlbl_lsm_secattr *secattr);
477 struct netlbl_lsm_secattr *secattr);
480 const struct netlbl_lsm_secattr *secattr);
486 const struct netlbl_lsm_secattr *secattr);
489 struct netlbl_lsm_secattr *secattr);
626 struct netlbl_lsm_secattr *secattr) in netlbl_sock_getattr()
[all …]
H A Dcipso_ipv4.h162 const struct netlbl_lsm_secattr *secattr);
170 const struct netlbl_lsm_secattr *secattr) in cipso_v4_cache_add()
183 struct netlbl_lsm_secattr *secattr);
186 const struct netlbl_lsm_secattr *secattr);
191 const struct netlbl_lsm_secattr *secattr);
195 const struct netlbl_lsm_secattr *secattr);
198 struct netlbl_lsm_secattr *secattr);
210 struct netlbl_lsm_secattr *secattr) in cipso_v4_getattr()
217 const struct netlbl_lsm_secattr *secattr) in cipso_v4_sock_setattr()
227 struct netlbl_lsm_secattr *secattr) in cipso_v4_sock_getattr()
[all …]
/openbmc/linux/security/selinux/ss/
H A Dmls.h70 struct netlbl_lsm_secattr *secattr);
73 struct netlbl_lsm_secattr *secattr);
76 struct netlbl_lsm_secattr *secattr);
79 struct netlbl_lsm_secattr *secattr);
83 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_lvl()
89 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_lvl()
95 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_cat()
101 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_cat()
H A Dmls.c568 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_lvl()
590 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_lvl()
612 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_cat()
642 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_cat()
H A Dservices.c3771 static void security_netlbl_cache_add(struct netlbl_lsm_secattr *secattr, in security_netlbl_cache_add()
3806 int security_netlbl_secattr_to_sid(struct netlbl_lsm_secattr *secattr, in security_netlbl_secattr_to_sid()
3882 int security_netlbl_sid_to_secattr(u32 sid, struct netlbl_lsm_secattr *secattr) in security_netlbl_sid_to_secattr()
/openbmc/linux/net/netlabel/
H A Dnetlabel_calipso.h117 int calipso_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr);
120 const struct netlbl_lsm_secattr *secattr);
124 const struct netlbl_lsm_secattr *secattr);
128 struct netlbl_lsm_secattr *secattr);
131 const struct netlbl_lsm_secattr *secattr);
135 const struct netlbl_lsm_secattr *secattr);
H A Dnetlabel_calipso.c525 int calipso_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr) in calipso_sock_getattr()
551 const struct netlbl_lsm_secattr *secattr) in calipso_sock_setattr()
591 const struct netlbl_lsm_secattr *secattr) in calipso_req_setattr()
647 struct netlbl_lsm_secattr *secattr) in calipso_getattr()
670 const struct netlbl_lsm_secattr *secattr) in calipso_skbuff_setattr()
726 const struct netlbl_lsm_secattr *secattr) in calipso_cache_add()
H A Dnetlabel_unlabeled.h226 struct netlbl_lsm_secattr *secattr);
H A Dnetlabel_kapi.c980 const struct netlbl_lsm_secattr *secattr) in netlbl_sock_setattr()
1073 struct netlbl_lsm_secattr *secattr) in netlbl_sock_getattr()
1107 const struct netlbl_lsm_secattr *secattr) in netlbl_conn_setattr()
1186 const struct netlbl_lsm_secattr *secattr) in netlbl_req_setattr()
1280 const struct netlbl_lsm_secattr *secattr) in netlbl_skbuff_setattr()
1361 struct netlbl_lsm_secattr *secattr) in netlbl_skbuff_getattr()
1436 const struct netlbl_lsm_secattr *secattr) in netlbl_cache_add()
H A Dnetlabel_unlabeled.c1460 struct netlbl_lsm_secattr *secattr) in netlbl_unlabel_getattr()
/openbmc/linux/security/selinux/
H A Dnetlabel.c44 struct netlbl_lsm_secattr *secattr, in selinux_netlbl_sidlookup_cached()
72 struct netlbl_lsm_secattr *secattr; in selinux_netlbl_sock_genattr()
198 struct netlbl_lsm_secattr secattr; in selinux_netlbl_skbuff_getsid()
235 struct netlbl_lsm_secattr secattr_storage; in selinux_netlbl_skbuff_setsid()
236 struct netlbl_lsm_secattr *secattr = NULL; in selinux_netlbl_skbuff_setsid()
279 struct netlbl_lsm_secattr secattr; in selinux_netlbl_sctp_assoc_request()
331 struct netlbl_lsm_secattr secattr; in selinux_netlbl_inet_conn_request()
397 struct netlbl_lsm_secattr *secattr; in selinux_netlbl_socket_post_create()
440 struct netlbl_lsm_secattr secattr; in selinux_netlbl_sock_rcv_skb()
511 struct netlbl_lsm_secattr secattr; in selinux_netlbl_socket_setsockopt()
[all …]
/openbmc/linux/net/ipv4/
H A Dcipso_ipv4.c235 struct netlbl_lsm_secattr *secattr) in cipso_v4_cache_check()
848 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_rbm_ntoh()
980 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_enum_ntoh()
1112 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_rng_ntoh()
1232 struct netlbl_lsm_secattr *secattr) in cipso_v4_parsetag_rbm()
1274 const struct netlbl_lsm_secattr *secattr, in cipso_v4_gentag_enum()
1324 struct netlbl_lsm_secattr *secattr) in cipso_v4_parsetag_enum()
1414 struct netlbl_lsm_secattr *secattr) in cipso_v4_parsetag_rng()
1483 struct netlbl_lsm_secattr *secattr) in cipso_v4_parsetag_loc()
1917 const struct netlbl_lsm_secattr *secattr) in cipso_v4_req_setattr()
[all …]
/openbmc/linux/security/selinux/include/
H A Dsecurity.h76 struct netlbl_lsm_secattr;
334 int security_netlbl_secattr_to_sid(struct netlbl_lsm_secattr *secattr,
338 struct netlbl_lsm_secattr *secattr);
340 static inline int security_netlbl_secattr_to_sid(struct netlbl_lsm_secattr *secattr, in security_netlbl_secattr_to_sid()
347 struct netlbl_lsm_secattr *secattr) in security_netlbl_sid_to_secattr()
H A Dobjsec.h113 struct netlbl_lsm_secattr *nlbl_secattr; /* NetLabel sec attributes */
/openbmc/linux/net/ipv6/
H A Dcalipso.c201 struct netlbl_lsm_secattr *secattr) in calipso_cache_check()
265 const struct netlbl_lsm_secattr *secattr) in calipso_cache_add()
609 const struct netlbl_lsm_secattr *secattr, in calipso_map_cat_hton()
649 struct netlbl_lsm_secattr *secattr) in calipso_map_cat_ntoh()
725 const struct netlbl_lsm_secattr *secattr) in calipso_genopt()
910 const struct netlbl_lsm_secattr *secattr) in calipso_opt_insert()
1015 struct netlbl_lsm_secattr *secattr) in calipso_opt_getattr()
1073 struct netlbl_lsm_secattr *secattr) in calipso_sock_getattr()
1127 const struct netlbl_lsm_secattr *secattr) in calipso_sock_setattr()
1191 const struct netlbl_lsm_secattr *secattr) in calipso_req_setattr()
[all …]
/openbmc/linux/security/smack/
H A Dsmack.h71 struct netlbl_lsm_secattr smk_netlabel; /* on wire labels */
285 int smk_netlbl_mls(int, char *, struct netlbl_lsm_secattr *, int);
H A Dsmack_access.c484 int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap, in smk_netlbl_mls()
H A Dsmack_lsm.c3882 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap, in smack_from_secattr()
4042 struct netlbl_lsm_secattr secattr; in smack_from_netlbl()
H A Dsmackfs.c835 struct netlbl_lsm_secattr ncats; in smk_set_cipso()
/openbmc/linux/Documentation/netlabel/
H A Dlsm_interface.rst24 'netlbl_lsm_secattr' structure in the NetLabel header file. Internally the