| /f-stack/freebsd/security/mac_partition/ |
| H A D | mac_partition.c | 112 partition_cred_check_relabel(struct ucred *cred, struct label *newlabel) in partition_cred_check_relabel() argument 125 if (SLOT(newlabel) != 0) { in partition_cred_check_relabel() 220 partition_cred_relabel(struct ucred *cred, struct label *newlabel) in partition_cred_relabel() argument 223 if (newlabel != NULL && SLOT(newlabel) != 0) in partition_cred_relabel() 224 SLOT_SET(cred->cr_label, SLOT(newlabel)); in partition_cred_relabel()
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_pipe.c | 137 struct label *newlabel) in mac_pipe_relabel() argument 141 newlabel); in mac_pipe_relabel() 199 struct label *newlabel) in mac_pipe_check_relabel() argument 206 newlabel); in mac_pipe_check_relabel() 207 MAC_CHECK_PROBE3(pipe_check_relabel, error, cred, pp, newlabel); in mac_pipe_check_relabel()
|
| H A D | mac_cred.c | 194 mac_cred_relabel(struct ucred *cred, struct label *newlabel) in mac_cred_relabel() argument 197 MAC_POLICY_PERFORM_NOSLEEP(cred_relabel, cred, newlabel); in mac_cred_relabel() 204 mac_cred_check_relabel(struct ucred *cred, struct label *newlabel) in mac_cred_check_relabel() argument 208 MAC_POLICY_CHECK_NOSLEEP(cred_check_relabel, cred, newlabel); in mac_cred_check_relabel() 209 MAC_CHECK_PROBE2(cred_check_relabel, error, cred, newlabel); in mac_cred_check_relabel()
|
| H A D | mac_socket.c | 252 struct label *newlabel) in mac_socket_relabel() argument 258 newlabel); in mac_socket_relabel() 433 struct label *newlabel) in mac_socket_check_relabel() argument 440 so->so_label, newlabel); in mac_socket_check_relabel() 441 MAC_CHECK_PROBE3(socket_check_relabel, error, cred, so, newlabel); in mac_socket_check_relabel()
|
| H A D | mac_policy.h | 136 struct label *newlabel); 169 struct label *newlabel); 193 struct label *newlabel); 211 struct label *ifplabel, struct label *newlabel); 309 struct label *newlabel); 325 struct label *oldlabel, struct label *newlabel); 422 struct label *newlabel); 446 struct label *oldlabel, struct label *newlabel); 609 struct label *newlabel);
|
| H A D | mac_vfs.c | 721 struct label *newlabel) in mac_vnode_check_relabel() argument 727 MAC_POLICY_CHECK(vnode_check_relabel, cred, vp, vp->v_label, newlabel); in mac_vnode_check_relabel() 728 MAC_CHECK_PROBE3(vnode_check_relabel, error, cred, vp, newlabel); in mac_vnode_check_relabel() 949 struct label *newlabel) in mac_vnode_relabel() argument 952 MAC_POLICY_PERFORM(vnode_relabel, cred, vp, vp->v_label, newlabel); in mac_vnode_relabel()
|
| H A D | mac_internal.h | 250 int mac_cred_check_relabel(struct ucred *cred, struct label *newlabel); 254 void mac_cred_relabel(struct ucred *cred, struct label *newlabel);
|
| H A D | mac_framework.h | 650 struct label *newlabel);
|
| /f-stack/freebsd/security/mac_lomac/ |
| H A D | mac_lomac.c | 918 new = SLOT(newlabel); in lomac_cred_check_relabel() 1019 source = SLOT(newlabel); in lomac_cred_relabel() 1107 new = SLOT(newlabel); in lomac_ifnet_check_relabel() 1247 source = SLOT(newlabel); in lomac_ifnet_relabel() 1559 struct label *pplabel, struct label *newlabel) in lomac_pipe_check_relabel() argument 1564 new = SLOT(newlabel); in lomac_pipe_check_relabel() 1644 source = SLOT(newlabel); in lomac_pipe_relabel() 1943 new = SLOT(newlabel); in lomac_socket_check_relabel() 2060 source = SLOT(newlabel); in lomac_socket_relabel() 2491 new = SLOT(newlabel); in lomac_vnode_check_relabel() [all …]
|
| /f-stack/freebsd/security/mac_biba/ |
| H A D | mac_biba.c | 833 new = SLOT(newlabel); in biba_cred_check_relabel() 934 source = SLOT(newlabel); in biba_cred_relabel() 1022 new = SLOT(newlabel); in biba_ifnet_check_relabel() 1132 source = SLOT(newlabel); in biba_ifnet_relabel() 1485 struct label *pplabel, struct label *newlabel) in biba_pipe_check_relabel() argument 1490 new = SLOT(newlabel); in biba_pipe_check_relabel() 1588 source = SLOT(newlabel); in biba_pipe_relabel() 2157 new = SLOT(newlabel); in biba_socket_check_relabel() 2274 source = SLOT(newlabel); in biba_socket_relabel() 3225 new = SLOT(newlabel); in biba_vnode_check_relabel() [all …]
|
| /f-stack/freebsd/security/mac_stub/ |
| H A D | mac_stub.c | 199 stub_cred_check_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_check_relabel() argument 312 stub_cred_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_relabel() argument 356 struct label *ifplabel, struct label *newlabel) in stub_ifnet_check_relabel() argument 385 struct label *ifplabel, struct label *newlabel) in stub_ifnet_relabel() argument 623 struct label *pplabel, struct label *newlabel) in stub_pipe_check_relabel() argument 654 struct label *pplabel, struct label *newlabel) in stub_pipe_relabel() argument 958 struct label *solabel, struct label *newlabel) in stub_socket_check_relabel() argument 1047 struct label *solabel, struct label *newlabel) in stub_socket_relabel() argument 1503 struct label *vplabel, struct label *newlabel) in stub_vnode_check_relabel() argument
|
| /f-stack/freebsd/security/mac_mls/ |
| H A D | mac_mls.c | 798 new = SLOT(newlabel); in mls_cred_check_relabel() 898 source = SLOT(newlabel); in mls_cred_relabel() 988 new = SLOT(newlabel); in mls_ifnet_check_relabel() 1054 source = SLOT(newlabel); in mls_ifnet_relabel() 1381 struct label *pplabel, struct label *newlabel) in mls_pipe_check_relabel() argument 1386 new = SLOT(newlabel); in mls_pipe_check_relabel() 1480 struct label *pplabel, struct label *newlabel) in mls_pipe_relabel() argument 1484 source = SLOT(newlabel); in mls_pipe_relabel() 1867 new = SLOT(newlabel); in mls_socket_check_relabel() 1984 source = SLOT(newlabel); in mls_socket_relabel() [all …]
|
| /f-stack/freebsd/security/mac_test/ |
| H A D | mac_test.c | 222 LABEL_CHECK(newlabel, MAGIC_CRED); in test_cred_check_relabel() 452 LABEL_CHECK(newlabel, MAGIC_CRED); in test_cred_relabel() 536 struct label *ifplabel, struct label *newlabel) in test_ifnet_check_relabel() argument 541 LABEL_CHECK(newlabel, MAGIC_IFNET); in test_ifnet_check_relabel() 640 LABEL_CHECK(newlabel, MAGIC_IFNET); in test_ifnet_relabel() 1138 struct label *pplabel, struct label *newlabel) in test_pipe_check_relabel() argument 1143 LABEL_CHECK(newlabel, MAGIC_PIPE); in test_pipe_check_relabel() 1246 LABEL_CHECK(newlabel, MAGIC_PIPE); in test_pipe_relabel() 1719 LABEL_CHECK(newlabel, MAGIC_SOCKET); in test_socket_check_relabel() 1877 LABEL_CHECK(newlabel, MAGIC_SOCKET); in test_socket_relabel() [all …]
|