Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dnetlabel.h180 struct netlbl_lsm_secattr { struct
244 struct netlbl_lsm_secattr *secattr);
247 const struct netlbl_lsm_secattr *secattr);
251 const struct netlbl_lsm_secattr *secattr);
254 struct netlbl_lsm_secattr *secattr);
258 const struct netlbl_lsm_secattr *secattr);
262 const struct netlbl_lsm_secattr *secattr);
347 static inline void netlbl_secattr_init(struct netlbl_lsm_secattr *secattr) in netlbl_secattr_init()
361 static inline void netlbl_secattr_destroy(struct netlbl_lsm_secattr *secattr) in netlbl_secattr_destroy()
380 static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags) in netlbl_secattr_alloc()
[all …]
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);
188 int cipso_v4_sock_getattr(struct sock *sk, 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()
[all …]
/linux-6.1.9/security/selinux/ss/
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()
Dmls.c566 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_lvl()
588 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_lvl()
610 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_cat()
640 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_cat()
Dservices.c3838 static void security_netlbl_cache_add(struct netlbl_lsm_secattr *secattr, in security_netlbl_cache_add()
3875 struct netlbl_lsm_secattr *secattr, in security_netlbl_secattr_to_sid()
3953 u32 sid, struct netlbl_lsm_secattr *secattr) in security_netlbl_sid_to_secattr()
/linux-6.1.9/net/netlabel/
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);
Dnetlabel_calipso.c522 int calipso_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr) in calipso_sock_getattr()
548 const struct netlbl_lsm_secattr *secattr) in calipso_sock_setattr()
588 const struct netlbl_lsm_secattr *secattr) in calipso_req_setattr()
644 struct netlbl_lsm_secattr *secattr) in calipso_getattr()
667 const struct netlbl_lsm_secattr *secattr) in calipso_skbuff_setattr()
723 const struct netlbl_lsm_secattr *secattr) in calipso_cache_add()
Dnetlabel_kapi.c979 const struct netlbl_lsm_secattr *secattr) in netlbl_sock_setattr()
1072 struct netlbl_lsm_secattr *secattr) in netlbl_sock_getattr()
1106 const struct netlbl_lsm_secattr *secattr) in netlbl_conn_setattr()
1185 const struct netlbl_lsm_secattr *secattr) in netlbl_req_setattr()
1279 const struct netlbl_lsm_secattr *secattr) in netlbl_skbuff_setattr()
1360 struct netlbl_lsm_secattr *secattr) in netlbl_skbuff_getattr()
1435 const struct netlbl_lsm_secattr *secattr) in netlbl_cache_add()
Dnetlabel_unlabeled.h226 struct netlbl_lsm_secattr *secattr);
Dnetlabel_unlabeled.c1460 struct netlbl_lsm_secattr *secattr) in netlbl_unlabel_getattr()
/linux-6.1.9/security/selinux/
Dnetlabel.c44 struct netlbl_lsm_secattr *secattr, in selinux_netlbl_sidlookup_cached()
68 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) in selinux_netlbl_sock_genattr()
72 struct netlbl_lsm_secattr *secattr; in selinux_netlbl_sock_genattr()
100 static struct netlbl_lsm_secattr *selinux_netlbl_sock_getattr( in selinux_netlbl_sock_getattr()
105 struct netlbl_lsm_secattr *secattr = sksec->nlbl_secattr; in selinux_netlbl_sock_getattr()
195 struct netlbl_lsm_secattr secattr; in selinux_netlbl_skbuff_getsid()
231 struct netlbl_lsm_secattr secattr_storage; in selinux_netlbl_skbuff_setsid()
232 struct netlbl_lsm_secattr *secattr = NULL; in selinux_netlbl_skbuff_setsid()
276 struct netlbl_lsm_secattr secattr; in selinux_netlbl_sctp_assoc_request()
329 struct netlbl_lsm_secattr secattr; in selinux_netlbl_inet_conn_request()
[all …]
/linux-6.1.9/net/ipv4/
Dcipso_ipv4.c235 struct netlbl_lsm_secattr *secattr) in cipso_v4_cache_check()
297 const struct netlbl_lsm_secattr *secattr) in cipso_v4_cache_add()
785 const struct netlbl_lsm_secattr *secattr, in cipso_v4_map_cat_rbm_hton()
848 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_rbm_ntoh()
943 const struct netlbl_lsm_secattr *secattr, in cipso_v4_map_cat_enum_hton()
980 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_enum_ntoh()
1051 const struct netlbl_lsm_secattr *secattr, in cipso_v4_map_cat_rng_hton()
1112 struct netlbl_lsm_secattr *secattr) in cipso_v4_map_cat_rng_ntoh()
1175 const struct netlbl_lsm_secattr *secattr, in cipso_v4_gentag_rbm()
1232 struct netlbl_lsm_secattr *secattr) in cipso_v4_parsetag_rbm()
[all …]
/linux-6.1.9/net/ipv6/
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 …]
/linux-6.1.9/security/selinux/include/
Dsecurity.h75 struct netlbl_lsm_secattr;
409 struct netlbl_lsm_secattr *secattr,
414 struct netlbl_lsm_secattr *secattr);
417 struct netlbl_lsm_secattr *secattr, in security_netlbl_secattr_to_sid()
425 struct netlbl_lsm_secattr *secattr) in security_netlbl_sid_to_secattr()
Dobjsec.h113 struct netlbl_lsm_secattr *nlbl_secattr; /* NetLabel sec attributes */
/linux-6.1.9/security/smack/
Dsmack.h71 struct netlbl_lsm_secattr smk_netlabel; /* on wire labels */
284 int smk_netlbl_mls(int, char *, struct netlbl_lsm_secattr *, int);
Dsmack_access.c484 int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap, in smk_netlbl_mls()
Dsmack_lsm.c3724 static struct smack_known *smack_from_secattr(struct netlbl_lsm_secattr *sap, in smack_from_secattr()
3884 struct netlbl_lsm_secattr secattr; in smack_from_netlbl()
Dsmackfs.c835 struct netlbl_lsm_secattr ncats; in smk_set_cipso()
/linux-6.1.9/Documentation/netlabel/
Dlsm_interface.rst24 'netlbl_lsm_secattr' structure in the NetLabel header file. Internally the