bin/ls/ls.c
914
mac_t label;
bin/ls/ls.c
917
error = mac_prepare_file_label(&label);
bin/ls/ls.c
935
label);
bin/ls/ls.c
938
label);
bin/ls/ls.c
943
mac_free(label);
bin/ls/ls.c
947
error = mac_to_text(label,
bin/ls/ls.c
953
mac_free(label);
bin/ls/ls.c
956
mac_free(label);
bin/ls/ls.c
989
np->label = &np->data[ulen + glen + 2
bin/ls/ls.c
991
(void)strcpy(np->label, labelstr);
bin/ls/ls.h
85
char *label;
bin/ls/print.c
244
(void)printf("%-*s ", dp->s_label, np->label);
bin/ps/extern.h
61
char *label(KINFO *, VARENT *);
bin/ps/keyword.c
114
{"label", {NULL}, "LABEL", "label", LJUST, label, 0, UNSPEC, NULL},
bin/stty/print.c
223
static const char *label;
bin/stty/print.c
233
label = lb;
bin/stty/print.c
241
col = printf("%s: %s", label, s);
crypto/heimdal/kdc/string2key.c
75
const char *label)
crypto/heimdal/kdc/string2key.c
88
printf(label, e);
crypto/heimdal/lib/asn1/asn1parse.c
270
static struct objid *new_objid(const char *label, int value);
crypto/heimdal/lib/asn1/asn1parse.c
2793
new_objid(const char *label, int value)
crypto/heimdal/lib/asn1/asn1parse.c
2797
s->label = label;
crypto/heimdal/lib/asn1/asn1parse.c
2837
if (asprintf(&m->label, "%s_%s", prefix, m->gen_name) < 0)
crypto/heimdal/lib/asn1/asn1parse.c
2839
if (m->label == NULL)
crypto/heimdal/lib/asn1/asn1parse.c
2842
fix_labels2(m->type, m->label);
crypto/heimdal/lib/asn1/asn1parse.y
1014
if (asprintf(&m->label, "%s_%s", prefix, m->gen_name) < 0)
crypto/heimdal/lib/asn1/asn1parse.y
1016
if (m->label == NULL)
crypto/heimdal/lib/asn1/asn1parse.y
1019
fix_labels2(m->type, m->label);
crypto/heimdal/lib/asn1/asn1parse.y
56
static struct objid *new_objid(const char *label, int value);
crypto/heimdal/lib/asn1/asn1parse.y
970
new_objid(const char *label, int value)
crypto/heimdal/lib/asn1/asn1parse.y
974
s->label = label;
crypto/heimdal/lib/asn1/gen.c
433
o->label ? o->label : "label-less", o->value);
crypto/heimdal/lib/asn1/gen.c
897
fprintf (headerfile, "%s = 0,\n", m->label);
crypto/heimdal/lib/asn1/gen.c
905
fprintf (headerfile, "%s%s%s\n", m->label,
crypto/heimdal/lib/asn1/gen_copy.c
111
fprintf(codefile, "case %s:\n", m->label);
crypto/heimdal/lib/asn1/gen_copy.c
149
have_ellipsis->label,
crypto/heimdal/lib/asn1/gen_decode.c
591
name, m->label);
crypto/heimdal/lib/asn1/gen_decode.c
616
name, have_ellipsis->label,
crypto/heimdal/lib/asn1/gen_encode.c
425
fprintf (codefile, "case %s: {", m->label);
crypto/heimdal/lib/asn1/gen_encode.c
452
have_ellipsis->label,
crypto/heimdal/lib/asn1/gen_free.c
119
have_ellipsis->label,
crypto/heimdal/lib/asn1/gen_free.c
95
fprintf(codefile, "case %s:\n", m->label);
crypto/heimdal/lib/asn1/gen_length.c
152
fprintf(codefile, "case %s:\n", m->label);
crypto/heimdal/lib/asn1/gen_length.c
178
have_ellipsis->label,
crypto/heimdal/lib/asn1/gen_template.c
732
m->label, isstruct ? "struct " : "",
crypto/heimdal/lib/asn1/symbol.h
147
const char *label;
crypto/heimdal/lib/asn1/symbol.h
90
char *label;
crypto/heimdal/lib/hdb/dbinfo.c
143
di->label = strdup("default");
crypto/heimdal/lib/hdb/dbinfo.c
183
return dbp->label;
crypto/heimdal/lib/hdb/dbinfo.c
229
free (di->label);
crypto/heimdal/lib/hdb/dbinfo.c
37
char *label;
crypto/heimdal/lib/hdb/dbinfo.c
50
const char *label,
crypto/heimdal/lib/hdb/dbinfo.c
67
di->label = strdup(label);
crypto/heimdal/lib/hx509/ref/pkcs11.h
231
unsigned char label[32];
crypto/heimdal/lib/hx509/ref/pkcs11.h
750
unsigned long pin_len, unsigned char *label));
crypto/heimdal/lib/hx509/softp11.c
1029
snprintf_fill((char *)pInfo->label,
crypto/heimdal/lib/hx509/softp11.c
1030
sizeof(pInfo->label),
crypto/heimdal/lib/hx509/softp11.c
421
char *label;
crypto/heimdal/lib/hx509/softp11.c
499
add_object_attribute(o, 0, CKA_LABEL, foo->label, strlen(foo->label));
crypto/heimdal/lib/hx509/softp11.c
524
add_object_attribute(o, 0, CKA_LABEL, foo->label, strlen(foo->label));
crypto/heimdal/lib/hx509/softp11.c
561
add_object_attribute(o, 0, CKA_LABEL, foo->label, strlen(foo->label));
crypto/heimdal/lib/hx509/softp11.c
607
char *label)
crypto/heimdal/lib/hx509/softp11.c
615
foo.label = label;
crypto/heimdal/lib/hx509/softp11.c
736
char *cert, *id, *label;
crypto/heimdal/lib/hx509/softp11.c
744
label = strtok_r(NULL, "\t", &s);
crypto/heimdal/lib/hx509/softp11.c
745
if (label == NULL) {
crypto/heimdal/lib/hx509/softp11.c
755
st_logf("adding: %s: %s in file %s\n", id, label, cert);
crypto/heimdal/lib/hx509/softp11.c
757
ret = add_certificate(cert, pin, id, label);
crypto/krb5/src/lib/crypto/builtin/kdf.c
105
iov[2].data = *label;
crypto/krb5/src/lib/crypto/builtin/kdf.c
34
krb5_key key, const krb5_data *label,
crypto/krb5/src/lib/crypto/builtin/kdf.c
56
iov[1].data = *label;
crypto/krb5/src/lib/crypto/builtin/kdf.c
77
const krb5_data *label, krb5_data *rnd_out)
crypto/krb5/src/lib/crypto/crypto_tests/aes-test.c
60
static void hexdump(const char *label, const char *cp, int len)
crypto/krb5/src/lib/crypto/crypto_tests/aes-test.c
62
printf("%s=", label);
crypto/krb5/src/lib/crypto/crypto_tests/camellia-test.c
58
static void hexdump(const char *label, const char *cp, int len)
crypto/krb5/src/lib/crypto/crypto_tests/camellia-test.c
60
printf("%s=", label);
crypto/krb5/src/lib/crypto/krb/checksum_etm.c
41
uint8_t label[5];
crypto/krb5/src/lib/crypto/krb/checksum_etm.c
42
krb5_data label_data = make_data(label, 5), kc = empty_data();
crypto/krb5/src/lib/crypto/krb/checksum_etm.c
46
store_32_be(usage, label);
crypto/krb5/src/lib/crypto/krb/checksum_etm.c
47
label[4] = 0x99;
crypto/krb5/src/lib/crypto/krb/checksum_etm.c
48
label_data = make_data(label, 5);
crypto/krb5/src/lib/crypto/krb/crypto_int.h
530
krb5_key key, const krb5_data *label,
crypto/krb5/src/lib/crypto/krb/crypto_int.h
544
const krb5_data *label, krb5_data *rnd_out);
crypto/krb5/src/lib/crypto/krb/enc_etm.c
59
uint8_t label[5];
crypto/krb5/src/lib/crypto/krb/enc_etm.c
60
krb5_data label_data = make_data(label, 5), ki = empty_data();
crypto/krb5/src/lib/crypto/krb/enc_etm.c
67
store_32_be(usage, label);
crypto/krb5/src/lib/crypto/krb/enc_etm.c
68
label[4] = 0xAA;
crypto/krb5/src/lib/crypto/krb/enc_etm.c
75
label[4] = 0x55;
crypto/krb5/src/lib/crypto/krb/prf_aes2.c
39
krb5_data label = string2data("prf");
crypto/krb5/src/lib/crypto/krb/prf_aes2.c
41
return k5_sp800_108_counter_hmac(ktp->hash, key, &label, in, out);
crypto/krb5/src/lib/crypto/openssl/kdf.c
106
label->data, label->length);
crypto/krb5/src/lib/crypto/openssl/kdf.c
125
const krb5_data *label, krb5_data *rnd_out)
crypto/krb5/src/lib/crypto/openssl/kdf.c
163
label->data, label->length);
crypto/krb5/src/lib/crypto/openssl/kdf.c
70
krb5_key key, const krb5_data *label,
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
45
char *label;
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
49
label = _("Challenge for Enigma Logic mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
53
label = _("Challenge for Digital Pathways mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
57
label = _("Challenge for Activcard mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
60
label = _("Challenge for Enhanced S/Key mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
63
label = _("Challenge for Traditional S/Key mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
66
label = _("Challenge for Security Dynamics mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
69
label = _("Challenge for Security Dynamics mechanism");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
72
label = _("Challenge from authentication server");
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
76
return(label);
crypto/krb5/src/lib/krb5/os/dnsglue.h
138
#define SAFE_GETUINT16(base, max, ptr, incr, s, label) \
crypto/krb5/src/lib/krb5/os/dnsglue.h
140
if (!INCR_OK(base, max, ptr, incr)) goto label; \
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
229
unsigned char label[32];
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
748
unsigned long pin_len, unsigned char *label));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3476
if (asprintf(&prompt, "%.*s PIN%s", (int) sizeof (tip->label),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3477
tip->label, warning) < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3579
for (cp = tinfo.label + sizeof(tinfo.label); cp > tinfo.label; cp--) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3583
label_len = cp - tinfo.label;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3586
tinfo.label);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3589
memcmp(cctx->token_label, tinfo.label, label_len) == 0))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3608
(int)label_len, tinfo.label) < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3614
(int)label_len, tinfo.label) < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
109
#define TRACE_PKINIT_PKCS11_SLOT(c, slot, len, label) \
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
111
slot, len, label)
crypto/krb5/src/windows/leashdll/krb5routines.c
495
char * label; /* Label for this field */
crypto/krb5/src/windows/leashdll/krb5routines.c
678
if ( pwid < strlen(tb[i].label) )
crypto/krb5/src/windows/leashdll/krb5routines.c
679
pwid = strlen(tb[i].label);
crypto/krb5/src/windows/leashdll/krb5routines.c
702
nchar = MultiByteToWideChar (CP_ACP, 0, tb[i].label ? tb[i].label : "",
crypto/krb5/src/windows/leashdll/krb5routines.c
782
len = strlen(tb[i].label) + 1 + (tb[i].len > 40 ? 40 : tb[i].len);
crypto/krb5/src/windows/leashdll/krb5routines.c
817
tb[i].label = prompts[i].prompt;
crypto/libecc/src/examples/sig/rsa/rsa.c
1300
u8 *c, u32 *clen, u32 modbits, const u8 *label, u32 label_len,
crypto/libecc/src/examples/sig/rsa/rsa.c
1344
if(label == NULL){
crypto/libecc/src/examples/sig/rsa/rsa.c
1348
input[0] = label;
crypto/libecc/src/examples/sig/rsa/rsa.c
1420
const u8 *label, u32 label_len, gen_hash_alg_type gen_hash_type,
crypto/libecc/src/examples/sig/rsa/rsa.c
1474
if(label == NULL){
crypto/libecc/src/examples/sig/rsa/rsa.c
1478
input[0] = label;
crypto/libecc/src/examples/sig/rsa/rsa.c
1555
const u8 *label, u32 label_len, gen_hash_alg_type gen_hash_type,
crypto/libecc/src/examples/sig/rsa/rsa.c
1558
return _rsaes_oaep_decrypt(priv, NULL, c, clen, m, mlen, modbits, label, label_len, gen_hash_type, mgf_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa.c
1566
const u8 *label, u32 label_len, gen_hash_alg_type gen_hash_type,
crypto/libecc/src/examples/sig/rsa/rsa.c
1569
return _rsaes_oaep_decrypt(priv, pub, c, clen, m, mlen, modbits, label, label_len, gen_hash_type, mgf_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa.h
148
u8 *c, u32 *clen, u32 modbits, const u8 *label, u32 label_len,
crypto/libecc/src/examples/sig/rsa/rsa.h
152
u8 *m, u32 *mlen, u32 modbits, const u8 *label, u32 label_len,
crypto/libecc/src/examples/sig/rsa/rsa.h
155
u8 *m, u32 *mlen, u32 modbits, const u8 *label, u32 label_len,
crypto/openssh/pkcs11.h
232
unsigned char label[32];
crypto/openssh/pkcs11.h
750
unsigned long pin_len, unsigned char *label));
crypto/openssh/regress/unittests/authopt/tests.c
140
#define FAIL_TEST(label, keywords) \
crypto/openssh/regress/unittests/authopt/tests.c
142
TEST_START("sshauthopt_parse invalid " label); \
crypto/openssh/regress/unittests/authopt/tests.c
256
#define ARRAY_TEST(label, keywords, var, nvar, val) \
crypto/openssh/regress/unittests/authopt/tests.c
258
TEST_START("sshauthopt_parse " label); \
crypto/openssh/regress/unittests/authopt/tests.c
387
#define PREPARE(label, keyname, keywords) \
crypto/openssh/regress/unittests/authopt/tests.c
390
TEST_START("sshauthopt_merge " label); \
crypto/openssh/regress/unittests/authopt/tests.c
422
#define FLAG_CASE(keybase, label, keyname, keywords, mostly_off, var, val) \
crypto/openssh/regress/unittests/authopt/tests.c
424
PREPARE(keybase " " label, keyname, keywords); \
crypto/openssh/ssh-pkcs11-client.c
632
char *label;
crypto/openssh/ssh-pkcs11-client.c
661
(r = sshbuf_get_cstring(msg, &label, NULL)) != 0)
crypto/openssh/ssh-pkcs11-client.c
668
(*labelsp)[i] = label;
crypto/openssh/ssh-pkcs11-client.c
670
free(label);
crypto/openssh/ssh-pkcs11-helper.c
105
ki->providername, ki->label);
crypto/openssh/ssh-pkcs11-helper.c
56
char *providername, *label;
crypto/openssh/ssh-pkcs11-helper.c
69
add_key(struct sshkey *k, char *name, char *label)
crypto/openssh/ssh-pkcs11-helper.c
76
ki->label = xstrdup(label);
crypto/openssh/ssh-pkcs11-helper.c
90
free(ki->label);
crypto/openssh/ssh-pkcs11.c
1136
char *label;
crypto/openssh/ssh-pkcs11.c
1179
label = NULL;
crypto/openssh/ssh-pkcs11.c
1183
&key, &label) != 0) {
crypto/openssh/ssh-pkcs11.c
1205
(*labelsp)[*nkeys] = xstrdup((char *)label);
crypto/openssh/ssh-pkcs11.c
1261
CK_UTF8CHAR label[256];
crypto/openssh/ssh-pkcs11.c
1277
key_attr[1].pValue = &label;
crypto/openssh/ssh-pkcs11.c
1278
key_attr[1].ulValueLen = sizeof(label) - 1;
crypto/openssh/ssh-pkcs11.c
1286
label[key_attr[1].ulValueLen] = '\0';
crypto/openssh/ssh-pkcs11.c
1319
(*labelsp)[*nkeys] = xstrdup((char *)label);
crypto/openssh/ssh-pkcs11.c
1343
char *label, CK_ULONG bits, CK_BYTE keyid, u_int32_t *err)
crypto/openssh/ssh-pkcs11.c
1346
char *plabel = label ? label : "";
crypto/openssh/ssh-pkcs11.c
1463
char *label, CK_ULONG bits, CK_BYTE keyid, u_int32_t *err)
crypto/openssh/ssh-pkcs11.c
1466
char *plabel = label ? label : "";
crypto/openssh/ssh-pkcs11.c
1644
RMSPACE(token->label), RMSPACE(token->manufacturerID),
crypto/openssh/ssh-pkcs11.c
1724
pkcs11_gakp(char *provider_id, char *pin, unsigned int slotidx, char *label,
crypto/openssh/ssh-pkcs11.c
1759
if ((k = pkcs11_rsa_generate_private_key(p, slotidx, label,
crypto/openssh/ssh-pkcs11.c
1766
if ((k = pkcs11_ecdsa_generate_private_key(p, slotidx, label,
crypto/openssh/ssh-pkcs11.c
264
si->token.label);
crypto/openssl/apps/fipsinstall.c
349
static int print_mac(BIO *bio, const char *label, const unsigned char *mac,
crypto/openssl/apps/fipsinstall.c
358
ret = BIO_printf(bio, "%s = %s\n", label, hexstr);
crypto/openssl/crypto/cms/cms_rsa.c
102
if (label != NULL) {
crypto/openssl/crypto/cms/cms_rsa.c
103
unsigned char *dup_label = OPENSSL_memdup(label, labellen);
crypto/openssl/crypto/cms/cms_rsa.c
130
unsigned char *label;
crypto/openssl/crypto/cms/cms_rsa.c
149
labellen = EVP_PKEY_CTX_get0_rsa_oaep_label(pkctx, &label);
crypto/openssl/crypto/cms/cms_rsa.c
164
if (!ASN1_OCTET_STRING_set(los, label, labellen))
crypto/openssl/crypto/cms/cms_rsa.c
45
const unsigned char *label = NULL;
crypto/openssl/crypto/cms/cms_rsa.c
92
label = ASN1_STRING_get0_data(parameter);
crypto/openssl/crypto/encode_decode/encoder_lib.c
706
int ossl_bio_print_labeled_bignum(BIO *out, const char *label, const BIGNUM *bn)
crypto/openssl/crypto/encode_decode/encoder_lib.c
718
if (label == NULL) {
crypto/openssl/crypto/encode_decode/encoder_lib.c
719
label = "";
crypto/openssl/crypto/encode_decode/encoder_lib.c
724
return BIO_printf(out, "%s%s0\n", label, post_label_spc);
crypto/openssl/crypto/encode_decode/encoder_lib.c
733
label, post_label_spc, neg, words[0], neg, words[0]);
crypto/openssl/crypto/encode_decode/encoder_lib.c
745
if (BIO_printf(out, "%s%s\n", label, neg) <= 0)
crypto/openssl/crypto/encode_decode/encoder_lib.c
785
int ossl_bio_print_labeled_buf(BIO *out, const char *label,
crypto/openssl/crypto/encode_decode/encoder_lib.c
790
if (BIO_printf(out, "%s\n", label) <= 0)
crypto/openssl/crypto/hpke/hpke.c
1248
const unsigned char *label, size_t labellen)
crypto/openssl/crypto/hpke/hpke.c
1264
if (labellen > 0 && label == NULL) {
crypto/openssl/crypto/hpke/hpke.c
1295
label, labellen);
crypto/openssl/crypto/hpke/hpke_util.c
300
const char *label,
crypto/openssl/crypto/hpke/hpke_util.c
313
labellen = strlen(label);
crypto/openssl/crypto/hpke/hpke_util.c
325
|| !WPACKET_memcpy(&pkt, label, labellen)
crypto/openssl/crypto/hpke/hpke_util.c
350
const char *label,
crypto/openssl/crypto/hpke/hpke_util.c
363
labellen = strlen(label);
crypto/openssl/crypto/hpke/hpke_util.c
376
|| !WPACKET_memcpy(&pkt, label, labellen)
crypto/openssl/crypto/info.c
187
#define add_seeds_stringlist(label, strlist) \
crypto/openssl/crypto/info.c
189
add_seeds_string(label "("); \
crypto/openssl/crypto/rsa/rsa_lib.c
1172
int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen)
crypto/openssl/crypto/rsa/rsa_lib.c
1180
void *plabel = label;
crypto/openssl/crypto/rsa/rsa_lib.c
1194
if (label == NULL && llen == 0)
crypto/openssl/crypto/rsa/rsa_lib.c
1207
OPENSSL_free(label);
crypto/openssl/crypto/rsa/rsa_lib.c
1211
int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label)
crypto/openssl/crypto/rsa/rsa_lib.c
1227
(void **)label, 0);
crypto/openssl/crypto/rsa/rsa_pk1.c
279
const char *label, int llen,
crypto/openssl/crypto/rsa/rsa_pk1.c
338
if (HMAC_Update(hmac, (unsigned char *)label, llen) <= 0) {
crypto/openssl/demos/encrypt/rsa_encrypt.c
62
static unsigned char label[] = "label";
crypto/openssl/demos/encrypt/rsa_encrypt.c
69
label, sizeof(label));
crypto/openssl/include/internal/encoder.h
19
int ossl_bio_print_labeled_bignum(BIO *out, const char *label,
crypto/openssl/include/internal/encoder.h
21
int ossl_bio_print_labeled_buf(BIO *out, const char *label,
crypto/openssl/include/internal/hpke_util.h
86
const char *label,
crypto/openssl/include/internal/hpke_util.h
93
const char *label,
crypto/openssl/include/openssl/hpke.h
137
const unsigned char *label,
crypto/openssl/include/openssl/rsa.h
170
int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen);
crypto/openssl/include/openssl/rsa.h
171
int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label);
crypto/openssl/include/openssl/tls1.h
260
const char *label, size_t llen,
crypto/openssl/include/openssl/tls1.h
272
size_t olen, const char *label,
crypto/openssl/providers/implementations/kdfs/hkdf.c
137
OPENSSL_free(ctx->label);
crypto/openssl/providers/implementations/kdfs/hkdf.c
158
|| !ossl_prov_memdup(src->label, src->label_len,
crypto/openssl/providers/implementations/kdfs/hkdf.c
159
&dest->label, &dest->label_len)
crypto/openssl/providers/implementations/kdfs/hkdf.c
644
const unsigned char *label, size_t labellen,
crypto/openssl/providers/implementations/kdfs/hkdf.c
662
|| !WPACKET_memcpy(&pkt, label, labellen)
crypto/openssl/providers/implementations/kdfs/hkdf.c
683
const unsigned char *label,
crypto/openssl/providers/implementations/kdfs/hkdf.c
721
prefix, prefixlen, label, labellen,
crypto/openssl/providers/implementations/kdfs/hkdf.c
823
ctx->label, ctx->label_len,
crypto/openssl/providers/implementations/kdfs/hkdf.c
829
ctx->label, ctx->label_len,
crypto/openssl/providers/implementations/kdfs/hkdf.c
867
OPENSSL_free(ctx->label);
crypto/openssl/providers/implementations/kdfs/hkdf.c
868
ctx->label = NULL;
crypto/openssl/providers/implementations/kdfs/hkdf.c
869
if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->label, 0,
crypto/openssl/providers/implementations/kdfs/hkdf.c
92
unsigned char *label;
crypto/openssl/providers/implementations/kdfs/kbkdf.c
148
OPENSSL_clear_free(ctx->label, ctx->label_len);
crypto/openssl/providers/implementations/kdfs/kbkdf.c
167
|| !ossl_prov_memdup(src->label, src->label_len,
crypto/openssl/providers/implementations/kdfs/kbkdf.c
168
&dest->label, &dest->label_len)
crypto/openssl/providers/implementations/kdfs/kbkdf.c
208
size_t iv_len, unsigned char *label, size_t label_len,
crypto/openssl/providers/implementations/kdfs/kbkdf.c
246
|| !EVP_MAC_update(ctx, label, label_len)
crypto/openssl/providers/implementations/kdfs/kbkdf.c
356
ret = derive(ctx->ctx_init, ctx->mode, ctx->iv, ctx->iv_len, ctx->label,
crypto/openssl/providers/implementations/kdfs/kbkdf.c
423
&ctx->label, &ctx->label_len)
crypto/openssl/providers/implementations/kdfs/kbkdf.c
459
if ((ctx->is_kmac && !kmac_init(ctx->ctx_init, ctx->label, ctx->label_len))
crypto/openssl/providers/implementations/kdfs/kbkdf.c
67
unsigned char *label;
crypto/openssl/ssl/ssl_lib.c
3811
const char *label, size_t llen,
crypto/openssl/ssl/ssl_lib.c
3824
return sc->ssl.method->ssl3_enc->export_keying_material(sc, out, olen, label,
crypto/openssl/ssl/ssl_lib.c
3831
const char *label, size_t llen,
crypto/openssl/ssl/ssl_lib.c
3843
return tls13_export_keying_material_early(sc, out, olen, label, llen,
crypto/openssl/ssl/ssl_lib.c
7029
const char *label,
crypto/openssl/ssl/ssl_lib.c
7033
return nss_keylog_int(label,
crypto/openssl/ssl/ssl_local.h
2784
const unsigned char *label, size_t labellen,
crypto/openssl/ssl/ssl_local.h
2790
const unsigned char *label, size_t labellen,
crypto/openssl/ssl/ssl_local.h
2816
const char *label, size_t llen,
crypto/openssl/ssl/ssl_local.h
2821
const char *label, size_t llen,
crypto/openssl/ssl/ssl_local.h
2826
const char *label, size_t llen,
crypto/openssl/ssl/ssl_local.h
2956
__owur int ssl_log_secret(SSL_CONNECTION *s, const char *label,
crypto/openssl/ssl/statem/extensions.c
1471
const unsigned char *label;
crypto/openssl/ssl/statem/extensions.c
1492
label = external_label;
crypto/openssl/ssl/statem/extensions.c
1495
label = resumption_label;
crypto/openssl/ssl/statem/extensions.c
1531
if (!tls13_hkdf_expand(s, md, early_secret, label, labelsize, hash,
crypto/openssl/ssl/t1_enc.c
434
size_t olen, const char *label, size_t llen,
crypto/openssl/ssl/t1_enc.c
465
memcpy(val + currentvalpos, (unsigned char *)label, llen);
crypto/openssl/ssl/tls13_enc.c
102
const unsigned char *label, size_t labellen,
crypto/openssl/ssl/tls13_enc.c
110
secret, label, labellen, data, datalen,
crypto/openssl/ssl/tls13_enc.c
354
const unsigned char *label,
crypto/openssl/ssl/tls13_enc.c
36
const unsigned char *label, size_t labellen,
crypto/openssl/ssl/tls13_enc.c
371
if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen,
crypto/openssl/ssl/tls13_enc.c
502
const unsigned char *label;
crypto/openssl/ssl/tls13_enc.c
524
label = client_early_traffic;
crypto/openssl/ssl/tls13_enc.c
616
label = client_handshake_traffic;
crypto/openssl/ssl/tls13_enc.c
631
label = client_application_traffic;
crypto/openssl/ssl/tls13_enc.c
652
label = server_handshake_traffic;
crypto/openssl/ssl/tls13_enc.c
657
label = server_application_traffic;
crypto/openssl/ssl/tls13_enc.c
676
if (label == client_application_traffic) {
crypto/openssl/ssl/tls13_enc.c
696
insecret, hash, label, labellen, secret, key,
crypto/openssl/ssl/tls13_enc.c
702
if (label == server_application_traffic) {
crypto/openssl/ssl/tls13_enc.c
719
} else if (label == client_application_traffic)
crypto/openssl/ssl/tls13_enc.c
735
if (!s->server && label == client_early_traffic)
crypto/openssl/ssl/tls13_enc.c
82
(unsigned char *)label, labellen);
crypto/openssl/ssl/tls13_enc.c
848
const char *label, size_t llen,
crypto/openssl/ssl/tls13_enc.c
873
(const unsigned char *)label, llen,
crypto/openssl/ssl/tls13_enc.c
888
const char *label, size_t llen,
crypto/openssl/ssl/tls13_enc.c
935
(const unsigned char *)label, llen,
crypto/openssl/test/endecode_test.c
148
typedef void(dumper)(const char *label, const void *data, size_t data_len);
crypto/openssl/test/endecode_test.c
517
static void dump_der(const char *label, const void *data, size_t data_len)
crypto/openssl/test/endecode_test.c
519
test_output_memory(label, data, data_len);
crypto/openssl/test/endecode_test.c
522
static void dump_pem(const char *label, const void *data, size_t data_len)
crypto/openssl/test/endecode_test.c
524
test_output_string(label, data, data_len - 1);
crypto/openssl/test/evp_kdf_test.c
1430
char *label = "prf", *digest = "sha256", *prf_input = "test",
crypto/openssl/test/evp_kdf_test.c
1493
OSSL_KDF_PARAM_SALT, label, strlen(label));
crypto/openssl/test/evp_kdf_test.c
1512
char *label = "prf", *digest = "sha384", *prf_input = "test",
crypto/openssl/test/evp_kdf_test.c
1607
OSSL_KDF_PARAM_SALT, label, strlen(label));
crypto/openssl/test/evp_kdf_test.c
1842
static unsigned char label[] = {
crypto/openssl/test/evp_kdf_test.c
1900
label, sizeof(label));
crypto/openssl/test/sslapitest.c
6571
const char label[LONG_LABEL_LEN + 1] = "test label";
crypto/openssl/test/sslapitest.c
6625
sizeof(ckeymat1), label,
crypto/openssl/test/sslapitest.c
6641
sizeof(ckeymat1), label,
crypto/openssl/test/sslapitest.c
6658
sizeof(ckeymat1), label,
crypto/openssl/test/sslapitest.c
6663
sizeof(ckeymat2), label,
crypto/openssl/test/sslapitest.c
6669
sizeof(ckeymat3), label,
crypto/openssl/test/sslapitest.c
6676
sizeof(ckeymat4), label,
crypto/openssl/test/sslapitest.c
6682
sizeof(skeymat1), label,
crypto/openssl/test/sslapitest.c
6688
sizeof(skeymat2), label,
crypto/openssl/test/sslapitest.c
6694
sizeof(skeymat3), label,
crypto/openssl/test/sslapitest.c
6700
sizeof(skeymat4), label,
crypto/openssl/test/sslapitest.c
6764
static const char label[] = "test label";
crypto/openssl/test/sslapitest.c
6790
clientssl, ckeymat1, sizeof(ckeymat1), label,
crypto/openssl/test/sslapitest.c
6791
sizeof(label) - 1, context, sizeof(context) - 1),
crypto/openssl/test/sslapitest.c
6794
clientssl, ckeymat2, sizeof(ckeymat2), label,
crypto/openssl/test/sslapitest.c
6795
sizeof(label) - 1, emptycontext, 0),
crypto/openssl/test/sslapitest.c
6798
serverssl, skeymat1, sizeof(skeymat1), label,
crypto/openssl/test/sslapitest.c
6799
sizeof(label) - 1, context, sizeof(context) - 1),
crypto/openssl/test/sslapitest.c
6802
serverssl, skeymat2, sizeof(skeymat2), label,
crypto/openssl/test/sslapitest.c
6803
sizeof(label) - 1, emptycontext, 0),
crypto/openssl/test/tls13secretstest.c
189
const char *label,
crypto/openssl/test/tls13secretstest.c
243
const unsigned char *label, size_t labellen,
crypto/openssl/test/tls13secretstest.c
259
if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize,
lib/geom/label/geom_label.c
121
const char *name, *label;
lib/geom/label/geom_label.c
145
label = gctl_get_ascii(req, "arg0");
lib/geom/label/geom_label.c
147
strlcpy(md.md_label, label, sizeof(md.md_label));
lib/geom/part/geom_part.c
1010
label = argv[4];
lib/geom/part/geom_part.c
1014
label = argv[4];
lib/geom/part/geom_part.c
1029
if (rl != 0 && label != NULL)
lib/geom/part/geom_part.c
908
const char *s, *flags, *errstr, *label;
lib/geom/part/geom_part.c
978
label = pline = NULL;
lib/libbsdstat/bsdstat.c
102
fprintf(fd, "%*s", f->width, f->label);
lib/libbsdstat/bsdstat.h
46
const char* label; /* printed header label */
lib/libc/gen/fmtmsg.c
112
printfmt(char *msgverb, long class, const char *label, int sev,
lib/libc/gen/fmtmsg.c
120
if (label != MM_NULLLBL)
lib/libc/gen/fmtmsg.c
121
size += strlen(label);
lib/libc/gen/fmtmsg.c
135
if (strcmp(comp, "label") == 0 && label != MM_NULLLBL) {
lib/libc/gen/fmtmsg.c
137
strlcat(output, label, size);
lib/libc/gen/fmtmsg.c
48
fmtmsg(long class, const char *label, int sev, const char *text,
lib/libc/gen/fmtmsg.c
68
output = printfmt(msgverb, class, label, sev, text, action,
lib/libc/gen/fmtmsg.c
80
output = printfmt(DFLT_MSGVERB, class, label, sev, text,
lib/libc/gen/getgrent.c
1003
label = buf;
lib/libc/gen/getgrent.c
1011
label = buf;
lib/libc/gen/getgrent.c
1014
hes = hesiod_resolve(ctx, label,
lib/libc/gen/getgrent.c
958
const char *name, *label;
lib/libc/gen/getgrent.c
997
label = name;
lib/libc/gen/getpwent.c
1096
const char *name, *label;
lib/libc/gen/getpwent.c
1135
label = name;
lib/libc/gen/getpwent.c
1141
label = buf;
lib/libc/gen/getpwent.c
1149
label = buf;
lib/libc/gen/getpwent.c
1152
hes = hesiod_resolve(ctx, label,
lib/libc/nameser/ns_name.c
217
u_char *label, *bp, *eom;
lib/libc/nameser/ns_name.c
224
label = bp++;
lib/libc/nameser/ns_name.c
234
&label, &bp, eom))
lib/libc/nameser/ns_name.c
240
label = bp++;
lib/libc/nameser/ns_name.c
274
c = (bp - label - 1);
lib/libc/nameser/ns_name.c
279
if (label >= eom) {
lib/libc/nameser/ns_name.c
283
*label = c;
lib/libc/nameser/ns_name.c
305
label = bp++;
lib/libc/nameser/ns_name.c
314
c = (bp - label - 1);
lib/libc/nameser/ns_name.c
320
if (label >= eom) {
lib/libc/nameser/ns_name.c
324
*label = c;
lib/libc/net/getaddrinfo.c
1006
dst1->aio_srcpolicy->pc_policy.label ==
lib/libc/net/getaddrinfo.c
1007
dst1->aio_dstpolicy->pc_policy.label &&
lib/libc/net/getaddrinfo.c
1009
dst2->aio_srcpolicy->pc_policy.label !=
lib/libc/net/getaddrinfo.c
1010
dst2->aio_dstpolicy->pc_policy.label)) {
lib/libc/net/getaddrinfo.c
1014
dst2->aio_srcpolicy->pc_policy.label ==
lib/libc/net/getaddrinfo.c
1015
dst2->aio_dstpolicy->pc_policy.label &&
lib/libc/net/getaddrinfo.c
1017
dst1->aio_srcpolicy->pc_policy.label !=
lib/libc/net/getaddrinfo.c
1018
dst1->aio_dstpolicy->pc_policy.label)) {
lib/libc/net/name6.c
1000
dst1->aio_srcpolicy->pc_policy.label !=
lib/libc/net/name6.c
1001
dst1->aio_dstpolicy->pc_policy.label)) {
lib/libc/net/name6.c
989
dst1->aio_srcpolicy->pc_policy.label ==
lib/libc/net/name6.c
990
dst1->aio_dstpolicy->pc_policy.label &&
lib/libc/net/name6.c
992
dst2->aio_srcpolicy->pc_policy.label !=
lib/libc/net/name6.c
993
dst2->aio_dstpolicy->pc_policy.label)) {
lib/libc/net/name6.c
997
dst2->aio_srcpolicy->pc_policy.label ==
lib/libc/net/name6.c
998
dst2->aio_dstpolicy->pc_policy.label &&
lib/libc/posix1e/mac_exec.c
41
mac_execve(char *fname, char **argv, char **envv, struct mac *label)
lib/libc/posix1e/mac_exec.c
44
return (__mac_execve(fname, argv, envv, label));
lib/libc/posix1e/mac_get.c
45
mac_get_fd(int fd, struct mac *label)
lib/libc/posix1e/mac_get.c
48
return (__mac_get_fd(fd, label));
lib/libc/posix1e/mac_get.c
52
mac_get_file(const char *path, struct mac *label)
lib/libc/posix1e/mac_get.c
55
return (__mac_get_file(path, label));
lib/libc/posix1e/mac_get.c
59
mac_get_link(const char *path, struct mac *label)
lib/libc/posix1e/mac_get.c
62
return (__mac_get_link(path, label));
lib/libc/posix1e/mac_get.c
66
mac_get_peer(int fd, struct mac *label)
lib/libc/posix1e/mac_get.c
70
len = sizeof(*label);
lib/libc/posix1e/mac_get.c
71
return (getsockopt(fd, SOL_SOCKET, SO_PEERLABEL, label, &len));
lib/libc/posix1e/mac_get.c
75
mac_get_pid(pid_t pid, struct mac *label)
lib/libc/posix1e/mac_get.c
78
return (__mac_get_pid(pid, label));
lib/libc/posix1e/mac_get.c
82
mac_get_proc(struct mac *label)
lib/libc/posix1e/mac_get.c
85
return (__mac_get_proc(label));
lib/libc/posix1e/mac_set.c
43
mac_set_fd(int fd, struct mac *label)
lib/libc/posix1e/mac_set.c
46
return (__mac_set_fd(fd, label));
lib/libc/posix1e/mac_set.c
50
mac_set_file(const char *path, struct mac *label)
lib/libc/posix1e/mac_set.c
53
return (__mac_set_file(path, label));
lib/libc/posix1e/mac_set.c
57
mac_set_link(const char *path, struct mac *label)
lib/libc/posix1e/mac_set.c
60
return (__mac_set_link(path, label));
lib/libc/posix1e/mac_set.c
64
mac_set_proc(struct mac *label)
lib/libc/posix1e/mac_set.c
67
return (__mac_set_proc(label));
lib/libc/stdtime/strftime.c
128
label:
lib/libc/stdtime/strftime.c
193
goto label;
lib/libc/stdtime/strftime.c
210
goto label;
lib/libc/stdtime/strftime.c
548
goto label;
lib/libc/stdtime/strftime.c
553
goto label;
lib/libc/stdtime/strftime.c
558
goto label;
lib/libc/stdtime/strptime.c
115
label:
lib/libc/stdtime/strptime.c
166
goto label;
lib/libc/stdtime/strptime.c
172
goto label;
lib/libc/tests/gen/fmtmsg_test.c
157
run_test(long classification, const char *label, int severity,
lib/libc/tests/gen/fmtmsg_test.c
177
if (fmtmsg(classification, label, severity, text, action, tag)
lib/libc/tests/gen/fmtmsg_test.c
232
result = run_test(t->classification, t->label, t->severity,
lib/libc/tests/gen/fmtmsg_test.c
39
static char *run_test(long classification, const char *label, int severity,
lib/libc/tests/gen/fmtmsg_test.c
44
const char *label;
lib/libdpv/util.c
58
shell_spawn_pipecmd(const char *cmd, const char *label, pid_t *pid)
lib/libdpv/util.c
69
if (label != NULL && fmtcheck(cmd, "%s") == cmd)
lib/libdpv/util.c
70
len = snprintf(cmdbuf, CMDBUFMAX, cmd, label);
lib/libpfctl/libpfctl.c
1062
r->label[labelcount][0] != 0) {
lib/libpfctl/libpfctl.c
1064
r->label[labelcount]);
lib/libpfctl/libpfctl.c
1243
snl_add_msg_attr_rule_labels(nw, PF_RT_LABELS, r->label);
lib/libpfctl/libpfctl.c
1632
{ .type = PF_RT_LABELS, .off = _OUT(r.label), .arg = &rule_labels_parser,.cb = snl_attr_get_nested_pf_rule_labels },
lib/libpfctl/libpfctl.c
2119
snl_add_msg_attr_string(&nw, PF_CS_LABEL, kill->label);
lib/libpfctl/libpfctl.c
730
strlcpy(rule->label[i], labels[i], PF_RULE_LABEL_SIZE);
lib/libpfctl/libpfctl.c
877
strlcpy(rule->label[i], labels[i], PF_RULE_LABEL_SIZE);
lib/libpfctl/libpfctl.h
184
char label[PF_RULE_MAX_LABEL_COUNT][PF_RULE_LABEL_SIZE];
lib/libpfctl/libpfctl.h
351
char label[PF_RULE_LABEL_SIZE];
lib/libpfctl/libpfctl.h
90
char label[PF_RULE_MAX_LABEL_COUNT][PF_RULE_LABEL_SIZE];
lib/libutil/login_class.c
591
mac_t label;
lib/libutil/login_class.c
595
if (mac_from_text(&label, label_string) == -1) {
lib/libutil/login_class.c
602
if (mac_set_proc(label) == -1)
lib/libutil/login_class.c
606
mac_free(label);
lib/libveriexec/veriexec_get.c
109
strlcpy(buf, params.label, bufsz);
lib/libveriexec/veriexec_get.c
112
cp = strdup(params.label);
lib/libveriexec/veriexec_get.c
147
strlcpy(buf, params.label, bufsz);
lib/libveriexec/veriexec_get.c
150
cp = strdup(params.label);
lib/libveriexec/veriexec_get.c
166
check_label_want(const char *label, size_t labellen,
lib/libveriexec/veriexec_get.c
173
(cp = strstr(label, want)) != NULL) {
lib/libveriexec/veriexec_get.c
174
if (cp == label || cp[-1] == ',') {
lib/libveriexec/veriexec_get.c
207
return check_label_want(params.label, params.labellen,
lib/libveriexec/veriexec_get.c
237
return check_label_want(params.label, params.labellen,
lib/libveriexec/veriexec_get.c
336
params.label,
libexec/pppoed/pppoed.c
502
const char *label, *prog, *provider, *acname;
libexec/pppoed/pppoed.c
512
label = NULL;
libexec/pppoed/pppoed.c
540
label = optarg;
libexec/pppoed/pppoed.c
560
if (exec != NULL && label != NULL)
libexec/pppoed/pppoed.c
564
if (label == NULL)
libexec/pppoed/pppoed.c
565
label = provider;
libexec/pppoed/pppoed.c
566
if (label == NULL) {
libexec/pppoed/pppoed.c
571
exec = (char *)alloca(sizeof DEFAULT_EXEC_PREFIX + strlen(label));
libexec/pppoed/pppoed.c
574
sizeof DEFAULT_EXEC_PREFIX + strlen(label));
libexec/pppoed/pppoed.c
578
strcpy(exec + sizeof DEFAULT_EXEC_PREFIX - 1, label);
sbin/bsdlabel/bsdlabel.c
609
struct disklabel label;
sbin/bsdlabel/bsdlabel.c
627
bzero((char *)&label, sizeof(label));
sbin/bsdlabel/bsdlabel.c
628
c = getasciilabel(fp, &label);
sbin/bsdlabel/bsdlabel.c
631
lab = label;
sbin/ifconfig/ifmac.c
56
mac_t label;
sbin/ifconfig/ifmac.c
62
if (mac_prepare_ifnet_label(&label) == -1)
sbin/ifconfig/ifmac.c
64
ifr.ifr_ifru.ifru_data = (void *)label;
sbin/ifconfig/ifmac.c
69
if (mac_to_text(label, &label_text) == -1)
sbin/ifconfig/ifmac.c
77
mac_free(label);
sbin/ifconfig/ifmac.c
84
mac_t label;
sbin/ifconfig/ifmac.c
87
if (mac_from_text(&label, val) == -1) {
sbin/ifconfig/ifmac.c
94
ifr.ifr_ifru.ifru_data = (void *)label;
sbin/ifconfig/ifmac.c
97
mac_free(label);
sbin/mdconfig/mdconfig.c
505
const char *type, *file, *label;
sbin/mdconfig/mdconfig.c
563
label = geom_config_get(gc, "label");
sbin/mdconfig/mdconfig.c
564
if (label == NULL)
sbin/mdconfig/mdconfig.c
565
label = "-";
sbin/mdconfig/mdconfig.c
566
printf("\t%s", label);
sbin/mdconfig/mdconfig.c
568
file = label = NULL;
sbin/natd/natd.c
110
static void SyslogPacket (struct ip*, int priority, const char *label);
sbin/natd/natd.c
833
static void SyslogPacket (struct ip* ip, int priority, const char *label)
sbin/natd/natd.c
835
syslog (priority, "%s %s", label, FormatPacket (ip));
sbin/pfctl/parse.y
1419
| label {
sbin/pfctl/parse.y
1424
filter_opts.label[filter_opts.labelcount++] = $1;
sbin/pfctl/parse.y
1738
antispoof_opt : label {
sbin/pfctl/parse.y
1743
antispoof_opts.label[antispoof_opts.labelcount++] = $1;
sbin/pfctl/parse.y
303
char *label[PF_RULE_MAX_LABEL_COUNT];
sbin/pfctl/parse.y
3284
| label {
sbin/pfctl/parse.y
3289
filter_opts.label[filter_opts.labelcount++] = $1;
sbin/pfctl/parse.y
335
char *label[PF_RULE_MAX_LABEL_COUNT];
sbin/pfctl/parse.y
4955
label : LABEL STRING {
sbin/pfctl/parse.y
6068
expand_label_str(char *label, size_t len, const char *srch, const char *repl)
sbin/pfctl/parse.y
6075
p = q = label;
sbin/pfctl/parse.y
6086
strlcpy(label, tmp, len); /* always fits */
sbin/pfctl/parse.y
6091
expand_label_if(const char *name, char *label, size_t len, const char *ifname)
sbin/pfctl/parse.y
6093
if (strstr(label, name) != NULL) {
sbin/pfctl/parse.y
6095
expand_label_str(label, len, name, "any");
sbin/pfctl/parse.y
6097
expand_label_str(label, len, name, ifname);
sbin/pfctl/parse.y
6102
expand_label_addr(const char *name, char *label, size_t len, sa_family_t af,
sbin/pfctl/parse.y
6107
if (strstr(label, name) != NULL) {
sbin/pfctl/parse.y
6151
expand_label_str(label, len, name, tmp_not);
sbin/pfctl/parse.y
6153
expand_label_str(label, len, name, tmp);
sbin/pfctl/parse.y
6158
expand_label_port(const char *name, char *label, size_t len,
sbin/pfctl/parse.y
6163
if (strstr(label, name) != NULL) {
sbin/pfctl/parse.y
6184
expand_label_str(label, len, name, op);
sbin/pfctl/parse.y
6189
expand_label_proto(const char *name, char *label, size_t len, u_int8_t proto)
sbin/pfctl/parse.y
6194
if (strstr(label, name) != NULL) {
sbin/pfctl/parse.y
6197
expand_label_str(label, len, name, protoname);
sbin/pfctl/parse.y
6200
expand_label_str(label, len, name, n);
sbin/pfctl/parse.y
6206
expand_label_nr(const char *name, char *label, size_t len,
sbin/pfctl/parse.y
6211
if (strstr(label, name) != NULL) {
sbin/pfctl/parse.y
6213
expand_label_str(label, len, name, n);
sbin/pfctl/parse.y
6218
expand_label(char *label, size_t len, struct pfctl_rule *r)
sbin/pfctl/parse.y
6220
expand_label_if("$if", label, len, r->ifname);
sbin/pfctl/parse.y
6221
expand_label_addr("$srcaddr", label, len, r->af, &r->src);
sbin/pfctl/parse.y
6222
expand_label_addr("$dstaddr", label, len, r->af, &r->dst);
sbin/pfctl/parse.y
6223
expand_label_port("$srcport", label, len, &r->src);
sbin/pfctl/parse.y
6224
expand_label_port("$dstport", label, len, &r->dst);
sbin/pfctl/parse.y
6225
expand_label_proto("$proto", label, len, r->proto);
sbin/pfctl/parse.y
6226
expand_label_nr("$nr", label, len, r);
sbin/pfctl/parse.y
642
%type <v.string> label stringall tag anchorname
sbin/pfctl/parse.y
6825
char label[PF_RULE_MAX_LABEL_COUNT][PF_RULE_LABEL_SIZE];
sbin/pfctl/parse.y
6831
memcpy(label, r->label, sizeof(r->label));
sbin/pfctl/parse.y
6832
assert(sizeof(r->label) == sizeof(label));
sbin/pfctl/parse.y
6887
memcpy(r->label, label, sizeof(r->label));
sbin/pfctl/parse.y
7978
if (strlcpy(r->label[i], s[i], sizeof(r->label[0])) >=
sbin/pfctl/parse.y
7979
sizeof(r->label[0])) {
sbin/pfctl/parse.y
7981
sizeof(r->label[0])-1);
sbin/pfctl/parse.y
7995
if (strlcpy(r->label[i], s[i], sizeof(r->label[0])) >=
sbin/pfctl/parse.y
7996
sizeof(r->label[0])) {
sbin/pfctl/parse.y
7998
sizeof(r->label[0])-1);
sbin/pfctl/parse.y
8279
if (rule_label(r, opts->label))
sbin/pfctl/parse.y
8282
free(opts->label[i]);
sbin/pfctl/pfctl.c
1712
if (rule.label[0][0] && (opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
1760
while (rule.label[i][0]) {
sbin/pfctl/pfctl.c
1761
printf("%s ", rule.label[i++]);
sbin/pfctl/pfctl.c
1790
if (rule.label[0][0] && (opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
2524
expand_label(r->label[i], PF_RULE_LABEL_SIZE, r);
sbin/pfctl/pfctl.c
955
if (strlcpy(kill.label, state_kill[1], sizeof(kill.label)) >=
sbin/pfctl/pfctl.c
956
sizeof(kill.label))
sbin/pfctl/pfctl_optimize.c
109
PF_RULE_FIELD(label, BARRIER),
sbin/pfctl/pfctl_parser.c
1289
while (r->label[i][0])
sbin/pfctl/pfctl_parser.c
1290
printf(" label \"%s\"", r->label[i++]);
sbin/pfctl/pfctl_parser.c
838
while (r->label[i][0])
sbin/pfctl/pfctl_parser.c
839
printf(" label \"%s\"", r->label[i++]);
sbin/routed/table.c
1756
char *label)
sbin/routed/table.c
1787
label ? label : "Chg ");
sbin/routed/table.c
1820
char label[10];
sbin/routed/table.c
1838
(void)sprintf(label, "Use #%d", (int)(rts - rt->rt_spares));
sbin/routed/table.c
1839
rtchange(rt, rt->rt_state & ~(RS_NET_SYN | RS_RDISC), rts, label);
sbin/routed/trace.c
763
const char *label)
sbin/routed/trace.c
778
label,
sbin/routed/trace.c
785
(int)strlen(label), "", "",
sbin/veriexec/manifest_parser.y
137
strlcpy(lparams.label, $3, sizeof(lparams.label));
sbin/veriexec/manifest_parser.y
139
lparams.label));
stand/libsa/zfs/zfsimpl.c
1971
vdev_phys_t *label;
stand/libsa/zfs/zfsimpl.c
1978
label = malloc(sizeof (vdev_phys_t));
stand/libsa/zfs/zfsimpl.c
1979
if (label == NULL)
stand/libsa/zfs/zfsimpl.c
1983
if (vdev_label_read(vd, l, label,
stand/libsa/zfs/zfsimpl.c
1988
tmp = nvlist_import(label->vp_nvlist,
stand/libsa/zfs/zfsimpl.c
1989
sizeof(label->vp_nvlist));
stand/libsa/zfs/zfsimpl.c
2024
free(label);
sys/arm/broadcom/bcm2835/bcm2835_gpio.c
656
const char *propname, const char *label)
sys/arm/broadcom/bcm2835/bcm2835_gpio.c
674
device_printf(sc->sc_dev, "%s pins: ", label);
sys/arm64/include/asm.h
80
#define CHECK_CPU_FEAT(tmp, feat_reg, feat, min_val, label) \
sys/arm64/include/asm.h
84
b.lt label
sys/cam/scsi/scsi_sa.h
821
uint8_t label[];
sys/compat/freebsd32/freebsd32_ipc.h
107
int32_t label;
sys/compat/freebsd32/freebsd32_ipc.h
56
int32_t label;
sys/compat/freebsd32/freebsd32_ipc.h
87
uint32_t label;
sys/dev/aic7xxx/aicasm/aicasm_gram.y
1006
label:
sys/dev/aic7xxx/aicasm/aicasm_gram.y
239
| label
sys/dev/aic7xxx/aicasm/aicasm_gram.y
240
| program label
sys/dev/bhnd/cores/chipc/chipc_slicer.c
190
slices[*nslices].label = "rootfs";
sys/dev/dpaa2/dpaa2_io.c
213
char *label;
sys/dev/dpaa2/dpaa2_io.c
252
__func__, map_args[i].label, error);
sys/dev/dpaa2/dpaa2_mcp.h
351
uint8_t label[DPAA2_LABEL_SZ];
sys/dev/dpaa2/dpaa2_rc.c
761
uint8_t label[16];
sys/dev/dpaa2/dpaa2_rc.c
783
memcpy(obj->label, pobj->label, sizeof(pobj->label));
sys/dev/dpaa2/dpaa2_rc.c
815
uint8_t label[16];
sys/dev/dpaa2/dpaa2_rc.c
840
memcpy(obj->label, pobj->label, sizeof(pobj->label));
sys/dev/fdt/fdt_slicer.c
101
slices[i].label = label;
sys/dev/fdt/fdt_slicer.c
53
char *label;
sys/dev/fdt/fdt_slicer.c
85
nmlen = OF_getprop_alloc(child, "label", (void **)&label);
sys/dev/fdt/fdt_slicer.c
88
nmlen = OF_getprop_alloc(child, "name", (void **)&label);
sys/dev/fdt/fdt_slicer.c
91
label = NULL;
sys/dev/ice/ice_ddp_common.c
950
return labels->label + index;
sys/dev/ice/ice_ddp_common.c
969
struct ice_label *label;
sys/dev/ice/ice_ddp_common.c
975
label = (struct ice_label *)ice_pkg_enum_entry(ice_seg, state, type,
sys/dev/ice/ice_ddp_common.c
978
if (!label)
sys/dev/ice/ice_ddp_common.c
981
*value = LE16_TO_CPU(label->value);
sys/dev/ice/ice_ddp_common.c
982
return label->name;
sys/dev/ice/ice_flex_type.h
134
struct ice_label label[STRUCT_HACK_VAR_LEN];
sys/dev/ice/ice_flex_type.h
138
ice_struct_size((struct ice_label_section *)0, label, 1) - \
sys/dev/iwx/if_iwx_debug.c
199
while(op->label != NULL) {
sys/dev/iwx/if_iwx_debug.c
201
return op->label;
sys/dev/iwx/if_iwx_debug.c
34
const char *label;
sys/dev/md/md.c
1750
error = copyinstr(mdr->md_label, sc->label,
sys/dev/md/md.c
1751
sizeof(sc->label), NULL);
sys/dev/md/md.c
1889
error = copyout(sc->label, mdr->md_label,
sys/dev/md/md.c
1890
strlen(sc->label) + 1);
sys/dev/md/md.c
2198
sbuf_printf(sb, " label %s", mp->label);
sys/dev/md/md.c
2240
g_conf_printf_escaped(sb, "%s", mp->label);
sys/dev/md/md.c
268
char label[PATH_MAX];
sys/dev/mmc/mmcsd.c
643
slices[0].label = MMCSD_LABEL_ENH;
sys/dev/mmc/mmcspi.c
209
static void mmcspi_dump_data(device_t dev, const char *label, uint8_t *data,
sys/dev/mmc/mmcspi.c
2278
mmcspi_dump_data(device_t dev, const char *label, uint8_t *data,
sys/dev/mmc/mmcspi.c
2291
device_printf(dev, "%s:", label);
sys/dev/mmc/mmcspi.c
2298
device_printf(dev, "%s:", label);
sys/dev/nvdimm/nvdimm.c
211
error = read_label_area(nv, (uint8_t *)&entry->label, offset,
sys/dev/nvdimm/nvdimm.c
217
checksum = entry->label.checksum;
sys/dev/nvdimm/nvdimm.c
218
entry->label.checksum = 0;
sys/dev/nvdimm/nvdimm.c
219
if (checksum != fletcher64(&entry->label, sizeof(entry->label)) ||
sys/dev/nvdimm/nvdimm.c
220
entry->label.slot != num) {
sys/dev/nvdimm/nvdimm.c
227
entry->label.dimm_phys_addr <=
sys/dev/nvdimm/nvdimm.c
228
SLIST_FIRST(&nv->labels)->label.dimm_phys_addr) {
sys/dev/nvdimm/nvdimm.c
234
entry->label.dimm_phys_addr <= next->label.dimm_phys_addr) {
sys/dev/nvdimm/nvdimm.c
405
struct nvdimm_label_entry *label, *next;
sys/dev/nvdimm/nvdimm.c
411
SLIST_FOREACH_SAFE(label, &nv->labels, link, next) {
sys/dev/nvdimm/nvdimm.c
413
free(label, M_NVDIMM);
sys/dev/nvdimm/nvdimm_ns.c
69
(e->label.dimm_phys_addr - regions[0]->Address);
sys/dev/nvdimm/nvdimm_ns.c
70
ns->dev.spa_len = num_regions * e->label.raw_size;
sys/dev/nvdimm/nvdimm_var.h
73
struct nvdimm_label label;
sys/dev/ocs_fc/ocs_utils.c
1217
char label[64];
sys/dev/ocs_fc/ocs_utils.c
1226
ocs_snprintf(label, sizeof(label), "[%s] sparam: %s", prelabel, reqlabel);
sys/dev/ocs_fc/ocs_utils.c
1228
ocs_snprintf(label, sizeof(label), "sparam: %s", reqlabel);
sys/dev/ocs_fc/ocs_utils.c
1231
ocs_dump32(OCS_DEBUG_ENABLE_SPARAM_DUMP, NULL, label, sparams, sizeof(fc_plogi_payload_t));
sys/dev/ocs_fc/ocs_utils.c
849
ocs_dump32(uint32_t mask, ocs_os_handle_t os, const char *label, void *buf, uint32_t buf_length)
sys/dev/ocs_fc/ocs_utils.c
864
if (label)
sys/dev/ocs_fc/ocs_utils.c
865
ocs_log_debug(os, "%s\n", label);
sys/dev/ocs_fc/ocs_utils.h
251
extern void ocs_dump_service_params(const char *label, void *sparms);
sys/dev/ocs_fc/sli4.c
439
char label[64];
sys/dev/ocs_fc/sli4.c
452
ocs_snprintf(label, sizeof(label), "%s (emb)", prefix);
sys/dev/ocs_fc/sli4.c
458
ocs_dump32(OCS_DEBUG_ENABLE_MQ_DUMP, sli4->os, label,
sys/dev/ocs_fc/sli4.c
462
ocs_snprintf(label, sizeof(label), "%s (non-emb hdr)", prefix);
sys/dev/ocs_fc/sli4.c
467
ocs_dump32(OCS_DEBUG_ENABLE_MQ_DUMP, sli4->os, label,
sys/dev/ocs_fc/sli4.c
476
ocs_snprintf(label, sizeof(label), "%s (non-emb pay[%d])",
sys/dev/ocs_fc/sli4.c
478
ocs_dump32(OCS_DEBUG_ENABLE_MQ_DUMP, sli4->os, label,
sys/dev/ocs_fc/sli4.c
8754
const char *label;
sys/dev/ocs_fc/sli4.c
8783
return lookup[i].label;
sys/dev/pwm/pwmc.c
126
void *label;
sys/dev/pwm/pwmc.c
128
if (OF_getprop_alloc(ofw_bus_get_node(sc->dev), "label", &label) > 0) {
sys/dev/pwm/pwmc.c
129
make_dev_alias(sc->cdev, "pwm/%s", (char *)label);
sys/dev/pwm/pwmc.c
130
OF_prop_free(label);
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2352
HKDF_Data->label[i].labelLen) {
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2359
if (HKDF_Data->label[i].sublabelFlag &
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
2377
subl_mask = HKDF_Data->label[i].sublabelFlag;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_key.c
179
pKeyGenTlsOpData->label);
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_key.c
189
((uint64_t)&pKeyGenTlsOpData->label -
sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h
2456
uint8_t label[QAT_FW_HKDF_LABEL_BUFFER_SZ];
sys/dev/qat/qat_api/include/lac/cpa_cy_key.h
298
Cpa8U label[CPA_CY_HKDF_KEY_MAX_LABEL_SZ];
sys/dev/qat/qat_api/include/lac/cpa_cy_key.h
352
CpaCyKeyGenHKDFExpandLabel label[CPA_CY_HKDF_KEY_MAX_LABEL_COUNT];
sys/dev/qcom_ess_edma/qcom_ess_edma.c
235
snprintf(txs->label, QCOM_ESS_EDMA_LABEL_SZ - 1, "txq%d_compl", txq);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
242
txs->completion_tq = taskqueue_create_fast(txs->label, M_NOWAIT,
sys/dev/qcom_ess_edma/qcom_ess_edma.c
246
&mask, "%s", txs->label);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
249
"%s", txs->label);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
336
snprintf(rxs->label, QCOM_ESS_EDMA_LABEL_SZ - 1, "rxq%d_compl", rxq);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
343
rxs->completion_tq = taskqueue_create_fast(rxs->label, M_NOWAIT,
sys/dev/qcom_ess_edma/qcom_ess_edma.c
347
&mask, "%s", rxs->label);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
350
"%s", rxs->label);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
827
char label[QCOM_ESS_EDMA_LABEL_SZ];
sys/dev/qcom_ess_edma/qcom_ess_edma.c
830
snprintf(label, QCOM_ESS_EDMA_LABEL_SZ - 1, "tx_ring%d", i);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
832
label,
sys/dev/qcom_ess_edma/qcom_ess_edma.c
851
char label[QCOM_ESS_EDMA_LABEL_SZ];
sys/dev/qcom_ess_edma/qcom_ess_edma.c
854
snprintf(label, QCOM_ESS_EDMA_LABEL_SZ - 1, "rx_ring%d", i);
sys/dev/qcom_ess_edma/qcom_ess_edma.c
856
label,
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
197
if (ring->label != NULL)
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
198
free(ring->label, M_TEMP);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
235
if (ring->label != NULL)
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
236
free(ring->label, M_TEMP);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
79
char *label,
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
89
ring->label = strdup(label, M_TEMP);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
90
if (ring->label == NULL) {
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
97
mtx_init(&ring->mtx, ring->label, NULL, MTX_DEF);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.h
37
char *label,
sys/dev/qcom_ess_edma/qcom_ess_edma_var.h
114
char *label;
sys/dev/qcom_ess_edma/qcom_ess_edma_var.h
179
char label[QCOM_ESS_EDMA_LABEL_SZ];
sys/dev/qcom_ess_edma/qcom_ess_edma_var.h
191
char label[QCOM_ESS_EDMA_LABEL_SZ];
sys/dev/sfxge/common/ef10_ev.c
1069
should_abort = eecp->eec_rx(arg, label, last_used_id, size, flags);
sys/dev/sfxge/common/ef10_ev.c
1083
uint32_t label;
sys/dev/sfxge/common/ef10_ev.c
1100
label = EFX_QWORD_FIELD(*eqp, ESF_DZ_TX_QLABEL);
sys/dev/sfxge/common/ef10_ev.c
1102
EFSYS_PROBE2(tx_complete, uint32_t, label, uint32_t, id);
sys/dev/sfxge/common/ef10_ev.c
1105
should_abort = eecp->eec_tx(arg, label, id);
sys/dev/sfxge/common/ef10_ev.c
1392
__in unsigned int label,
sys/dev/sfxge/common/ef10_ev.c
1402
EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state));
sys/dev/sfxge/common/ef10_ev.c
1403
eersp = &eep->ee_rxq_state[label];
sys/dev/sfxge/common/ef10_ev.c
1447
__in unsigned int label)
sys/dev/sfxge/common/ef10_ev.c
1451
EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state));
sys/dev/sfxge/common/ef10_ev.c
1452
eersp = &eep->ee_rxq_state[label];
sys/dev/sfxge/common/ef10_ev.c
777
uint32_t label;
sys/dev/sfxge/common/ef10_ev.c
787
label = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_QLABEL);
sys/dev/sfxge/common/ef10_ev.c
792
eersp = &eep->ee_rxq_state[label];
sys/dev/sfxge/common/ef10_ev.c
854
should_abort = eecp->eec_rx_ps(arg, label, current_id, pkt_count,
sys/dev/sfxge/common/ef10_ev.c
871
uint32_t label;
sys/dev/sfxge/common/ef10_ev.c
892
label = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_QLABEL);
sys/dev/sfxge/common/ef10_ev.c
893
eersp = &eep->ee_rxq_state[label];
sys/dev/sfxge/common/ef10_impl.h
1027
__in unsigned int label,
sys/dev/sfxge/common/ef10_impl.h
130
__in unsigned int label,
sys/dev/sfxge/common/ef10_impl.h
136
__in unsigned int label);
sys/dev/sfxge/common/ef10_impl.h
707
__in unsigned int label,
sys/dev/sfxge/common/ef10_rx.c
1009
__in unsigned int label,
sys/dev/sfxge/common/ef10_rx.c
1032
EFSYS_ASSERT3U(label, <, EFX_EV_RX_NLABELS);
sys/dev/sfxge/common/ef10_rx.c
107
MCDI_IN_SET_DWORD(req, INIT_RXQ_EXT_IN_LABEL, label);
sys/dev/sfxge/common/ef10_rx.c
1152
if ((rc = efx_mcdi_init_rxq(enp, ndescs, eep->ee_index, label, index,
sys/dev/sfxge/common/ef10_rx.c
1159
erp->er_label = label;
sys/dev/sfxge/common/ef10_rx.c
1161
ef10_ev_rxlabel_init(eep, erp, label, type);
sys/dev/sfxge/common/ef10_rx.c
1163
erp->er_ev_qstate = &erp->er_eep->ee_rxq_state[label];
sys/dev/sfxge/common/ef10_rx.c
1209
unsigned int label = erp->er_label;
sys/dev/sfxge/common/ef10_rx.c
1211
ef10_ev_rxlabel_fini(eep, label);
sys/dev/sfxge/common/ef10_rx.c
42
__in uint32_t label,
sys/dev/sfxge/common/ef10_tx.c
197
__in unsigned int label,
sys/dev/sfxge/common/ef10_tx.c
220
if ((rc = efx_mcdi_init_txq(enp, ndescs, eep->ee_index, label, index,
sys/dev/sfxge/common/ef10_tx.c
52
__in uint32_t label,
sys/dev/sfxge/common/ef10_tx.c
88
MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_LABEL, label);
sys/dev/sfxge/common/efx.h
2067
__in uint32_t label,
sys/dev/sfxge/common/efx.h
2094
__in uint32_t label,
sys/dev/sfxge/common/efx.h
2104
__in uint32_t label,
sys/dev/sfxge/common/efx.h
2120
__in uint32_t label,
sys/dev/sfxge/common/efx.h
2155
__in uint32_t label);
sys/dev/sfxge/common/efx.h
2160
__in uint32_t label);
sys/dev/sfxge/common/efx.h
2520
__in unsigned int label,
sys/dev/sfxge/common/efx.h
2541
__in unsigned int label,
sys/dev/sfxge/common/efx.h
2559
__in unsigned int label,
sys/dev/sfxge/common/efx.h
2669
__in unsigned int label,
sys/dev/sfxge/common/efx_ev.c
643
__in uint32_t label,
sys/dev/sfxge/common/efx_ev.c
661
EFSYS_PROBE2(frm_trunc, uint32_t, label, uint32_t, id);
sys/dev/sfxge/common/efx_ev.c
738
uint32_t label;
sys/dev/sfxge/common/efx_ev.c
755
label = EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_Q_LABEL);
sys/dev/sfxge/common/efx_ev.c
825
ignore = siena_ev_rx_not_ok(eep, eqp, label, id, &flags);
sys/dev/sfxge/common/efx_ev.c
827
EFSYS_PROBE4(rx_complete, uint32_t, label, uint32_t, id,
sys/dev/sfxge/common/efx_ev.c
874
EFSYS_PROBE4(rx_complete, uint32_t, label, uint32_t, id,
sys/dev/sfxge/common/efx_ev.c
878
should_abort = eecp->eec_rx(arg, label, id, size, flags);
sys/dev/sfxge/common/efx_ev.c
891
uint32_t label;
sys/dev/sfxge/common/efx_ev.c
901
label = EFX_QWORD_FIELD(*eqp, FSF_AZ_TX_EV_Q_LABEL);
sys/dev/sfxge/common/efx_ev.c
903
EFSYS_PROBE2(tx_complete, uint32_t, label, uint32_t, id);
sys/dev/sfxge/common/efx_ev.c
906
should_abort = eecp->eec_tx(arg, label, id);
sys/dev/sfxge/common/efx_rx.c
134
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
1553
uint32_t label;
sys/dev/sfxge/common/efx_rx.c
1555
label = erp->er_index;
sys/dev/sfxge/common/efx_rx.c
1559
FRF_AZ_RX_FLUSH_DESCQ, label);
sys/dev/sfxge/common/efx_rx.c
1589
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
1610
EFSYS_ASSERT3U(label, <, EFX_EV_RX_NLABELS);
sys/dev/sfxge/common/efx_rx.c
1657
FRF_AZ_RX_DESCQ_LABEL, label,
sys/dev/sfxge/common/efx_rx.c
809
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
840
if ((rc = erxop->erxo_qcreate(enp, index, label, type, type_data, esmp,
sys/dev/sfxge/common/efx_rx.c
863
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
872
return efx_rx_qcreate_internal(enp, index, label, type, NULL,
sys/dev/sfxge/common/efx_rx.c
882
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
895
return efx_rx_qcreate_internal(enp, index, label,
sys/dev/sfxge/common/efx_rx.c
908
__in unsigned int label,
sys/dev/sfxge/common/efx_rx.c
935
rc = efx_rx_qcreate_internal(enp, index, label,
sys/dev/sfxge/common/efx_tx.c
329
__in unsigned int label,
sys/dev/sfxge/common/efx_tx.c
365
if ((rc = etxop->etxo_qcreate(enp, index, label, esmp,
sys/dev/sfxge/common/efx_tx.c
61
__in unsigned int label,
sys/dev/sfxge/common/efx_tx.c
886
uint32_t label;
sys/dev/sfxge/common/efx_tx.c
890
label = etp->et_index;
sys/dev/sfxge/common/efx_tx.c
894
FRF_AZ_TX_FLUSH_DESCQ, label);
sys/dev/sfxge/common/efx_tx.c
928
__in unsigned int label,
sys/dev/sfxge/common/efx_tx.c
947
EFSYS_ASSERT3U(label, <, EFX_EV_TX_NLABELS);
sys/dev/sfxge/common/efx_tx.c
984
FRF_AZ_TX_DESCQ_LABEL, label,
sys/dev/sfxge/sfxge.h
128
sfxge_sw_ev_mk_magic(enum sfxge_sw_ev sw_ev, unsigned int label)
sys/dev/sfxge/sfxge.h
130
KASSERT((label & SFXGE_MAGIC_DMAQ_LABEL_MASK) == label,
sys/dev/sfxge/sfxge.h
132
return SFXGE_SW_EV_MAGIC(sw_ev) | label;
sys/dev/sfxge/sfxge_ev.c
102
sfxge_ev_rx(void *arg, uint32_t label, uint32_t id, uint32_t size,
sys/dev/sfxge/sfxge_ev.c
120
rxq = sfxge_get_rxq_by_label(evq, label);
sys/dev/sfxge/sfxge_ev.c
265
sfxge_get_txq_by_label(struct sfxge_evq *evq, enum sfxge_txq_type label)
sys/dev/sfxge/sfxge_ev.c
269
KASSERT((evq->sc->txq_dynamic_cksum_toggle_supported) ? (label == 0) :
sys/dev/sfxge/sfxge_ev.c
270
((evq->index == 0 && label < SFXGE_TXQ_NTYPES) ||
sys/dev/sfxge/sfxge_ev.c
271
(label == SFXGE_TXQ_IP_TCP_UDP_CKSUM)),
sys/dev/sfxge/sfxge_ev.c
275
label : (evq->index - 1 + SFXGE_EVQ0_N_TXQ(evq->sc));
sys/dev/sfxge/sfxge_ev.c
280
sfxge_ev_tx(void *arg, uint32_t label, uint32_t id)
sys/dev/sfxge/sfxge_ev.c
290
txq = sfxge_get_txq_by_label(evq, label);
sys/dev/sfxge/sfxge_ev.c
358
unsigned int label;
sys/dev/sfxge/sfxge_ev.c
363
label = magic & SFXGE_MAGIC_DMAQ_LABEL_MASK;
sys/dev/sfxge/sfxge_ev.c
368
sfxge_rx_qflush_done(sfxge_get_rxq_by_label(evq, label));
sys/dev/sfxge/sfxge_ev.c
372
sfxge_rx_qflush_failed(sfxge_get_rxq_by_label(evq, label));
sys/dev/sfxge/sfxge_ev.c
376
sfxge_rx_qrefill(sfxge_get_rxq_by_label(evq, label));
sys/dev/sfxge/sfxge_ev.c
380
struct sfxge_txq *txq = sfxge_get_txq_by_label(evq, label);
sys/dev/sfxge/sfxge_ev.c
87
sfxge_get_rxq_by_label(struct sfxge_evq *evq, uint32_t label)
sys/dev/sfxge/sfxge_ev.c
91
KASSERT(label == 0, ("unexpected rxq label != 0"));
sys/dev/sfxge/sfxge_tx.c
1616
unsigned int label;
sys/dev/sfxge/sfxge_tx.c
1658
label = (sc->txq_dynamic_cksum_toggle_supported) ? 0 : txq->type;
sys/dev/sfxge/sfxge_tx.c
1661
if ((rc = efx_tx_qcreate(sc->enp, index, label, esmp,
sys/dev/sfxge/sfxge_tx.c
1671
if ((rc = efx_tx_qcreate(sc->enp, index, label, esmp,
sys/dev/sound/pci/hdsp.c
253
const char *label;
sys/dev/sound/pci/hdsp.c
266
label = hdsp_control_input_level(control);
sys/dev/sound/pci/hdsp.c
267
if (label != NULL)
sys/dev/sound/pci/hdsp.c
268
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdsp.c
276
label = hdsp_control_input_level(HDSP_INPUT_LEVEL_LOWGAIN);
sys/dev/sound/pci/hdsp.c
277
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
279
label = hdsp_control_input_level(HDSP_INPUT_LEVEL_PLUS4DBU);
sys/dev/sound/pci/hdsp.c
280
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
282
label = hdsp_control_input_level(HDSP_INPUT_LEVEL_MINUS10DBV);
sys/dev/sound/pci/hdsp.c
283
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
317
const char *label;
sys/dev/sound/pci/hdsp.c
330
label = hdsp_control_output_level(control);
sys/dev/sound/pci/hdsp.c
331
if (label != NULL)
sys/dev/sound/pci/hdsp.c
332
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdsp.c
340
label = hdsp_control_output_level(HDSP_OUTPUT_LEVEL_MINUS10DBV);
sys/dev/sound/pci/hdsp.c
341
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
343
label = hdsp_control_output_level(HDSP_OUTPUT_LEVEL_PLUS4DBU);
sys/dev/sound/pci/hdsp.c
344
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
346
label = hdsp_control_output_level(HDSP_OUTPUT_LEVEL_HIGHGAIN);
sys/dev/sound/pci/hdsp.c
347
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
381
const char *label;
sys/dev/sound/pci/hdsp.c
394
label = hdsp_control_phones_level(control);
sys/dev/sound/pci/hdsp.c
395
if (label != NULL)
sys/dev/sound/pci/hdsp.c
396
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdsp.c
404
label = hdsp_control_phones_level(HDSP_PHONES_LEVEL_MINUS12DB);
sys/dev/sound/pci/hdsp.c
405
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
407
label = hdsp_control_phones_level(HDSP_PHONES_LEVEL_MINUS6DB);
sys/dev/sound/pci/hdsp.c
408
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdsp.c
410
label = hdsp_control_phones_level(HDSP_PHONES_LEVEL_0DB);
sys/dev/sound/pci/hdsp.c
411
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
268
const char *label;
sys/dev/sound/pci/hdspe.c
281
label = hdspe_settings_input_level(settings);
sys/dev/sound/pci/hdspe.c
282
if (label != NULL)
sys/dev/sound/pci/hdspe.c
283
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdspe.c
291
label = hdspe_settings_input_level(HDSPE_INPUT_LEVEL_LOWGAIN);
sys/dev/sound/pci/hdspe.c
292
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
294
label = hdspe_settings_input_level(HDSPE_INPUT_LEVEL_PLUS4DBU);
sys/dev/sound/pci/hdspe.c
295
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
297
label = hdspe_settings_input_level(HDSPE_INPUT_LEVEL_MINUS10DBV);
sys/dev/sound/pci/hdspe.c
298
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
332
const char *label;
sys/dev/sound/pci/hdspe.c
345
label = hdspe_settings_output_level(settings);
sys/dev/sound/pci/hdspe.c
346
if (label != NULL)
sys/dev/sound/pci/hdspe.c
347
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdspe.c
355
label = hdspe_settings_output_level(HDSPE_OUTPUT_LEVEL_HIGHGAIN);
sys/dev/sound/pci/hdspe.c
356
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
358
label = hdspe_settings_output_level(HDSPE_OUTPUT_LEVEL_PLUS4DBU);
sys/dev/sound/pci/hdspe.c
359
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
361
label = hdspe_settings_output_level(HDSPE_OUTPUT_LEVEL_MINUS10DBV);
sys/dev/sound/pci/hdspe.c
362
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
396
const char *label;
sys/dev/sound/pci/hdspe.c
409
label = hdspe_settings_phones_level(settings);
sys/dev/sound/pci/hdspe.c
410
if (label != NULL)
sys/dev/sound/pci/hdspe.c
411
strlcpy(buf, label, sizeof(buf));
sys/dev/sound/pci/hdspe.c
419
label = hdspe_settings_phones_level(HDSPE_PHONES_LEVEL_HIGHGAIN);
sys/dev/sound/pci/hdspe.c
420
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
422
label = hdspe_settings_phones_level(HDSPE_PHONES_LEVEL_PLUS4DBU);
sys/dev/sound/pci/hdspe.c
423
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pci/hdspe.c
425
label = hdspe_settings_phones_level(HDSPE_PHONES_LEVEL_MINUS10DBV);
sys/dev/sound/pci/hdspe.c
426
if (strncasecmp(buf, label, sizeof(buf)) == 0)
sys/dev/sound/pcm/dsp.c
107
static int dsp_oss_getlabel(struct pcm_channel *wrch, struct pcm_channel *rdch, oss_label_t *label);
sys/dev/sound/pcm/dsp.c
108
static int dsp_oss_setlabel(struct pcm_channel *wrch, struct pcm_channel *rdch, oss_label_t *label);
sys/dev/sound/pcm/dsp.c
3037
dsp_oss_getlabel(struct pcm_channel *wrch, struct pcm_channel *rdch, oss_label_t *label)
sys/dev/sound/pcm/dsp.c
3061
dsp_oss_setlabel(struct pcm_channel *wrch, struct pcm_channel *rdch, oss_label_t *label)
sys/dev/sym/sym_fw.h
103
#define SYM_GEN_A(s, label) s label;
sys/dev/sym/sym_fw.h
104
#define SYM_GEN_B(s, label) s label;
sys/dev/sym/sym_fw.h
168
#define SCRIPTA_BA(np, label) (np->fwa_bas.label)
sys/dev/sym/sym_fw.h
169
#define SCRIPTB_BA(np, label) (np->fwb_bas.label)
sys/dev/sym/sym_fw.h
170
#define SCRIPTB0_BA(np,label) \
sys/dev/sym/sym_fw.h
171
(np->scriptb0_ba + (np->fwb_bas.label - np->scriptb_ba))
sys/dev/sym/sym_fw.h
198
#define HADDR_1(label) (RELOC_SOFTC | offsetof(struct sym_hcb, label))
sys/dev/sym/sym_fw.h
199
#define HADDR_2(label,ofs) (RELOC_SOFTC | \
sys/dev/sym/sym_fw.h
200
(offsetof(struct sym_hcb, label)+(ofs)))
sys/dev/sym/sym_fw.h
201
#define RADDR_1(label) (RELOC_REGISTER | REG(label))
sys/dev/sym/sym_fw.h
202
#define RADDR_2(label,ofs) (RELOC_REGISTER | ((REG(label))+(ofs)))
sys/dev/sym/sym_fw.h
204
#define SYM_GEN_PADDR_A(s, label) (RELOC_LABEL_A | offsetof(s, label))
sys/dev/sym/sym_fw.h
205
#define SYM_GEN_PADDR_B(s, label) (RELOC_LABEL_B | offsetof(s, label))
sys/dev/sym/sym_hipd.c
1712
#define SYM_GEN_A(s, label) ((short) offsetof(s, label)),
sys/dev/sym/sym_hipd.c
1713
#define SYM_GEN_B(s, label) ((short) offsetof(s, label)),
sys/dev/sym/sym_hipd.c
1714
#define PADDR_A(label) SYM_GEN_PADDR_A(struct SYM_FWA_SCR, label)
sys/dev/sym/sym_hipd.c
1715
#define PADDR_B(label) SYM_GEN_PADDR_B(struct SYM_FWB_SCR, label)
sys/dev/sym/sym_hipd.c
2209
static void sym_print_msg (ccb_p cp, char *label, u_char *msg);
sys/dev/sym/sym_hipd.c
5538
static void sym_print_msg (ccb_p cp, char *label, u_char *msg)
sys/dev/sym/sym_hipd.c
5541
if (label)
sys/dev/sym/sym_hipd.c
5542
printf ("%s: ", label);
sys/dev/sym/sym_hipd.c
766
static void sym_printl_hex (char *label, u_char *p, int n)
sys/dev/sym/sym_hipd.c
768
printf ("%s", label);
sys/dev/veriexec/veriexec_ioctl.h
55
char label[MAXLABELLEN];
sys/dev/veriexec/verified_exec.c
197
labellen = strnlen(lparams->label,
sys/dev/veriexec/verified_exec.c
251
lparams->label : NULL, labellen,
sys/dev/wg/wg_cookie.c
272
const char *label)
sys/dev/wg/wg_cookie.c
276
blake2s_update(&blake, label, strlen(label));
sys/fs/devfs/devfs.h
148
struct label *de_label;
sys/geom/geom_flashmap.c
197
slice->sl_name = slices[i].label;
sys/geom/label/g_label.c
114
g_label_rtrim(char *label, size_t size)
sys/geom/label/g_label.c
119
if (label[i] == '\0')
sys/geom/label/g_label.c
121
else if (label[i] == ' ')
sys/geom/label/g_label.c
122
label[i] = '\0';
sys/geom/label/g_label.c
170
g_label_is_name_ok(const char *label)
sys/geom/label/g_label.c
175
if (strncmp(label, "../", 3) == 0)
sys/geom/label/g_label.c
178
if (strstr(label, "/../") != NULL)
sys/geom/label/g_label.c
181
if ((s = strstr(label, "/..")) != NULL && s[3] == '\0')
sys/geom/label/g_label.c
187
g_label_mangle_name(char *label, size_t size)
sys/geom/label/g_label.c
194
len = strlen(label);
sys/geom/label/g_label.c
196
if (isspace(label[i - 1]))
sys/geom/label/g_label.c
197
label[i - 1] = '\0';
sys/geom/label/g_label.c
201
if (*label == '\0')
sys/geom/label/g_label.c
205
for (c = label; *c != '\0'; c++) {
sys/geom/label/g_label.c
215
label[0] = '\0';
sys/geom/label/g_label.c
217
strlcpy(label, sbuf_data(sb), size);
sys/geom/label/g_label.c
223
const char *label, const char *dirprefix, off_t mediasize)
sys/geom/label/g_label.c
232
if (!g_label_is_name_ok(label)) {
sys/geom/label/g_label.c
235
G_LABEL_DEBUG(1, "%s suspicious label is: %s", pp->name, label);
sys/geom/label/g_label.c
237
gctl_error(req, "Label name %s is invalid.", label);
sys/geom/label/g_label.c
242
if (snprintf(name, sizeof(name), "%s%s", dirprefix, label) >= sizeof(name)) {
sys/geom/label/g_label.c
244
gctl_error(req, "Label name %s is too long.", label);
sys/geom/label/g_label.c
255
label, name, pp->name);
sys/geom/label/g_label.c
265
G_LABEL_DEBUG(0, "Cannot create slice %s.", label);
sys/geom/label/g_label.c
267
gctl_error(req, "Cannot create slice %s.", label);
sys/geom/label/g_label.c
348
g_label_generic_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label.c
354
label[0] = '\0';
sys/geom/label/g_label.c
375
strlcpy(label, md.md_label, size);
sys/geom/label/g_label.c
413
char label[128];
sys/geom/label/g_label.c
418
g_labels[i]->ld_taste(cp, label, sizeof(label));
sys/geom/label/g_label.c
419
g_label_mangle_name(label, sizeof(label));
sys/geom/label/g_label.c
421
if (label[0] == '\0')
sys/geom/label/g_label.c
428
g_label_create(NULL, mp, pp, label,
sys/geom/label/g_label.c
53
SYSCTL_NODE(_kern_geom, OID_AUTO, label, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
sys/geom/label/g_label.h
55
#define G_LABEL_INIT(kind, label, descr) \
sys/geom/label/g_label.h
60
CTLFLAG_RWTUN, &label.ld_enabled, 1, descr)
sys/geom/label/g_label.h
62
typedef void g_label_taste_t (struct g_consumer *cp, char *label, size_t size);
sys/geom/label/g_label.h
83
extern void g_label_rtrim(char *label, size_t size);
sys/geom/label/g_label_disk_ident.c
43
g_label_disk_ident_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_disk_ident.c
50
label[0] = '\0';
sys/geom/label/g_label_disk_ident.c
73
(void)snprintf(label, size, "%s-%s", cls->name, ident);
sys/geom/label/g_label_ext2fs.c
52
g_label_ext2fs_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_ext2fs.c
60
label[0] = '\0';
sys/geom/label/g_label_ext2fs.c
92
strlcpy(label, s_volume_name, size);
sys/geom/label/g_label_flashmap.c
40
g_label_flashmap_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_flashmap.c
49
label[0] = '\0';
sys/geom/label/g_label_flashmap.c
63
strlcpy(label, gfp->labels[pp->index], size);
sys/geom/label/g_label_gpt.c
107
label[0] = '\0';
sys/geom/label/g_label_gpt.c
126
strlcpy(label, sbuf_data(lbl), size);
sys/geom/label/g_label_gpt.c
131
g_label_gpt_uuid_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_gpt.c
140
label[0] = '\0';
sys/geom/label/g_label_gpt.c
150
snprintf_uuid(label, size, &part_gpt_entry->ent.ent_uuid);
sys/geom/label/g_label_gpt.c
97
g_label_gpt_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_iso9660.c
43
g_label_iso9660_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_iso9660.c
50
label[0] = '\0';
sys/geom/label/g_label_iso9660.c
66
bzero(label, size);
sys/geom/label/g_label_iso9660.c
67
strlcpy(label, volume, MIN(size, VOLUME_LEN));
sys/geom/label/g_label_iso9660.c
69
g_label_rtrim(label, size);
sys/geom/label/g_label_msdosfs.c
113
memcpy(label, pfat_bsbpb->BS_VolLab, copysize);
sys/geom/label/g_label_msdosfs.c
114
label[copysize] = '\0';
sys/geom/label/g_label_msdosfs.c
137
memcpy(label, pfat32_bsbpb->BS_VolLab, copysize);
sys/geom/label/g_label_msdosfs.c
138
label[copysize] = '\0';
sys/geom/label/g_label_msdosfs.c
196
memcpy(label, pfat_entry->DIR_Name,
sys/geom/label/g_label_msdosfs.c
198
label[copysize] = '\0';
sys/geom/label/g_label_msdosfs.c
212
g_label_rtrim(label, size);
sys/geom/label/g_label_msdosfs.c
43
g_label_msdosfs_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_msdosfs.c
56
bzero(label, size);
sys/geom/label/g_label_ntfs.c
107
label[0] = '\0';
sys/geom/label/g_label_ntfs.c
163
label[0] = 0;
sys/geom/label/g_label_ntfs.c
167
label[j / 2] = vnchar;
sys/geom/label/g_label_ntfs.c
170
label[j / 2] = 0;
sys/geom/label/g_label_ntfs.c
92
g_label_ntfs_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_swaplinux.c
49
g_label_swaplinux_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_swaplinux.c
56
label[0] = '\0';
sys/geom/label/g_label_swaplinux.c
79
strlcpy(label, hdr->sw_volume_name, size);
sys/geom/label/g_label_ufs.c
129
g_label_ufs_taste_common(struct g_consumer *cp, char *label, size_t size, int what)
sys/geom/label/g_label_ufs.c
136
label[0] = '\0';
sys/geom/label/g_label_ufs.c
165
strlcpy(label, fs->fs_volname, size);
sys/geom/label/g_label_ufs.c
169
snprintf(label, size, "%08x%08x", fs->fs_id[0],
sys/geom/label/g_label_ufs.c
178
g_label_ufs_volume_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_ufs.c
181
g_label_ufs_taste_common(cp, label, size, G_LABEL_UFS_VOLUME);
sys/geom/label/g_label_ufs.c
185
g_label_ufs_id_taste(struct g_consumer *cp, char *label, size_t size)
sys/geom/label/g_label_ufs.c
188
g_label_ufs_taste_common(cp, label, size, G_LABEL_UFS_ID);
sys/geom/part/g_part_bsd.c
504
u_char *label, *p, *pe;
sys/geom/part/g_part_bsd.c
510
label = table->bbarea + pp->sectorsize;
sys/geom/part/g_part_bsd.c
512
p = label + 148 + (index - 1) * 16;
sys/geom/part/g_part_bsd.c
530
le16enc(label + 136, 0);
sys/geom/part/g_part_bsd.c
531
pe = label + 148 + basetable->gpt_entries * 16;
sys/geom/part/g_part_bsd.c
533
for (p = label; p < pe; p += 2)
sys/geom/part/g_part_bsd.c
535
le16enc(label + 136, sum);
sys/geom/raid/g_raid.h
329
#define G_RAID_MD_DECLARE(name, label) \
sys/geom/raid/g_raid.h
340
NULL, label " metadata module"); \
sys/geom/raid/g_raid.h
343
"Enable " label " metadata format taste")
sys/geom/raid/g_raid.h
367
#define G_RAID_TR_DECLARE(name, label) \
sys/geom/raid/g_raid.h
378
NULL, label " transformation module"); \
sys/geom/raid/g_raid.h
381
"Enable " label " transformation module taste")
sys/kern/kern_exec.c
413
struct label *interpvplabel = NULL;
sys/kern/kern_jail.c
5175
SYSCTL_JAIL_PARAM_STRUCT(_mac, label, CTLFLAG_RW, sizeof(struct mac),
sys/kern/kern_sysctl.c
876
const char *label)
sys/kern/kern_sysctl.c
916
if (label != NULL)
sys/kern/kern_sysctl.c
917
oidp->oid_label = strdup(label, M_SYSCTLOID);
sys/kern/sysv_msg.c
1462
tmsqk.label = NULL;
sys/kern/sysv_msg.c
1507
pmsqk->label = NULL;
sys/kern/sysv_sem.c
1564
tsemak.label = NULL;
sys/kern/sysv_sem.c
1603
psemak->label = NULL;
sys/kern/sysv_shm.c
1109
tshmseg.label = NULL;
sys/kern/sysv_shm.c
1150
pshmseg->label = NULL;
sys/net/bpfdesc.h
96
struct label *bd_label; /* MAC label for descriptor */
sys/net/if.c
4913
struct label *
sys/net/if.c
4920
if_setmaclabel(if_t ifp, struct label *label)
sys/net/if.c
4922
ifp->if_label = label;
sys/net/if_private.h
118
struct label *if_label; /* interface MAC label */
sys/net/if_var.h
673
struct label *if_getmaclabel(if_t ifp);
sys/net/if_var.h
674
void if_setmaclabel(if_t ifp, struct label *label);
sys/net/pfvar.h
786
char label[PF_RULE_MAX_LABEL_COUNT][PF_RULE_LABEL_SIZE];
sys/net/pfvar.h
803
char label[PF_RULE_MAX_LABEL_COUNT][PF_RULE_LABEL_SIZE];
sys/netinet/in_pcb.h
385
struct label *inp_label; /* (i) MAC label */
sys/netinet/ip_var.h
68
struct label *ipq_label; /* MAC label */
sys/netinet/tcp_syncache.c
1415
struct label *maclabel = NULL;
sys/netinet/tcp_syncache.h
75
struct label *sc_label; /* MAC label reference */
sys/netinet6/in6_src.c
382
if (dst_policy->label != ADDR_LABEL_NOTAPP) {
sys/netinet6/in6_src.c
384
if (dst_policy->label == best_policy->label &&
sys/netinet6/in6_src.c
385
dst_policy->label != new_policy->label)
sys/netinet6/in6_src.c
387
if (dst_policy->label != best_policy->label &&
sys/netinet6/in6_src.c
388
dst_policy->label == new_policy->label)
sys/netinet6/in6_src.c
897
V_defaultaddrpolicy.label = ADDR_LABEL_NOTAPP;
sys/netinet6/in6_src.c
960
if (ent0.label == ADDR_LABEL_NOTAPP)
sys/netinet6/in6_var.h
138
int label; /* matching label */
sys/netinet6/ip6_var.h
86
struct label *ip6q_label;
sys/netpfil/pf/pf.h
526
char label[PF_RULE_LABEL_SIZE];
sys/netpfil/pf/pf_ioctl.c
1415
PF_MD5_UPD_STR(rule, label[i]);
sys/netpfil/pf/pf_ioctl.c
2844
ret = pf_user_strcpy(krule->label[0], rule->label, sizeof(rule->label));
sys/netpfil/pf/pf_ioctl.c
3254
pf_label_match(const struct pf_krule *rule, const char *label)
sys/netpfil/pf/pf_ioctl.c
3258
while (*rule->label[i]) {
sys/netpfil/pf/pf_ioctl.c
3259
if (strcmp(rule->label[i], label) == 0)
sys/netpfil/pf/pf_nl.c
572
while (r->label[i][0] != 0
sys/netpfil/pf/pf_nl.c
574
nlattr_add_string(nw, PF_LT_LABEL, r->label[i]);
sys/netpfil/pf/pf_nl.c
718
{ .type = PF_RT_LABELS, .off = _OUT(label), .arg = &rule_labels_parser,.cb = nlattr_get_nested_pf_rule_labels },
sys/netpfil/pf/pf_nv.c
1061
nvlist_append_string_array(nvl, "labels", krule->label[i]);
sys/netpfil/pf/pf_nv.c
1154
ret = strlcpy(krule->label[i], strs[i],
sys/netpfil/pf/pf_nv.c
1155
sizeof(krule->label[0]));
sys/netpfil/pf/pf_nv.c
1156
if (ret >= sizeof(krule->label[0]))
sys/netpfil/pf/pf_nv.c
529
PFNV_CHK(pf_nvstring(nvl, "label", rule->label[0],
sys/netpfil/pf/pf_nv.c
530
sizeof(rule->label[0])));
sys/netpfil/pf/pf_nv.c
541
ret = strlcpy(rule->label[i], strs[i],
sys/netpfil/pf/pf_nv.c
542
sizeof(rule->label[0]));
sys/netpfil/pf/pf_nv.c
543
if (ret >= sizeof(rule->label[0]))
sys/netpfil/pf/pf_nv.c
714
nvlist_append_string_array(nvl, "labels", rule->label[i]);
sys/netpfil/pf/pf_nv.c
716
nvlist_add_string(nvl, "label", rule->label[0]);
sys/ofed/include/uapi/rdma/ib_user_verbs.h
1118
__be32 label;
sys/security/mac/mac_audit.c
118
struct label *vl;
sys/security/mac/mac_cred.c
100
MAC_POLICY_PERFORM_NOSLEEP(cred_destroy_label, label);
sys/security/mac/mac_cred.c
101
mac_labelzone_free(label);
sys/security/mac/mac_cred.c
153
mac_cred_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_cred.c
158
MAC_POLICY_EXTERNALIZE(cred, label, elements, outbuf, outbuflen);
sys/security/mac/mac_cred.c
164
mac_cred_internalize_label(struct label *label, char *string)
sys/security/mac/mac_cred.c
168
MAC_POLICY_INTERNALIZE(cred, label, string);
sys/security/mac/mac_cred.c
192
mac_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac/mac_cred.c
202
mac_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac/mac_cred.c
76
struct label *
sys/security/mac/mac_cred.c
79
struct label *label;
sys/security/mac/mac_cred.c
81
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_cred.c
82
MAC_POLICY_PERFORM(cred_init_label, label);
sys/security/mac/mac_cred.c
83
return (label);
sys/security/mac/mac_cred.c
97
mac_cred_label_free(struct label *label)
sys/security/mac/mac_framework.h
309
struct label *label);
sys/security/mac/mac_framework.h
353
struct label *newlabel);
sys/security/mac/mac_framework.h
410
struct label **interplabel);
sys/security/mac/mac_framework.h
411
void mac_execve_interpreter_exit(struct label *interpvplabel);
sys/security/mac/mac_framework.h
443
void mac_syncache_create(struct label *l, struct inpcb *inp);
sys/security/mac/mac_framework.h
444
void mac_syncache_create_mbuf(struct label *l, struct mbuf *m);
sys/security/mac/mac_framework.h
445
void mac_syncache_destroy(struct label **l);
sys/security/mac/mac_framework.h
446
int mac_syncache_init(struct label **l);
sys/security/mac/mac_framework.h
68
struct label;
sys/security/mac/mac_framework.h
723
void mac_vnode_copy_label(struct label *, struct label *);
sys/security/mac/mac_framework.h
730
struct label *interpvplabel, struct image_params *imgp);
sys/security/mac/mac_framework.h
732
struct vnode *vp, struct label *interpvplabel,
sys/security/mac/mac_framework.h
735
struct label *newlabel);
sys/security/mac/mac_inet.c
120
static struct label *
sys/security/mac/mac_inet.c
123
struct label *label;
sys/security/mac/mac_inet.c
126
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_inet.c
127
if (label == NULL)
sys/security/mac/mac_inet.c
131
MAC_POLICY_CHECK(ipq_init_label, label, flag);
sys/security/mac/mac_inet.c
133
MAC_POLICY_CHECK_NOSLEEP(ipq_init_label, label, flag);
sys/security/mac/mac_inet.c
135
MAC_POLICY_PERFORM_NOSLEEP(ipq_destroy_label, label);
sys/security/mac/mac_inet.c
136
mac_labelzone_free(label);
sys/security/mac/mac_inet.c
139
return (label);
sys/security/mac/mac_inet.c
156
mac_inpcb_label_free(struct label *label)
sys/security/mac/mac_inet.c
159
MAC_POLICY_PERFORM_NOSLEEP(inpcb_destroy_label, label);
sys/security/mac/mac_inet.c
160
mac_labelzone_free(label);
sys/security/mac/mac_inet.c
174
mac_ipq_label_free(struct label *label)
sys/security/mac/mac_inet.c
177
MAC_POLICY_PERFORM_NOSLEEP(ipq_destroy_label, label);
sys/security/mac/mac_inet.c
178
mac_labelzone_free(label);
sys/security/mac/mac_inet.c
202
struct label *label;
sys/security/mac/mac_inet.c
207
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
210
label);
sys/security/mac/mac_inet.c
216
struct label *mlabel, *fraglabel;
sys/security/mac/mac_inet.c
231
struct label *label;
sys/security/mac/mac_inet.c
236
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
238
MAC_POLICY_PERFORM_NOSLEEP(ipq_create, m, label, q, q->ipq_label);
sys/security/mac/mac_inet.c
244
struct label *mlabel;
sys/security/mac/mac_inet.c
260
struct label *label;
sys/security/mac/mac_inet.c
266
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
269
MAC_POLICY_BOOLEAN_NOSLEEP(ipq_match, &&, m, label, q, q->ipq_label);
sys/security/mac/mac_inet.c
277
struct label *mlabel;
sys/security/mac/mac_inet.c
294
struct label *mrecvlabel, *msendlabel;
sys/security/mac/mac_inet.c
309
struct label *label;
sys/security/mac/mac_inet.c
314
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
316
MAC_POLICY_PERFORM_NOSLEEP(netinet_icmp_replyinplace, m, label);
sys/security/mac/mac_inet.c
322
struct label *mlabel;
sys/security/mac/mac_inet.c
339
struct label *label;
sys/security/mac/mac_inet.c
344
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
346
MAC_POLICY_PERFORM_NOSLEEP(netinet_tcp_reply, m, label);
sys/security/mac/mac_inet.c
352
struct label *label;
sys/security/mac/mac_inet.c
357
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
359
MAC_POLICY_PERFORM_NOSLEEP(ipq_update, m, label, q, q->ipq_label);
sys/security/mac/mac_inet.c
368
struct label *label;
sys/security/mac/mac_inet.c
376
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
379
label);
sys/security/mac/mac_inet.c
416
struct label *mrecvlabel, *msendlabel;
sys/security/mac/mac_inet.c
434
struct label *label;
sys/security/mac/mac_inet.c
441
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet.c
443
MAC_POLICY_PERFORM_NOSLEEP(netinet_firewall_send, m, label);
sys/security/mac/mac_inet.c
456
mac_syncache_destroy(struct label **label)
sys/security/mac/mac_inet.c
459
if (*label != NULL) {
sys/security/mac/mac_inet.c
460
MAC_POLICY_PERFORM_NOSLEEP(syncache_destroy_label, *label);
sys/security/mac/mac_inet.c
461
mac_labelzone_free(*label);
sys/security/mac/mac_inet.c
462
*label = NULL;
sys/security/mac/mac_inet.c
467
mac_syncache_init(struct label **label)
sys/security/mac/mac_inet.c
472
*label = mac_labelzone_alloc(M_NOWAIT);
sys/security/mac/mac_inet.c
473
if (*label == NULL)
sys/security/mac/mac_inet.c
482
MAC_POLICY_CHECK_NOSLEEP(syncache_init_label, *label,
sys/security/mac/mac_inet.c
486
*label);
sys/security/mac/mac_inet.c
487
mac_labelzone_free(*label);
sys/security/mac/mac_inet.c
488
*label = NULL;
sys/security/mac/mac_inet.c
492
*label = NULL;
sys/security/mac/mac_inet.c
497
mac_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac/mac_inet.c
502
MAC_POLICY_PERFORM_NOSLEEP(syncache_create, label, inp);
sys/security/mac/mac_inet.c
506
mac_syncache_create_mbuf(struct label *sc_label, struct mbuf *m)
sys/security/mac/mac_inet.c
508
struct label *mlabel;
sys/security/mac/mac_inet.c
75
static struct label *
sys/security/mac/mac_inet.c
78
struct label *label;
sys/security/mac/mac_inet.c
81
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_inet.c
82
if (label == NULL)
sys/security/mac/mac_inet.c
85
MAC_POLICY_CHECK(inpcb_init_label, label, flag);
sys/security/mac/mac_inet.c
87
MAC_POLICY_CHECK_NOSLEEP(inpcb_init_label, label, flag);
sys/security/mac/mac_inet.c
89
MAC_POLICY_PERFORM_NOSLEEP(inpcb_destroy_label, label);
sys/security/mac/mac_inet.c
90
mac_labelzone_free(label);
sys/security/mac/mac_inet.c
93
return (label);
sys/security/mac/mac_inet6.c
100
MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label);
sys/security/mac/mac_inet6.c
101
mac_labelzone_free(label);
sys/security/mac/mac_inet6.c
117
struct label *label;
sys/security/mac/mac_inet6.c
122
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet6.c
125
label);
sys/security/mac/mac_inet6.c
131
struct label *label;
sys/security/mac/mac_inet6.c
136
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet6.c
138
MAC_POLICY_PERFORM_NOSLEEP(ip6q_create, m, label, q6,
sys/security/mac/mac_inet6.c
145
struct label *label;
sys/security/mac/mac_inet6.c
151
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet6.c
154
MAC_POLICY_BOOLEAN_NOSLEEP(ip6q_match, &&, m, label, q6,
sys/security/mac/mac_inet6.c
163
struct label *label;
sys/security/mac/mac_inet6.c
168
label = mac_mbuf_to_label(m);
sys/security/mac/mac_inet6.c
170
MAC_POLICY_PERFORM_NOSLEEP(ip6q_update, m, label, q6,
sys/security/mac/mac_inet6.c
188
struct label *mlabel;
sys/security/mac/mac_inet6.c
61
static struct label *
sys/security/mac/mac_inet6.c
64
struct label *label;
sys/security/mac/mac_inet6.c
67
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_inet6.c
68
if (label == NULL)
sys/security/mac/mac_inet6.c
72
MAC_POLICY_CHECK(ip6q_init_label, label, flag);
sys/security/mac/mac_inet6.c
74
MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag);
sys/security/mac/mac_inet6.c
76
MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label);
sys/security/mac/mac_inet6.c
77
mac_labelzone_free(label);
sys/security/mac/mac_inet6.c
80
return (label);
sys/security/mac/mac_inet6.c
97
mac_ip6q_label_free(struct label *label)
sys/security/mac/mac_internal.h
209
struct label *mac_labelzone_alloc(int flags);
sys/security/mac/mac_internal.h
210
void mac_labelzone_free(struct label *label);
sys/security/mac/mac_internal.h
213
void mac_init_label(struct label *label);
sys/security/mac/mac_internal.h
214
void mac_destroy_label(struct label *label);
sys/security/mac/mac_internal.h
241
struct label *mac_cred_label_alloc(void);
sys/security/mac/mac_internal.h
242
void mac_cred_label_free(struct label *label);
sys/security/mac/mac_internal.h
243
struct label *mac_pipe_label_alloc(void);
sys/security/mac/mac_internal.h
244
void mac_pipe_label_free(struct label *label);
sys/security/mac/mac_internal.h
245
struct label *mac_prison_label_alloc(int flags);
sys/security/mac/mac_internal.h
246
void mac_prison_label_free(struct label *label);
sys/security/mac/mac_internal.h
247
struct label *mac_socket_label_alloc(int flag);
sys/security/mac/mac_internal.h
248
void mac_socket_label_free(struct label *label);
sys/security/mac/mac_internal.h
249
void mac_socketpeer_label_free(struct label *label);
sys/security/mac/mac_internal.h
250
struct label *mac_vnode_label_alloc(void);
sys/security/mac/mac_internal.h
251
void mac_vnode_label_free(struct label *label);
sys/security/mac/mac_internal.h
253
int mac_cred_check_relabel(struct ucred *cred, struct label *newlabel);
sys/security/mac/mac_internal.h
254
int mac_cred_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_internal.h
256
int mac_cred_internalize_label(struct label *label, char *string);
sys/security/mac/mac_internal.h
257
void mac_cred_relabel(struct ucred *cred, struct label *newlabel);
sys/security/mac/mac_internal.h
259
struct label *mac_mbuf_to_label(struct mbuf *m);
sys/security/mac/mac_internal.h
261
void mac_pipe_copy_label(struct label *src, struct label *dest);
sys/security/mac/mac_internal.h
262
int mac_pipe_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_internal.h
264
int mac_pipe_internalize_label(struct label *label, char *string);
sys/security/mac/mac_internal.h
267
struct label *label);
sys/security/mac/mac_internal.h
269
struct label *newlabel);
sys/security/mac/mac_internal.h
270
void mac_prison_copy_label(struct label *src, struct label *dest);
sys/security/mac/mac_internal.h
271
int mac_prison_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_internal.h
273
int mac_prison_internalize_label(struct label *label, char *string);
sys/security/mac/mac_internal.h
275
struct label *newlabel);
sys/security/mac/mac_internal.h
278
struct label *label);
sys/security/mac/mac_internal.h
279
void mac_socket_copy_label(struct label *src, struct label *dest);
sys/security/mac/mac_internal.h
280
int mac_socket_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_internal.h
282
int mac_socket_internalize_label(struct label *label, char *string);
sys/security/mac/mac_internal.h
284
int mac_vnode_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_internal.h
286
int mac_vnode_internalize_label(struct label *label, char *string);
sys/security/mac/mac_internal.h
289
int vn_setlabel(struct vnode *vp, struct label *intlabel,
sys/security/mac/mac_internal.h
435
#define MAC_POLICY_EXTERNALIZE(type, label, elementlist, outbuf, \
sys/security/mac/mac_internal.h
461
MAC_POLICY_CHECK(type ## _externalize_label, label, \
sys/security/mac/mac_internal.h
483
#define MAC_POLICY_INTERNALIZE(type, label, instring) do { \
sys/security/mac/mac_internal.h
497
MAC_POLICY_CHECK(type ## _internalize_label, label, \
sys/security/mac/mac_label.c
100
label = mem;
sys/security/mac/mac_label.c
101
mac_init_label(label);
sys/security/mac/mac_label.c
108
struct label *label;
sys/security/mac/mac_label.c
110
KASSERT(size == sizeof(*label), ("mac_labelzone_dtor: wrong size\n"));
sys/security/mac/mac_label.c
111
label = mem;
sys/security/mac/mac_label.c
112
mac_destroy_label(label);
sys/security/mac/mac_label.c
115
struct label *
sys/security/mac/mac_label.c
123
mac_labelzone_free(struct label *label)
sys/security/mac/mac_label.c
126
uma_zfree(zone_label, label);
sys/security/mac/mac_label.c
133
mac_label_get(struct label *l, int slot)
sys/security/mac/mac_label.c
142
mac_label_set(struct label *l, int slot, intptr_t v)
sys/security/mac/mac_label.c
62
zone_label = uma_zcreate("MAC labels", sizeof(struct label),
sys/security/mac/mac_label.c
73
mac_init_label(struct label *label)
sys/security/mac/mac_label.c
76
bzero(label, sizeof(*label));
sys/security/mac/mac_label.c
77
label->l_flags = MAC_FLAG_INITIALIZED;
sys/security/mac/mac_label.c
81
mac_destroy_label(struct label *label)
sys/security/mac/mac_label.c
84
KASSERT(label->l_flags & MAC_FLAG_INITIALIZED,
sys/security/mac/mac_label.c
88
bzero(label, sizeof(*label));
sys/security/mac/mac_label.c
90
label->l_flags &= ~MAC_FLAG_INITIALIZED;
sys/security/mac/mac_label.c
97
struct label *label;
sys/security/mac/mac_label.c
99
KASSERT(size == sizeof(*label), ("mac_labelzone_ctor: wrong size\n"));
sys/security/mac/mac_net.c
105
label = (struct label *)(tag+1);
sys/security/mac/mac_net.c
106
return (label);
sys/security/mac/mac_net.c
109
static struct label *
sys/security/mac/mac_net.c
112
struct label *label;
sys/security/mac/mac_net.c
114
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_net.c
115
MAC_POLICY_PERFORM(bpfdesc_init_label, label);
sys/security/mac/mac_net.c
116
return (label);
sys/security/mac/mac_net.c
129
static struct label *
sys/security/mac/mac_net.c
132
struct label *label;
sys/security/mac/mac_net.c
134
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_net.c
135
MAC_POLICY_PERFORM(ifnet_init_label, label);
sys/security/mac/mac_net.c
136
return (label);
sys/security/mac/mac_net.c
152
struct label *label;
sys/security/mac/mac_net.c
155
label = (struct label *) (tag + 1);
sys/security/mac/mac_net.c
156
mac_init_label(label);
sys/security/mac/mac_net.c
159
MAC_POLICY_CHECK(mbuf_init_label, label, flag);
sys/security/mac/mac_net.c
161
MAC_POLICY_CHECK_NOSLEEP(mbuf_init_label, label, flag);
sys/security/mac/mac_net.c
163
MAC_POLICY_PERFORM_NOSLEEP(mbuf_destroy_label, label);
sys/security/mac/mac_net.c
164
mac_destroy_label(label);
sys/security/mac/mac_net.c
178
tag = m_tag_get(PACKET_TAG_MACLABEL, sizeof(struct label),
sys/security/mac/mac_net.c
193
mac_bpfdesc_label_free(struct label *label)
sys/security/mac/mac_net.c
196
MAC_POLICY_PERFORM_NOSLEEP(bpfdesc_destroy_label, label);
sys/security/mac/mac_net.c
197
mac_labelzone_free(label);
sys/security/mac/mac_net.c
211
mac_ifnet_label_free(struct label *label)
sys/security/mac/mac_net.c
214
MAC_POLICY_PERFORM_NOSLEEP(ifnet_destroy_label, label);
sys/security/mac/mac_net.c
215
mac_labelzone_free(label);
sys/security/mac/mac_net.c
221
struct label *label = if_getmaclabel(ifp);
sys/security/mac/mac_net.c
222
if (label != NULL) {
sys/security/mac/mac_net.c
223
mac_ifnet_label_free(label);
sys/security/mac/mac_net.c
231
struct label *label;
sys/security/mac/mac_net.c
233
label = (struct label *)(tag+1);
sys/security/mac/mac_net.c
235
MAC_POLICY_PERFORM_NOSLEEP(mbuf_destroy_label, label);
sys/security/mac/mac_net.c
236
mac_destroy_label(label);
sys/security/mac/mac_net.c
246
struct label *src_label, *dest_label;
sys/security/mac/mac_net.c
248
src_label = (struct label *)(src+1);
sys/security/mac/mac_net.c
249
dest_label = (struct label *)(dest+1);
sys/security/mac/mac_net.c
261
struct label *src_label, *dest_label;
sys/security/mac/mac_net.c
273
mac_ifnet_copy_label(struct label *src, struct label *dest)
sys/security/mac/mac_net.c
280
mac_ifnet_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_net.c
285
MAC_POLICY_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen);
sys/security/mac/mac_net.c
291
mac_ifnet_internalize_label(struct label *label, char *string)
sys/security/mac/mac_net.c
295
MAC_POLICY_INTERNALIZE(ifnet, label, string);
sys/security/mac/mac_net.c
323
struct label *label;
sys/security/mac/mac_net.c
331
label = mac_mbuf_to_label(m);
sys/security/mac/mac_net.c
334
label);
sys/security/mac/mac_net.c
340
struct label *label;
sys/security/mac/mac_net.c
343
label = mac_mbuf_to_label(m);
sys/security/mac/mac_net.c
347
label);
sys/security/mac/mac_net.c
380
struct label *label;
sys/security/mac/mac_net.c
385
label = mac_mbuf_to_label(m);
sys/security/mac/mac_net.c
389
label);
sys/security/mac/mac_net.c
401
struct label *intlabel;
sys/security/mac/mac_net.c
443
struct label *intlabel;
sys/security/mac/mac_net.c
94
struct label *
sys/security/mac/mac_net.c
98
struct label *label;
sys/security/mac/mac_pipe.c
106
mac_pipe_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_pipe.c
111
MAC_POLICY_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
sys/security/mac/mac_pipe.c
117
mac_pipe_internalize_label(struct label *label, char *string)
sys/security/mac/mac_pipe.c
121
MAC_POLICY_INTERNALIZE(pipe, label, string);
sys/security/mac/mac_pipe.c
135
struct label *newlabel)
sys/security/mac/mac_pipe.c
197
struct label *newlabel)
sys/security/mac/mac_pipe.c
244
struct label *label)
sys/security/mac/mac_pipe.c
250
error = mac_pipe_check_relabel(cred, pp, label);
sys/security/mac/mac_pipe.c
254
mac_pipe_relabel(cred, pp, label);
sys/security/mac/mac_pipe.c
60
struct label *
sys/security/mac/mac_pipe.c
63
struct label *label;
sys/security/mac/mac_pipe.c
65
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_pipe.c
66
MAC_POLICY_PERFORM(pipe_init_label, label);
sys/security/mac/mac_pipe.c
67
return (label);
sys/security/mac/mac_pipe.c
81
mac_pipe_label_free(struct label *label)
sys/security/mac/mac_pipe.c
84
MAC_POLICY_PERFORM_NOSLEEP(pipe_destroy_label, label);
sys/security/mac/mac_pipe.c
85
mac_labelzone_free(label);
sys/security/mac/mac_pipe.c
99
mac_pipe_copy_label(struct label *src, struct label *dest)
sys/security/mac/mac_policy.h
1123
intptr_t mac_label_get(struct label *l, int slot);
sys/security/mac/mac_policy.h
1124
void mac_label_set(struct label *l, int slot, intptr_t v);
sys/security/mac/mac_policy.h
131
struct label *dlabel, struct ifnet *ifp,
sys/security/mac/mac_policy.h
132
struct label *ifplabel);
sys/security/mac/mac_policy.h
134
struct bpf_d *d, struct label *dlabel);
sys/security/mac/mac_policy.h
136
struct label *dlabel, struct mbuf *m,
sys/security/mac/mac_policy.h
137
struct label *mlabel);
sys/security/mac/mac_policy.h
138
typedef void (*mpo_bpfdesc_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
139
typedef void (*mpo_bpfdesc_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
143
struct label *newlabel);
sys/security/mac/mac_policy.h
169
typedef void (*mpo_cred_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
170
struct label *dest);
sys/security/mac/mac_policy.h
173
typedef void (*mpo_cred_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
174
typedef int (*mpo_cred_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
176
typedef void (*mpo_cred_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
177
typedef int (*mpo_cred_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
180
struct label *newlabel);
sys/security/mac/mac_policy.h
190
struct devfs_dirent *de, struct label *delabel);
sys/security/mac/mac_policy.h
193
struct label *delabel);
sys/security/mac/mac_policy.h
196
struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac/mac_policy.h
197
struct label *delabel);
sys/security/mac/mac_policy.h
198
typedef void (*mpo_devfs_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
199
typedef void (*mpo_devfs_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
201
struct devfs_dirent *de, struct label *delabel,
sys/security/mac/mac_policy.h
202
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
204
struct label *mplabel, struct devfs_dirent *de,
sys/security/mac/mac_policy.h
205
struct label *delabel, struct vnode *vp,
sys/security/mac/mac_policy.h
206
struct label *vplabel);
sys/security/mac/mac_policy.h
209
struct ifnet *ifp, struct label *ifplabel,
sys/security/mac/mac_policy.h
210
struct label *newlabel);
sys/security/mac/mac_policy.h
212
struct label *ifplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
213
struct label *mlabel);
sys/security/mac/mac_policy.h
214
typedef void (*mpo_ifnet_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
215
struct label *dest);
sys/security/mac/mac_policy.h
217
struct label *ifplabel);
sys/security/mac/mac_policy.h
219
struct label *ifplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
220
struct label *mlabel);
sys/security/mac/mac_policy.h
221
typedef void (*mpo_ifnet_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
222
typedef int (*mpo_ifnet_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
224
typedef void (*mpo_ifnet_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
225
typedef int (*mpo_ifnet_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
228
struct label *ifplabel, struct label *newlabel);
sys/security/mac/mac_policy.h
231
struct label *inplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
232
struct label *mlabel);
sys/security/mac/mac_policy.h
234
struct inpcb *inp, struct label *inplabel);
sys/security/mac/mac_policy.h
236
struct label *solabel, struct inpcb *inp,
sys/security/mac/mac_policy.h
237
struct label *inplabel);
sys/security/mac/mac_policy.h
239
struct label *inplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
240
struct label *mlabel);
sys/security/mac/mac_policy.h
241
typedef void (*mpo_inpcb_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
242
typedef int (*mpo_inpcb_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
244
struct label *label, struct inpcb *inp,
sys/security/mac/mac_policy.h
245
struct label *inplabel);
sys/security/mac/mac_policy.h
247
typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
248
struct ip6q *q6, struct label *q6label);
sys/security/mac/mac_policy.h
249
typedef void (*mpo_ip6q_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
250
typedef int (*mpo_ip6q_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
251
typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
252
struct ip6q *q6, struct label *q6label);
sys/security/mac/mac_policy.h
253
typedef void (*mpo_ip6q_reassemble)(struct ip6q *q6, struct label *q6label,
sys/security/mac/mac_policy.h
254
struct mbuf *m, struct label *mlabel);
sys/security/mac/mac_policy.h
255
typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
256
struct ip6q *q6, struct label *q6label);
sys/security/mac/mac_policy.h
264
typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
265
struct ipq *q, struct label *qlabel);
sys/security/mac/mac_policy.h
266
typedef void (*mpo_ipq_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
267
typedef int (*mpo_ipq_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
268
typedef int (*mpo_ipq_match_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
269
struct ipq *q, struct label *qlabel);
sys/security/mac/mac_policy.h
270
typedef void (*mpo_ipq_reassemble)(struct ipq *q, struct label *qlabel,
sys/security/mac/mac_policy.h
271
struct mbuf *m, struct label *mlabel);
sys/security/mac/mac_policy.h
272
typedef void (*mpo_ipq_update_t)(struct mbuf *m, struct label *mlabel,
sys/security/mac/mac_policy.h
273
struct ipq *q, struct label *qlabel);
sys/security/mac/mac_policy.h
284
struct label *vplabel);
sys/security/mac/mac_policy.h
287
typedef void (*mpo_mbuf_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
288
struct label *dest);
sys/security/mac/mac_policy.h
289
typedef void (*mpo_mbuf_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
290
typedef int (*mpo_mbuf_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
293
struct mount *mp, struct label *mplabel);
sys/security/mac/mac_policy.h
295
struct label *mplabel);
sys/security/mac/mac_policy.h
296
typedef void (*mpo_mount_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
297
typedef void (*mpo_mount_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
300
struct label *ifplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
301
struct label *mlabel);
sys/security/mac/mac_policy.h
303
struct label *mrecvlabel, struct mbuf *msend,
sys/security/mac/mac_policy.h
304
struct label *msendlabel);
sys/security/mac/mac_policy.h
306
struct label *mlabel);
sys/security/mac/mac_policy.h
308
struct label *mlabel, struct mbuf *frag,
sys/security/mac/mac_policy.h
309
struct label *fraglabel);
sys/security/mac/mac_policy.h
311
struct label *mrecvlabel, struct mbuf *msend,
sys/security/mac/mac_policy.h
312
struct label *msendlabel);
sys/security/mac/mac_policy.h
314
struct label *mlabel);
sys/security/mac/mac_policy.h
316
struct label *ifplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
317
struct label *mlabel);
sys/security/mac/mac_policy.h
319
struct label *mlabel);
sys/security/mac/mac_policy.h
322
struct label *ifplabel, struct mbuf *m,
sys/security/mac/mac_policy.h
323
struct label *mlabel);
sys/security/mac/mac_policy.h
326
struct pipepair *pp, struct label *pplabel,
sys/security/mac/mac_policy.h
329
struct pipepair *pp, struct label *pplabel);
sys/security/mac/mac_policy.h
331
struct pipepair *pp, struct label *pplabel);
sys/security/mac/mac_policy.h
333
struct pipepair *pp, struct label *pplabel,
sys/security/mac/mac_policy.h
334
struct label *newlabel);
sys/security/mac/mac_policy.h
336
struct pipepair *pp, struct label *pplabel);
sys/security/mac/mac_policy.h
338
struct pipepair *pp, struct label *pplabel);
sys/security/mac/mac_policy.h
339
typedef void (*mpo_pipe_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
340
struct label *dest);
sys/security/mac/mac_policy.h
342
struct label *pplabel);
sys/security/mac/mac_policy.h
343
typedef void (*mpo_pipe_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
344
typedef int (*mpo_pipe_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
346
typedef void (*mpo_pipe_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
347
typedef int (*mpo_pipe_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
350
struct label *oldlabel, struct label *newlabel);
sys/security/mac/mac_policy.h
354
struct label *kslabel);
sys/security/mac/mac_policy.h
356
struct ksem *ks, struct label *kslabel);
sys/security/mac/mac_policy.h
359
struct label *kslabel);
sys/security/mac/mac_policy.h
361
struct ksem *ks, struct label *shmlabel,
sys/security/mac/mac_policy.h
364
struct ksem *ks, struct label *shmlabel,
sys/security/mac/mac_policy.h
368
struct label *kslabel);
sys/security/mac/mac_policy.h
370
struct ksem *ks, struct label *kslabel);
sys/security/mac/mac_policy.h
373
struct label *kslabel);
sys/security/mac/mac_policy.h
375
struct ksem *ks, struct label *kslabel);
sys/security/mac/mac_policy.h
376
typedef void (*mpo_posixsem_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
377
typedef void (*mpo_posixsem_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
382
struct shmfd *shmfd, struct label *shmlabel, int prot,
sys/security/mac/mac_policy.h
385
struct shmfd *shmfd, struct label *shmlabel,
sys/security/mac/mac_policy.h
389
struct label *shmlabel);
sys/security/mac/mac_policy.h
391
struct shmfd *shmfd, struct label *shmlabel,
sys/security/mac/mac_policy.h
394
struct shmfd *shmfd, struct label *shmlabel,
sys/security/mac/mac_policy.h
398
struct label *shmlabel);
sys/security/mac/mac_policy.h
401
struct label *shmlabel);
sys/security/mac/mac_policy.h
403
struct shmfd *shmfd, struct label *shmlabel);
sys/security/mac/mac_policy.h
406
struct label *shmlabel);
sys/security/mac/mac_policy.h
408
struct shmfd *shmfd, struct label *shmlabel);
sys/security/mac/mac_policy.h
409
typedef void (*mpo_posixshm_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
410
typedef void (*mpo_posixshm_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
412
typedef int (*mpo_prison_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
414
struct prison *pr, struct label *prlabel,
sys/security/mac/mac_policy.h
415
struct label *newlabel);
sys/security/mac/mac_policy.h
416
typedef void (*mpo_prison_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
417
typedef void (*mpo_prison_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
418
struct label *dest);
sys/security/mac/mac_policy.h
419
typedef int (*mpo_prison_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
421
typedef int (*mpo_prison_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
424
struct label *prlabel, struct label *newlabel);
sys/security/mac/mac_policy.h
426
struct prison *pr, struct label *prlabel);
sys/security/mac/mac_policy.h
430
struct prison *pr, struct label *prlabel,
sys/security/mac/mac_policy.h
433
struct prison *pr, struct label *prlabel,
sys/security/mac/mac_policy.h
436
struct prison *pr, struct label *prlabel);
sys/security/mac/mac_policy.h
438
struct prison *pr, struct label *prlabel);
sys/security/mac/mac_policy.h
442
struct prison *pr, struct label *prlabel, struct proc *p,
sys/security/mac/mac_policy.h
443
struct label *proclabel);
sys/security/mac/mac_policy.h
456
typedef void (*mpo_proc_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
457
typedef void (*mpo_proc_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
460
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
462
struct socket *so, struct label *solabel,
sys/security/mac/mac_policy.h
465
struct socket *so, struct label *solabel,
sys/security/mac/mac_policy.h
470
struct label *solabel, struct mbuf *m,
sys/security/mac/mac_policy.h
471
struct label *mlabel);
sys/security/mac/mac_policy.h
473
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
475
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
477
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
479
struct socket *so, struct label *solabel,
sys/security/mac/mac_policy.h
480
struct label *newlabel);
sys/security/mac/mac_policy.h
482
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
484
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
486
struct socket *so, struct label *solabel);
sys/security/mac/mac_policy.h
487
typedef void (*mpo_socket_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
488
struct label *dest);
sys/security/mac/mac_policy.h
490
struct label *solabel);
sys/security/mac/mac_policy.h
492
struct label *solabel, struct mbuf *m,
sys/security/mac/mac_policy.h
493
struct label *mlabel);
sys/security/mac/mac_policy.h
494
typedef void (*mpo_socket_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
495
typedef int (*mpo_socket_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
497
typedef int (*mpo_socket_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
498
typedef int (*mpo_socket_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
501
struct label *oldsolabel, struct socket *newso,
sys/security/mac/mac_policy.h
502
struct label *newsolabel);
sys/security/mac/mac_policy.h
504
struct label *oldlabel, struct label *newlabel);
sys/security/mac/mac_policy.h
506
typedef void (*mpo_socketpeer_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
507
typedef int (*mpo_socketpeer_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
509
typedef int (*mpo_socketpeer_init_label_t)(struct label *label,
sys/security/mac/mac_policy.h
512
struct label *mlabel, struct socket *so,
sys/security/mac/mac_policy.h
513
struct label *sopeerlabel);
sys/security/mac/mac_policy.h
515
struct label *oldsolabel, struct socket *newso,
sys/security/mac/mac_policy.h
516
struct label *newsopeerlabel);
sys/security/mac/mac_policy.h
518
typedef void (*mpo_syncache_create_t)(struct label *label,
sys/security/mac/mac_policy.h
520
typedef void (*mpo_syncache_create_mbuf_t)(struct label *sc_label,
sys/security/mac/mac_policy.h
521
struct mbuf *m, struct label *mlabel);
sys/security/mac/mac_policy.h
522
typedef void (*mpo_syncache_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
523
typedef int (*mpo_syncache_init_label_t)(struct label *label, int flag);
sys/security/mac/mac_policy.h
526
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
530
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
534
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
536
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
541
typedef void (*mpo_sysvmsg_cleanup_t)(struct label *msglabel);
sys/security/mac/mac_policy.h
543
struct msqid_kernel *msqkptr, struct label *msqlabel,
sys/security/mac/mac_policy.h
544
struct msg *msgptr, struct label *msglabel);
sys/security/mac/mac_policy.h
545
typedef void (*mpo_sysvmsg_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
546
typedef void (*mpo_sysvmsg_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
549
struct msg *msgptr, struct label *msglabel,
sys/security/mac/mac_policy.h
550
struct msqid_kernel *msqkptr, struct label *msqklabel);
sys/security/mac/mac_policy.h
552
struct msg *msgptr, struct label *msglabel);
sys/security/mac/mac_policy.h
554
struct msg *msgptr, struct label *msglabel);
sys/security/mac/mac_policy.h
556
struct msqid_kernel *msqkptr, struct label *msqklabel);
sys/security/mac/mac_policy.h
558
struct msqid_kernel *msqkptr, struct label *msqklabel,
sys/security/mac/mac_policy.h
561
struct msqid_kernel *msqkptr, struct label *msqklabel);
sys/security/mac/mac_policy.h
563
struct msqid_kernel *msqkptr, struct label *msqklabel);
sys/security/mac/mac_policy.h
564
typedef void (*mpo_sysvmsq_cleanup_t)(struct label *msqlabel);
sys/security/mac/mac_policy.h
566
struct msqid_kernel *msqkptr, struct label *msqlabel);
sys/security/mac/mac_policy.h
567
typedef void (*mpo_sysvmsq_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
568
typedef void (*mpo_sysvmsq_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
571
struct semid_kernel *semakptr, struct label *semaklabel,
sys/security/mac/mac_policy.h
574
struct semid_kernel *semakptr, struct label *semaklabel);
sys/security/mac/mac_policy.h
576
struct semid_kernel *semakptr, struct label *semaklabel,
sys/security/mac/mac_policy.h
578
typedef void (*mpo_sysvsem_cleanup_t)(struct label *semalabel);
sys/security/mac/mac_policy.h
580
struct semid_kernel *semakptr, struct label *semalabel);
sys/security/mac/mac_policy.h
581
typedef void (*mpo_sysvsem_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
582
typedef void (*mpo_sysvsem_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
586
struct label *shmseglabel, int shmflg);
sys/security/mac/mac_policy.h
589
struct label *shmseglabel, int cmd);
sys/security/mac/mac_policy.h
592
struct label *shmseglabel);
sys/security/mac/mac_policy.h
595
struct label *shmseglabel, int shmflg);
sys/security/mac/mac_policy.h
596
typedef void (*mpo_sysvshm_cleanup_t)(struct label *shmlabel);
sys/security/mac/mac_policy.h
598
struct shmid_kernel *shmsegptr, struct label *shmlabel);
sys/security/mac/mac_policy.h
599
typedef void (*mpo_sysvshm_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
600
typedef void (*mpo_sysvshm_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
605
struct label *mplabel, struct vnode *vp,
sys/security/mac/mac_policy.h
606
struct label *vplabel);
sys/security/mac/mac_policy.h
608
struct label *mplabel, struct vnode *vp,
sys/security/mac/mac_policy.h
609
struct label *vplabel);
sys/security/mac/mac_policy.h
611
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
614
struct vnode *dvp, struct label *dvplabel);
sys/security/mac/mac_policy.h
616
struct vnode *dvp, struct label *dvplabel);
sys/security/mac/mac_policy.h
618
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
621
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
624
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
627
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
628
struct image_params *imgp, struct label *execlabel);
sys/security/mac/mac_policy.h
630
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
633
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
636
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
637
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
640
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
643
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
646
struct vnode *vp, struct label *label, int prot,
sys/security/mac/mac_policy.h
649
struct vnode *vp, struct label *vplabel, int *prot);
sys/security/mac/mac_policy.h
651
struct vnode *vp, struct label *vplabel, int prot);
sys/security/mac/mac_policy.h
653
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
657
struct label *vplabel);
sys/security/mac/mac_policy.h
660
struct label *vplabel);
sys/security/mac/mac_policy.h
662
struct vnode *dvp, struct label *dvplabel);
sys/security/mac/mac_policy.h
664
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
666
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
667
struct label *newlabel);
sys/security/mac/mac_policy.h
669
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
670
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
673
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
674
struct vnode *vp, struct label *vplabel, int samedir,
sys/security/mac/mac_policy.h
677
struct vnode *vp, struct label *vplabel);
sys/security/mac/mac_policy.h
679
struct vnode *vp, struct label *vplabel, acl_type_t type,
sys/security/mac/mac_policy.h
682
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
685
struct vnode *vp, struct label *vplabel, u_long flags);
sys/security/mac/mac_policy.h
687
struct vnode *vp, struct label *vplabel, mode_t mode);
sys/security/mac/mac_policy.h
689
struct vnode *vp, struct label *vplabel, uid_t uid,
sys/security/mac/mac_policy.h
692
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
696
struct label *vplabel);
sys/security/mac/mac_policy.h
698
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
699
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
703
struct label *vplabel);
sys/security/mac/mac_policy.h
704
typedef void (*mpo_vnode_copy_label_t)(struct label *src,
sys/security/mac/mac_policy.h
705
struct label *dest);
sys/security/mac/mac_policy.h
707
struct mount *mp, struct label *mplabel,
sys/security/mac/mac_policy.h
708
struct vnode *dvp, struct label *dvplabel,
sys/security/mac/mac_policy.h
709
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
711
typedef void (*mpo_vnode_destroy_label_t)(struct label *label);
sys/security/mac/mac_policy.h
714
struct label *vplabel, struct label *interpvplabel,
sys/security/mac/mac_policy.h
715
struct image_params *imgp, struct label *execlabel);
sys/security/mac/mac_policy.h
717
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
718
struct label *interpvplabel, struct image_params *imgp,
sys/security/mac/mac_policy.h
719
struct label *execlabel);
sys/security/mac/mac_policy.h
720
typedef int (*mpo_vnode_externalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
722
typedef void (*mpo_vnode_init_label_t)(struct label *label);
sys/security/mac/mac_policy.h
723
typedef int (*mpo_vnode_internalize_label_t)(struct label *label,
sys/security/mac/mac_policy.h
726
struct label *vplabel, struct label *label);
sys/security/mac/mac_policy.h
728
struct vnode *vp, struct label *vplabel,
sys/security/mac/mac_policy.h
729
struct label *intlabel);
sys/security/mac/mac_policy.h
84
struct label;
sys/security/mac/mac_posix_sem.c
56
static struct label *
sys/security/mac/mac_posix_sem.c
59
struct label *label;
sys/security/mac/mac_posix_sem.c
61
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_posix_sem.c
62
MAC_POLICY_PERFORM(posixsem_init_label, label);
sys/security/mac/mac_posix_sem.c
63
return (label);
sys/security/mac/mac_posix_sem.c
77
mac_posixsem_label_free(struct label *label)
sys/security/mac/mac_posix_sem.c
80
MAC_POLICY_PERFORM_NOSLEEP(posixsem_destroy_label, label);
sys/security/mac/mac_posix_sem.c
81
mac_labelzone_free(label);
sys/security/mac/mac_posix_shm.c
55
static struct label *
sys/security/mac/mac_posix_shm.c
58
struct label *label;
sys/security/mac/mac_posix_shm.c
60
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_posix_shm.c
61
MAC_POLICY_PERFORM(posixshm_init_label, label);
sys/security/mac/mac_posix_shm.c
62
return (label);
sys/security/mac/mac_posix_shm.c
76
mac_posixshm_label_free(struct label *label)
sys/security/mac/mac_posix_shm.c
79
MAC_POLICY_PERFORM_NOSLEEP(posixshm_destroy_label, label);
sys/security/mac/mac_posix_shm.c
80
mac_labelzone_free(label);
sys/security/mac/mac_prison.c
105
mac_prison_copy_label(struct label *src, struct label *dest)
sys/security/mac/mac_prison.c
112
mac_prison_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_prison.c
117
MAC_POLICY_EXTERNALIZE(prison, label, elements, outbuf, outbuflen);
sys/security/mac/mac_prison.c
122
mac_prison_internalize_label(struct label *label, char *string)
sys/security/mac/mac_prison.c
126
MAC_POLICY_INTERNALIZE(prison, label, string);
sys/security/mac/mac_prison.c
132
struct label *newlabel)
sys/security/mac/mac_prison.c
141
struct label *label)
sys/security/mac/mac_prison.c
147
error = mac_prison_check_relabel(cred, pr, label);
sys/security/mac/mac_prison.c
151
mac_prison_relabel(cred, pr, label);
sys/security/mac/mac_prison.c
160
struct label *newlabel)
sys/security/mac/mac_prison.c
34
mac_prison_label_free(struct label *label)
sys/security/mac/mac_prison.c
36
if (label == NULL)
sys/security/mac/mac_prison.c
39
MAC_POLICY_PERFORM_NOSLEEP(prison_destroy_label, label);
sys/security/mac/mac_prison.c
40
mac_labelzone_free(label);
sys/security/mac/mac_prison.c
43
struct label *
sys/security/mac/mac_prison.c
46
struct label *label;
sys/security/mac/mac_prison.c
49
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_prison.c
50
if (label == NULL)
sys/security/mac/mac_prison.c
54
MAC_POLICY_CHECK(prison_init_label, label, flag);
sys/security/mac/mac_prison.c
56
MAC_POLICY_CHECK_NOSLEEP(prison_init_label, label, flag);
sys/security/mac/mac_prison.c
58
mac_prison_label_free(label);
sys/security/mac/mac_prison.c
61
return (label);
sys/security/mac/mac_prison.c
72
struct label *prlabel;
sys/security/mac/mac_process.c
109
mac_proc_label_free(struct label *label)
sys/security/mac/mac_process.c
112
MAC_POLICY_PERFORM_NOSLEEP(proc_destroy_label, label);
sys/security/mac/mac_process.c
113
mac_labelzone_free(label);
sys/security/mac/mac_process.c
136
struct label *label;
sys/security/mac/mac_process.c
162
label = mac_cred_label_alloc();
sys/security/mac/mac_process.c
163
error = mac_cred_internalize_label(label, buffer);
sys/security/mac/mac_process.c
166
mac_cred_label_free(label);
sys/security/mac/mac_process.c
169
imgp->execlabel = label;
sys/security/mac/mac_process.c
184
struct label **interpvplabel)
sys/security/mac/mac_process.c
195
mac_execve_interpreter_exit(struct label *interpvplabel)
sys/security/mac/mac_process.c
88
static struct label *
sys/security/mac/mac_process.c
91
struct label *label;
sys/security/mac/mac_process.c
93
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_process.c
94
MAC_POLICY_PERFORM(proc_init_label, label);
sys/security/mac/mac_process.c
95
return (label);
sys/security/mac/mac_socket.c
100
struct label *
sys/security/mac/mac_socket.c
103
struct label *label;
sys/security/mac/mac_socket.c
106
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_socket.c
107
if (label == NULL)
sys/security/mac/mac_socket.c
111
MAC_POLICY_CHECK(socket_init_label, label, flag);
sys/security/mac/mac_socket.c
113
MAC_POLICY_CHECK_NOSLEEP(socket_init_label, label, flag);
sys/security/mac/mac_socket.c
115
MAC_POLICY_PERFORM_NOSLEEP(socket_destroy_label, label);
sys/security/mac/mac_socket.c
116
mac_labelzone_free(label);
sys/security/mac/mac_socket.c
119
return (label);
sys/security/mac/mac_socket.c
122
static struct label *
sys/security/mac/mac_socket.c
125
struct label *label;
sys/security/mac/mac_socket.c
128
label = mac_labelzone_alloc(flag);
sys/security/mac/mac_socket.c
129
if (label == NULL)
sys/security/mac/mac_socket.c
133
MAC_POLICY_CHECK(socketpeer_init_label, label, flag);
sys/security/mac/mac_socket.c
135
MAC_POLICY_CHECK_NOSLEEP(socketpeer_init_label, label, flag);
sys/security/mac/mac_socket.c
137
MAC_POLICY_PERFORM_NOSLEEP(socketpeer_destroy_label, label);
sys/security/mac/mac_socket.c
138
mac_labelzone_free(label);
sys/security/mac/mac_socket.c
141
return (label);
sys/security/mac/mac_socket.c
166
mac_socket_label_free(struct label *label)
sys/security/mac/mac_socket.c
169
MAC_POLICY_PERFORM_NOSLEEP(socket_destroy_label, label);
sys/security/mac/mac_socket.c
170
mac_labelzone_free(label);
sys/security/mac/mac_socket.c
174
mac_socketpeer_label_free(struct label *label)
sys/security/mac/mac_socket.c
177
MAC_POLICY_PERFORM_NOSLEEP(socketpeer_destroy_label, label);
sys/security/mac/mac_socket.c
178
mac_labelzone_free(label);
sys/security/mac/mac_socket.c
196
mac_socket_copy_label(struct label *src, struct label *dest)
sys/security/mac/mac_socket.c
203
mac_socket_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_socket.c
208
MAC_POLICY_EXTERNALIZE(socket, label, elements, outbuf, outbuflen);
sys/security/mac/mac_socket.c
214
mac_socketpeer_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_socket.c
219
MAC_POLICY_EXTERNALIZE(socketpeer, label, elements, outbuf,
sys/security/mac/mac_socket.c
226
mac_socket_internalize_label(struct label *label, char *string)
sys/security/mac/mac_socket.c
230
MAC_POLICY_INTERNALIZE(socket, label, string);
sys/security/mac/mac_socket.c
252
struct label *newlabel)
sys/security/mac/mac_socket.c
264
struct label *label;
sys/security/mac/mac_socket.c
269
label = mac_mbuf_to_label(m);
sys/security/mac/mac_socket.c
271
MAC_POLICY_PERFORM_NOSLEEP(socketpeer_set_from_mbuf, m, label, so,
sys/security/mac/mac_socket.c
289
struct label *label;
sys/security/mac/mac_socket.c
294
label = mac_mbuf_to_label(m);
sys/security/mac/mac_socket.c
297
label);
sys/security/mac/mac_socket.c
369
struct label *label;
sys/security/mac/mac_socket.c
375
label = mac_mbuf_to_label(m);
sys/security/mac/mac_socket.c
378
label);
sys/security/mac/mac_socket.c
433
struct label *newlabel)
sys/security/mac/mac_socket.c
491
struct label *label)
sys/security/mac/mac_socket.c
504
error = mac_socket_check_relabel(cred, so, label);
sys/security/mac/mac_socket.c
510
mac_socket_relabel(cred, so, label);
sys/security/mac/mac_socket.c
529
struct label *intlabel;
sys/security/mac/mac_socket.c
564
struct label *intlabel;
sys/security/mac/mac_socket.c
603
struct label *intlabel;
sys/security/mac/mac_syscalls.c
236
struct label *intlabel;
sys/security/mac/mac_syscalls.c
270
struct label *const intlabel = mac_set_proc_data;
sys/security/mac/mac_syscalls.c
296
struct label *const intlabel = mac_set_proc_data;
sys/security/mac/mac_syscalls.c
310
struct label *intlabel = NULL;
sys/security/mac/mac_syscalls.c
389
struct label *intlabel;
sys/security/mac/mac_syscalls.c
441
struct label *const intlabel = mac_set_prison_data;
sys/security/mac/mac_syscalls.c
450
struct label *const intlabel = mac_set_prison_data;
sys/security/mac/mac_syscalls.c
501
struct label *intlabel;
sys/security/mac/mac_syscalls.c
620
struct label *intlabel;
sys/security/mac/mac_syscalls.c
658
struct label *intlabel;
sys/security/mac/mac_syscalls.c
785
struct label *intlabel;
sys/security/mac/mac_sysv_msg.c
100
msqkptr->label = NULL;
sys/security/mac/mac_sysv_msg.c
104
mac_sysv_msgmsg_label_free(struct label *label)
sys/security/mac/mac_sysv_msg.c
107
MAC_POLICY_PERFORM_NOSLEEP(sysvmsg_destroy_label, label);
sys/security/mac/mac_sysv_msg.c
108
mac_labelzone_free(label);
sys/security/mac/mac_sysv_msg.c
115
if (msgptr->label != NULL) {
sys/security/mac/mac_sysv_msg.c
116
mac_sysv_msgmsg_label_free(msgptr->label);
sys/security/mac/mac_sysv_msg.c
117
msgptr->label = NULL;
sys/security/mac/mac_sysv_msg.c
122
mac_sysv_msgqueue_label_free(struct label *label)
sys/security/mac/mac_sysv_msg.c
125
MAC_POLICY_PERFORM_NOSLEEP(sysvmsq_destroy_label, label);
sys/security/mac/mac_sysv_msg.c
126
mac_labelzone_free(label);
sys/security/mac/mac_sysv_msg.c
133
if (msqkptr->label != NULL) {
sys/security/mac/mac_sysv_msg.c
134
mac_sysv_msgqueue_label_free(msqkptr->label);
sys/security/mac/mac_sysv_msg.c
135
msqkptr->label = NULL;
sys/security/mac/mac_sysv_msg.c
145
msqkptr->label, msgptr, msgptr->label);
sys/security/mac/mac_sysv_msg.c
153
msqkptr->label);
sys/security/mac/mac_sysv_msg.c
160
MAC_POLICY_PERFORM_NOSLEEP(sysvmsg_cleanup, msgptr->label);
sys/security/mac/mac_sysv_msg.c
167
MAC_POLICY_PERFORM_NOSLEEP(sysvmsq_cleanup, msqkptr->label);
sys/security/mac/mac_sysv_msg.c
180
msgptr->label, msqkptr, msqkptr->label);
sys/security/mac/mac_sysv_msg.c
195
msgptr->label);
sys/security/mac/mac_sysv_msg.c
210
msgptr->label);
sys/security/mac/mac_sysv_msg.c
225
msqkptr->label);
sys/security/mac/mac_sysv_msg.c
240
msqkptr->label);
sys/security/mac/mac_sysv_msg.c
255
msqkptr->label);
sys/security/mac/mac_sysv_msg.c
271
msqkptr->label, cmd);
sys/security/mac/mac_sysv_msg.c
63
static struct label *
sys/security/mac/mac_sysv_msg.c
66
struct label *label;
sys/security/mac/mac_sysv_msg.c
68
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_sysv_msg.c
69
MAC_POLICY_PERFORM(sysvmsg_init_label, label);
sys/security/mac/mac_sysv_msg.c
70
return (label);
sys/security/mac/mac_sysv_msg.c
78
msgptr->label = mac_sysv_msgmsg_label_alloc();
sys/security/mac/mac_sysv_msg.c
80
msgptr->label = NULL;
sys/security/mac/mac_sysv_msg.c
83
static struct label *
sys/security/mac/mac_sysv_msg.c
86
struct label *label;
sys/security/mac/mac_sysv_msg.c
88
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_sysv_msg.c
89
MAC_POLICY_PERFORM(sysvmsq_init_label, label);
sys/security/mac/mac_sysv_msg.c
90
return (label);
sys/security/mac/mac_sysv_msg.c
98
msqkptr->label = mac_sysv_msgqueue_label_alloc();
sys/security/mac/mac_sysv_sem.c
105
semakptr->label);
sys/security/mac/mac_sysv_sem.c
112
MAC_POLICY_PERFORM_NOSLEEP(sysvsem_cleanup, semakptr->label);
sys/security/mac/mac_sysv_sem.c
125
semakptr->label, cmd);
sys/security/mac/mac_sysv_sem.c
140
semakptr->label);
sys/security/mac/mac_sysv_sem.c
155
semakptr->label, accesstype);
sys/security/mac/mac_sysv_sem.c
62
static struct label *
sys/security/mac/mac_sysv_sem.c
65
struct label *label;
sys/security/mac/mac_sysv_sem.c
67
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_sysv_sem.c
68
MAC_POLICY_PERFORM(sysvsem_init_label, label);
sys/security/mac/mac_sysv_sem.c
69
return (label);
sys/security/mac/mac_sysv_sem.c
77
semakptr->label = mac_sysv_sem_label_alloc();
sys/security/mac/mac_sysv_sem.c
79
semakptr->label = NULL;
sys/security/mac/mac_sysv_sem.c
83
mac_sysv_sem_label_free(struct label *label)
sys/security/mac/mac_sysv_sem.c
86
MAC_POLICY_PERFORM_NOSLEEP(sysvsem_destroy_label, label);
sys/security/mac/mac_sysv_sem.c
87
mac_labelzone_free(label);
sys/security/mac/mac_sysv_sem.c
94
if (semakptr->label != NULL) {
sys/security/mac/mac_sysv_sem.c
95
mac_sysv_sem_label_free(semakptr->label);
sys/security/mac/mac_sysv_sem.c
96
semakptr->label = NULL;
sys/security/mac/mac_sysv_shm.c
105
shmsegptr->label);
sys/security/mac/mac_sysv_shm.c
112
MAC_POLICY_PERFORM_NOSLEEP(sysvshm_cleanup, shmsegptr->label);
sys/security/mac/mac_sysv_shm.c
125
shmsegptr->label, shmflg);
sys/security/mac/mac_sysv_shm.c
142
shmsegptr->label, cmd);
sys/security/mac/mac_sysv_shm.c
157
shmsegptr->label);
sys/security/mac/mac_sysv_shm.c
173
shmsegptr->label, shmflg);
sys/security/mac/mac_sysv_shm.c
62
static struct label *
sys/security/mac/mac_sysv_shm.c
65
struct label *label;
sys/security/mac/mac_sysv_shm.c
67
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_sysv_shm.c
68
MAC_POLICY_PERFORM(sysvshm_init_label, label);
sys/security/mac/mac_sysv_shm.c
69
return (label);
sys/security/mac/mac_sysv_shm.c
77
shmsegptr->label = mac_sysv_shm_label_alloc();
sys/security/mac/mac_sysv_shm.c
79
shmsegptr->label = NULL;
sys/security/mac/mac_sysv_shm.c
83
mac_sysv_shm_label_free(struct label *label)
sys/security/mac/mac_sysv_shm.c
86
MAC_POLICY_PERFORM_NOSLEEP(sysvshm_destroy_label, label);
sys/security/mac/mac_sysv_shm.c
87
mac_labelzone_free(label);
sys/security/mac/mac_sysv_shm.c
94
if (shmsegptr->label != NULL) {
sys/security/mac/mac_sysv_shm.c
95
mac_sysv_shm_label_free(shmsegptr->label);
sys/security/mac/mac_sysv_shm.c
96
shmsegptr->label = NULL;
sys/security/mac/mac_vfs.c
1010
struct label *intlabel = ap->a_label;
sys/security/mac/mac_vfs.c
1032
vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred)
sys/security/mac/mac_vfs.c
106
static struct label *
sys/security/mac/mac_vfs.c
109
struct label *label;
sys/security/mac/mac_vfs.c
111
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_vfs.c
112
MAC_POLICY_PERFORM(mount_init_label, label);
sys/security/mac/mac_vfs.c
113
return (label);
sys/security/mac/mac_vfs.c
126
struct label *
sys/security/mac/mac_vfs.c
129
struct label *label;
sys/security/mac/mac_vfs.c
131
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_vfs.c
132
MAC_POLICY_PERFORM(vnode_init_label, label);
sys/security/mac/mac_vfs.c
133
return (label);
sys/security/mac/mac_vfs.c
147
mac_devfs_label_free(struct label *label)
sys/security/mac/mac_vfs.c
150
MAC_POLICY_PERFORM_NOSLEEP(devfs_destroy_label, label);
sys/security/mac/mac_vfs.c
151
mac_labelzone_free(label);
sys/security/mac/mac_vfs.c
165
mac_mount_label_free(struct label *label)
sys/security/mac/mac_vfs.c
168
MAC_POLICY_PERFORM_NOSLEEP(mount_destroy_label, label);
sys/security/mac/mac_vfs.c
169
mac_labelzone_free(label);
sys/security/mac/mac_vfs.c
183
mac_vnode_label_free(struct label *label)
sys/security/mac/mac_vfs.c
186
MAC_POLICY_PERFORM_NOSLEEP(vnode_destroy_label, label);
sys/security/mac/mac_vfs.c
187
mac_labelzone_free(label);
sys/security/mac/mac_vfs.c
201
mac_vnode_copy_label(struct label *src, struct label *dest)
sys/security/mac/mac_vfs.c
208
mac_vnode_externalize_label(struct label *label, char *elements,
sys/security/mac/mac_vfs.c
213
MAC_POLICY_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen);
sys/security/mac/mac_vfs.c
219
mac_vnode_internalize_label(struct label *label, char *string)
sys/security/mac/mac_vfs.c
223
MAC_POLICY_INTERNALIZE(vnode, label, string);
sys/security/mac/mac_vfs.c
311
struct label *intlabel)
sys/security/mac/mac_vfs.c
344
struct vnode *vp, struct label *interpvplabel, struct image_params *imgp)
sys/security/mac/mac_vfs.c
355
struct label *interpvplabel, struct image_params *imgp)
sys/security/mac/mac_vfs.c
719
struct label *newlabel)
sys/security/mac/mac_vfs.c
84
struct vnode *vp, struct label *intlabel);
sys/security/mac/mac_vfs.c
86
static struct label *
sys/security/mac/mac_vfs.c
89
struct label *label;
sys/security/mac/mac_vfs.c
91
label = mac_labelzone_alloc(M_WAITOK);
sys/security/mac/mac_vfs.c
92
MAC_POLICY_PERFORM(devfs_init_label, label);
sys/security/mac/mac_vfs.c
93
return (label);
sys/security/mac/mac_vfs.c
947
struct label *newlabel)
sys/security/mac_biba/mac_biba.c
1000
struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
sys/security/mac_biba/mac_biba.c
1001
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
1013
struct label *ifplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
1040
biba_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_biba/mac_biba.c
1041
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1055
biba_ifnet_create(struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_biba/mac_biba.c
1112
biba_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_biba/mac_biba.c
1113
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1125
struct label *ifplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
1136
biba_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_biba/mac_biba.c
1137
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1152
struct label *inplabel)
sys/security/mac_biba/mac_biba.c
1169
biba_inpcb_create(struct socket *so, struct label *solabel,
sys/security/mac_biba/mac_biba.c
1170
struct inpcb *inp, struct label *inplabel)
sys/security/mac_biba/mac_biba.c
1183
biba_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
sys/security/mac_biba/mac_biba.c
1184
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1195
biba_inpcb_sosetlabel(struct socket *so, struct label *solabel,
sys/security/mac_biba/mac_biba.c
1196
struct inpcb *inp, struct label *inplabel)
sys/security/mac_biba/mac_biba.c
1209
biba_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_biba/mac_biba.c
1210
struct label *q6label)
sys/security/mac_biba/mac_biba.c
1221
biba_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_biba/mac_biba.c
1222
struct label *q6label)
sys/security/mac_biba/mac_biba.c
1233
biba_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
sys/security/mac_biba/mac_biba.c
1234
struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1246
biba_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_biba/mac_biba.c
1247
struct label *q6label)
sys/security/mac_biba/mac_biba.c
1254
biba_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_biba/mac_biba.c
1255
struct label *qlabel)
sys/security/mac_biba/mac_biba.c
1266
biba_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_biba/mac_biba.c
1267
struct label *qlabel)
sys/security/mac_biba/mac_biba.c
1278
biba_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m,
sys/security/mac_biba/mac_biba.c
1279
struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1291
biba_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_biba/mac_biba.c
1292
struct label *qlabel)
sys/security/mac_biba/mac_biba.c
1300
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
1323
struct label *mplabel)
sys/security/mac_biba/mac_biba.c
1341
struct label *mplabel)
sys/security/mac_biba/mac_biba.c
1352
biba_netinet_arp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_biba/mac_biba.c
1353
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1363
biba_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_biba/mac_biba.c
1364
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_biba/mac_biba.c
1375
biba_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1386
biba_netinet_fragment(struct mbuf *m, struct label *mlabel,
sys/security/mac_biba/mac_biba.c
1387
struct mbuf *frag, struct label *fraglabel)
sys/security/mac_biba/mac_biba.c
1398
biba_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_biba/mac_biba.c
1399
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_biba/mac_biba.c
1410
biba_netinet_igmp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_biba/mac_biba.c
1411
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1421
biba_netinet6_nd6_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_biba/mac_biba.c
1422
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
1433
struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data)
sys/security/mac_biba/mac_biba.c
1446
struct label *pplabel)
sys/security/mac_biba/mac_biba.c
1464
struct label *pplabel)
sys/security/mac_biba/mac_biba.c
1482
struct label *pplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
1533
struct label *pplabel)
sys/security/mac_biba/mac_biba.c
1551
struct label *pplabel)
sys/security/mac_biba/mac_biba.c
1569
struct label *pplabel)
sys/security/mac_biba/mac_biba.c
1581
struct label *pplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
1593
struct label *kslabel)
sys/security/mac_biba/mac_biba.c
1611
struct label *kslabel, mode_t mode)
sys/security/mac_biba/mac_biba.c
1629
struct label *kslabel, uid_t uid, gid_t gid)
sys/security/mac_biba/mac_biba.c
1647
struct ksem *ks, struct label *kslabel)
sys/security/mac_biba/mac_biba.c
1665
struct ksem *ks, struct label *kslabel)
sys/security/mac_biba/mac_biba.c
1683
struct label *kslabel)
sys/security/mac_biba/mac_biba.c
1695
struct label *shmlabel, int prot, int flags)
sys/security/mac_biba/mac_biba.c
1719
struct label *shmlabel, accmode_t accmode)
sys/security/mac_biba/mac_biba.c
1743
struct shmfd *vp, struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
1761
struct label *shmlabel, mode_t mode)
sys/security/mac_biba/mac_biba.c
1779
struct label *shmlabel, uid_t uid, gid_t gid)
sys/security/mac_biba/mac_biba.c
1797
struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
1815
struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
1833
struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
1851
struct shmfd *vp, struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
1869
struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
2129
biba_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_biba/mac_biba.c
2130
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
2149
struct label *solabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
2202
struct label *solabel)
sys/security/mac_biba/mac_biba.c
2224
struct label *solabel)
sys/security/mac_biba/mac_biba.c
2235
biba_socket_create_mbuf(struct socket *so, struct label *solabel,
sys/security/mac_biba/mac_biba.c
2236
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
2249
biba_socket_newconn(struct socket *oldso, struct label *oldsolabel,
sys/security/mac_biba/mac_biba.c
2250
struct socket *newso, struct label *newsolabel)
sys/security/mac_biba/mac_biba.c
2267
struct label *solabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
2280
biba_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel,
sys/security/mac_biba/mac_biba.c
2281
struct socket *so, struct label *sopeerlabel)
sys/security/mac_biba/mac_biba.c
2295
struct label *oldsolabel, struct socket *newso,
sys/security/mac_biba/mac_biba.c
2296
struct label *newsopeerlabel)
sys/security/mac_biba/mac_biba.c
2311
biba_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac_biba/mac_biba.c
2316
dest = SLOT(label);
sys/security/mac_biba/mac_biba.c
2321
biba_syncache_create_mbuf(struct label *sc_label, struct mbuf *m,
sys/security/mac_biba/mac_biba.c
2322
struct label *mlabel)
sys/security/mac_biba/mac_biba.c
2333
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
2359
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
2403
struct label *label)
sys/security/mac_biba/mac_biba.c
2422
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
2472
biba_sysvmsg_cleanup(struct label *msglabel)
sys/security/mac_biba/mac_biba.c
2480
struct label *msqlabel, struct msg *msgptr, struct label *msglabel)
sys/security/mac_biba/mac_biba.c
2493
struct label *msglabel)
sys/security/mac_biba/mac_biba.c
2511
struct label *msglabel)
sys/security/mac_biba/mac_biba.c
2529
struct label *msqklabel)
sys/security/mac_biba/mac_biba.c
2547
struct label *msqklabel)
sys/security/mac_biba/mac_biba.c
2565
struct label *msqklabel)
sys/security/mac_biba/mac_biba.c
2583
struct label *msqklabel, int cmd)
sys/security/mac_biba/mac_biba.c
2613
biba_sysvmsq_cleanup(struct label *msqlabel)
sys/security/mac_biba/mac_biba.c
2621
struct label *msqlabel)
sys/security/mac_biba/mac_biba.c
2633
struct label *semaklabel, int cmd)
sys/security/mac_biba/mac_biba.c
2671
struct label *semaklabel)
sys/security/mac_biba/mac_biba.c
2689
struct label *semaklabel, size_t accesstype)
sys/security/mac_biba/mac_biba.c
2711
biba_sysvsem_cleanup(struct label *semalabel)
sys/security/mac_biba/mac_biba.c
2719
struct label *semalabel)
sys/security/mac_biba/mac_biba.c
2731
struct label *shmseglabel, int shmflg)
sys/security/mac_biba/mac_biba.c
2753
struct label *shmseglabel, int cmd)
sys/security/mac_biba/mac_biba.c
2785
struct label *shmseglabel, int shmflg)
sys/security/mac_biba/mac_biba.c
2802
biba_sysvshm_cleanup(struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
2810
struct label *shmlabel)
sys/security/mac_biba/mac_biba.c
2821
biba_vnode_associate_extattr(struct mount *mp, struct label *mplabel,
sys/security/mac_biba/mac_biba.c
2822
struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
2862
biba_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
sys/security/mac_biba/mac_biba.c
2863
struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
2875
struct label *dvplabel)
sys/security/mac_biba/mac_biba.c
2893
struct label *dvplabel)
sys/security/mac_biba/mac_biba.c
2911
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_biba/mac_biba.c
2929
struct label *vplabel, acl_type_t type)
sys/security/mac_biba/mac_biba.c
2947
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_biba/mac_biba.c
2965
struct label *vplabel, struct image_params *imgp,
sys/security/mac_biba/mac_biba.c
2966
struct label *execlabel)
sys/security/mac_biba/mac_biba.c
2997
struct label *vplabel, acl_type_t type)
sys/security/mac_biba/mac_biba.c
3015
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_biba/mac_biba.c
3033
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_biba/mac_biba.c
3057
struct label *vplabel, int attrnamespace)
sys/security/mac_biba/mac_biba.c
3075
struct label *dvplabel, struct componentname *cnp)
sys/security/mac_biba/mac_biba.c
3093
struct label *vplabel, int prot, int flags)
sys/security/mac_biba/mac_biba.c
3121
struct label *vplabel, accmode_t accmode)
sys/security/mac_biba/mac_biba.c
3146
struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3164
struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3182
struct label *dvplabel)
sys/security/mac_biba/mac_biba.c
3200
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3218
struct label *vplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
3269
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_biba/mac_biba.c
3293
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_biba/mac_biba.c
3319
struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3337
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_biba/mac_biba.c
3355
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_biba/mac_biba.c
3375
struct label *vplabel, u_long flags)
sys/security/mac_biba/mac_biba.c
3393
struct label *vplabel, mode_t mode)
sys/security/mac_biba/mac_biba.c
3411
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_biba/mac_biba.c
3429
struct label *vplabel, struct timespec atime, struct timespec mtime)
sys/security/mac_biba/mac_biba.c
3447
struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3465
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_biba/mac_biba.c
3489
struct ucred *file_cred, struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
3507
struct label *mplabel, struct vnode *dvp, struct label *dvplabel,
sys/security/mac_biba/mac_biba.c
3508
struct vnode *vp, struct label *vplabel, struct componentname *cnp)
sys/security/mac_biba/mac_biba.c
3530
struct label *vplabel, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
3542
struct label *vplabel, struct label *intlabel)
sys/security/mac_biba/mac_biba.c
506
biba_init_label(struct label *label)
sys/security/mac_biba/mac_biba.c
509
SLOT_SET(label, biba_alloc(M_WAITOK));
sys/security/mac_biba/mac_biba.c
513
biba_init_label_waitcheck(struct label *label, int flag)
sys/security/mac_biba/mac_biba.c
516
SLOT_SET(label, biba_alloc(flag));
sys/security/mac_biba/mac_biba.c
517
if (SLOT(label) == NULL)
sys/security/mac_biba/mac_biba.c
524
biba_destroy_label(struct label *label)
sys/security/mac_biba/mac_biba.c
527
biba_free(SLOT(label));
sys/security/mac_biba/mac_biba.c
528
SLOT_SET(label, NULL);
sys/security/mac_biba/mac_biba.c
615
biba_externalize_label(struct label *label, char *element_name,
sys/security/mac_biba/mac_biba.c
625
mb = SLOT(label);
sys/security/mac_biba/mac_biba.c
739
biba_internalize_label(struct label *label, char *element_name,
sys/security/mac_biba/mac_biba.c
754
mb = SLOT(label);
sys/security/mac_biba/mac_biba.c
761
biba_copy_label(struct label *src, struct label *dest)
sys/security/mac_biba/mac_biba.c
772
biba_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_biba/mac_biba.c
773
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_biba/mac_biba.c
790
struct label *dlabel)
sys/security/mac_biba/mac_biba.c
801
biba_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
sys/security/mac_biba/mac_biba.c
802
struct mbuf *m, struct label *mlabel)
sys/security/mac_biba/mac_biba.c
815
struct mac_biba *label;
sys/security/mac_biba/mac_biba.c
817
label = SLOT(cred->cr_label);
sys/security/mac_biba/mac_biba.c
818
biba_set_effective(label, MAC_BIBA_TYPE_LOW, 0, NULL);
sys/security/mac_biba/mac_biba.c
819
biba_set_range(label, MAC_BIBA_TYPE_LOW, 0, NULL, MAC_BIBA_TYPE_HIGH,
sys/security/mac_biba/mac_biba.c
824
biba_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
927
biba_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_biba/mac_biba.c
939
struct cdev *dev, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_biba/mac_biba.c
964
struct devfs_dirent *de, struct label *delabel)
sys/security/mac_biba/mac_biba.c
975
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac_biba/mac_biba.c
976
struct label *delabel)
sys/security/mac_biba/mac_biba.c
988
struct label *delabel, struct vnode *vp, struct label *vplabel)
sys/security/mac_biba/mac_biba.c
999
biba_devfs_vnode_associate(struct mount *mp, struct label *mntlabel,
sys/security/mac_bsdextended/ugidfw_internal.h
100
struct label *vplabel, u_long flags);
sys/security/mac_bsdextended/ugidfw_internal.h
102
struct label *vplabel, mode_t mode);
sys/security/mac_bsdextended/ugidfw_internal.h
104
struct label *vplabel, uid_t uid, gid_t gid);
sys/security/mac_bsdextended/ugidfw_internal.h
106
struct label *vplabel, struct timespec atime,
sys/security/mac_bsdextended/ugidfw_internal.h
109
struct ucred *file_cred, struct vnode *vp, struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
111
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_internal.h
44
struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
46
struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
48
struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
54
struct label *vplabel, accmode_t accmode);
sys/security/mac_bsdextended/ugidfw_internal.h
56
struct label *dvplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
58
struct label *dvplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
60
struct label *dvplabel, struct componentname *cnp,
sys/security/mac_bsdextended/ugidfw_internal.h
63
struct label *vplabel, acl_type_t type);
sys/security/mac_bsdextended/ugidfw_internal.h
65
struct vnode *vp, struct label *vplabel, int attrnamespace,
sys/security/mac_bsdextended/ugidfw_internal.h
68
struct label *vplabel, struct image_params *imgp,
sys/security/mac_bsdextended/ugidfw_internal.h
69
struct label *execlabel);
sys/security/mac_bsdextended/ugidfw_internal.h
71
struct label *vplabel, acl_type_t type);
sys/security/mac_bsdextended/ugidfw_internal.h
73
struct label *vplabel, int attrnamespace, const char *name);
sys/security/mac_bsdextended/ugidfw_internal.h
75
struct label *dvplabel, struct vnode *vp, struct label *label,
sys/security/mac_bsdextended/ugidfw_internal.h
78
struct label *vplabel, int attrnamespace);
sys/security/mac_bsdextended/ugidfw_internal.h
80
struct label *dvplabel, struct componentname *cnp);
sys/security/mac_bsdextended/ugidfw_internal.h
82
struct label *vplabel, accmode_t accmode);
sys/security/mac_bsdextended/ugidfw_internal.h
84
struct label *dvplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
86
struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
88
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_internal.h
91
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_internal.h
94
struct label *vplabel);
sys/security/mac_bsdextended/ugidfw_internal.h
96
struct label *vplabel, acl_type_t type, struct acl *acl);
sys/security/mac_bsdextended/ugidfw_internal.h
98
struct label *vplabel, int attrnamespace, const char *name);
sys/security/mac_bsdextended/ugidfw_system.c
63
struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_system.c
74
struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_system.c
85
struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
103
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_bsdextended/ugidfw_vnode.c
111
struct label *vplabel, struct image_params *imgp,
sys/security/mac_bsdextended/ugidfw_vnode.c
112
struct label *execlabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
120
struct label *vplabel, acl_type_t type)
sys/security/mac_bsdextended/ugidfw_vnode.c
128
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_bsdextended/ugidfw_vnode.c
136
struct label *dvplabel, struct vnode *vp, struct label *label,
sys/security/mac_bsdextended/ugidfw_vnode.c
152
struct label *vplabel, int attrnamespace)
sys/security/mac_bsdextended/ugidfw_vnode.c
160
struct label *dvplabel, struct componentname *cnp)
sys/security/mac_bsdextended/ugidfw_vnode.c
168
struct label *vplabel, accmode_t accmode)
sys/security/mac_bsdextended/ugidfw_vnode.c
176
struct label *dvplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
184
struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
192
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_vnode.c
205
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_vnode.c
220
struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
228
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_bsdextended/ugidfw_vnode.c
236
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_bsdextended/ugidfw_vnode.c
244
struct label *vplabel, u_long flags)
sys/security/mac_bsdextended/ugidfw_vnode.c
252
struct label *vplabel, mode_t mode)
sys/security/mac_bsdextended/ugidfw_vnode.c
260
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_bsdextended/ugidfw_vnode.c
268
struct label *vplabel, struct timespec atime, struct timespec utime)
sys/security/mac_bsdextended/ugidfw_vnode.c
276
struct ucred *file_cred, struct vnode *vp, struct label *vplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
284
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_bsdextended/ugidfw_vnode.c
63
struct label *vplabel, accmode_t accmode)
sys/security/mac_bsdextended/ugidfw_vnode.c
71
struct label *dvplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
79
struct label *dvplabel)
sys/security/mac_bsdextended/ugidfw_vnode.c
87
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_bsdextended/ugidfw_vnode.c
95
struct label *vplabel, acl_type_t type)
sys/security/mac_grantbylabel/mac_grantbylabel.c
100
for (cp = strstr(label, GBL_PREFIX); cp; cp = strstr(cp, GBL_PREFIX)) {
sys/security/mac_grantbylabel/mac_grantbylabel.c
102
if (cp > label && cp[-1] != ',') {
sys/security/mac_grantbylabel/mac_grantbylabel.c
170
const char *label;
sys/security/mac_grantbylabel/mac_grantbylabel.c
178
label = mac_veriexec_metadata_get_file_label(va.va_fsid,
sys/security/mac_grantbylabel/mac_grantbylabel.c
180
if (label) {
sys/security/mac_grantbylabel/mac_grantbylabel.c
183
label,
sys/security/mac_grantbylabel/mac_grantbylabel.c
187
gbl = gbl_parse_label(label);
sys/security/mac_grantbylabel/mac_grantbylabel.c
211
gbl_label_t label;
sys/security/mac_grantbylabel/mac_grantbylabel.c
234
label = (gbl_label_t)(SLOT(curproc->p_textvp->v_label) |
sys/security/mac_grantbylabel/mac_grantbylabel.c
244
if (label & GBL_IPC)
sys/security/mac_grantbylabel/mac_grantbylabel.c
250
if (label & GBL_KMEM)
sys/security/mac_grantbylabel/mac_grantbylabel.c
256
if (label & GBL_BIND)
sys/security/mac_grantbylabel/mac_grantbylabel.c
268
if (label & GBL_NET)
sys/security/mac_grantbylabel/mac_grantbylabel.c
273
if (label & GBL_RTSOCK)
sys/security/mac_grantbylabel/mac_grantbylabel.c
278
if (label & GBL_PROC)
sys/security/mac_grantbylabel/mac_grantbylabel.c
282
if (label & GBL_SYSCTL)
sys/security/mac_grantbylabel/mac_grantbylabel.c
287
if (label & GBL_KMEM)
sys/security/mac_grantbylabel/mac_grantbylabel.c
296
if (label & GBL_VACCESS)
sys/security/mac_grantbylabel/mac_grantbylabel.c
306
label = (gbl_label_t)SLOT(curproc->p_pptr->p_textvp->v_label);
sys/security/mac_grantbylabel/mac_grantbylabel.c
307
if (label & GBL_VERIEXEC) {
sys/security/mac_grantbylabel/mac_grantbylabel.c
322
label = (gbl_label_t)SLOT(curproc->p_label);
sys/security/mac_grantbylabel/mac_grantbylabel.c
323
if (label & GBL_VERIEXEC)
sys/security/mac_grantbylabel/mac_grantbylabel.c
331
curproc->p_pid, priv, label, rc);
sys/security/mac_grantbylabel/mac_grantbylabel.c
432
mac_grantbylabel_proc_init_label(struct label *label)
sys/security/mac_grantbylabel/mac_grantbylabel.c
435
SLOT_SET(label, 0); /* not yet set! */
sys/security/mac_grantbylabel/mac_grantbylabel.c
439
mac_grantbylabel_vnode_init_label(struct label *label)
sys/security/mac_grantbylabel/mac_grantbylabel.c
442
SLOT_SET(label, 0); /* not yet set! */
sys/security/mac_grantbylabel/mac_grantbylabel.c
450
struct vnode *vp __unused, struct label *label __unused,
sys/security/mac_grantbylabel/mac_grantbylabel.c
451
struct image_params *imgp, struct label *execlabel __unused)
sys/security/mac_grantbylabel/mac_grantbylabel.c
467
mac_grantbylabel_copy_label(struct label *src, struct label *dest)
sys/security/mac_grantbylabel/mac_grantbylabel.c
477
struct vnode *vp, struct label *vplabel,
sys/security/mac_grantbylabel/mac_grantbylabel.c
478
struct label *interpvplabel, struct image_params *imgp,
sys/security/mac_grantbylabel/mac_grantbylabel.c
479
struct label *execlabel)
sys/security/mac_grantbylabel/mac_grantbylabel.c
92
gbl_parse_label(const char *label)
sys/security/mac_grantbylabel/mac_grantbylabel.c
97
if (!(label && *label))
sys/security/mac_ifoff/mac_ifoff.c
121
ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_ifoff/mac_ifoff.c
122
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_ifoff/mac_ifoff.c
129
ifoff_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_ifoff/mac_ifoff.c
130
struct mbuf *m, struct label *mlabel)
sys/security/mac_ifoff/mac_ifoff.c
137
ifoff_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_ifoff/mac_ifoff.c
138
struct mbuf *m, struct label *mlabel)
sys/security/mac_ifoff/mac_ifoff.c
149
ifoff_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_ifoff/mac_ifoff.c
150
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1022
lomac_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1034
struct cdev *dev, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_lomac/mac_lomac.c
1060
struct devfs_dirent *de, struct label *delabel)
sys/security/mac_lomac/mac_lomac.c
1070
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac_lomac/mac_lomac.c
1071
struct label *delabel)
sys/security/mac_lomac/mac_lomac.c
1083
struct label *delabel, struct vnode *vp, struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
1094
lomac_devfs_vnode_associate(struct mount *mp, struct label *mplabel,
sys/security/mac_lomac/mac_lomac.c
1095
struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
sys/security/mac_lomac/mac_lomac.c
1096
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
1108
struct label *ifplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1164
lomac_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_lomac/mac_lomac.c
1165
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1179
lomac_ifnet_create(struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_lomac/mac_lomac.c
1237
lomac_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_lomac/mac_lomac.c
1238
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1250
struct label *ifplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1261
lomac_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_lomac/mac_lomac.c
1262
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1277
struct label *inplabel)
sys/security/mac_lomac/mac_lomac.c
1294
lomac_inpcb_create(struct socket *so, struct label *solabel,
sys/security/mac_lomac/mac_lomac.c
1295
struct inpcb *inp, struct label *inplabel)
sys/security/mac_lomac/mac_lomac.c
1306
lomac_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
sys/security/mac_lomac/mac_lomac.c
1307
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1318
lomac_inpcb_sosetlabel(struct socket *so, struct label *solabel,
sys/security/mac_lomac/mac_lomac.c
1319
struct inpcb *inp, struct label *inplabel)
sys/security/mac_lomac/mac_lomac.c
1332
lomac_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_lomac/mac_lomac.c
1333
struct label *q6label)
sys/security/mac_lomac/mac_lomac.c
1344
lomac_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_lomac/mac_lomac.c
1345
struct label *q6label)
sys/security/mac_lomac/mac_lomac.c
1356
lomac_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
sys/security/mac_lomac/mac_lomac.c
1357
struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1369
lomac_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_lomac/mac_lomac.c
1370
struct label *q6label)
sys/security/mac_lomac/mac_lomac.c
1377
lomac_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_lomac/mac_lomac.c
1378
struct label *qlabel)
sys/security/mac_lomac/mac_lomac.c
1389
lomac_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_lomac/mac_lomac.c
1390
struct label *qlabel)
sys/security/mac_lomac/mac_lomac.c
1401
lomac_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m,
sys/security/mac_lomac/mac_lomac.c
1402
struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1414
lomac_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_lomac/mac_lomac.c
1415
struct label *qlabel)
sys/security/mac_lomac/mac_lomac.c
1423
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
1444
struct label *mplabel)
sys/security/mac_lomac/mac_lomac.c
1454
lomac_netinet_arp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_lomac/mac_lomac.c
1455
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1465
lomac_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_lomac/mac_lomac.c
1466
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_lomac/mac_lomac.c
1477
lomac_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1488
lomac_netinet_fragment(struct mbuf *m, struct label *mlabel,
sys/security/mac_lomac/mac_lomac.c
1489
struct mbuf *frag, struct label *fraglabel)
sys/security/mac_lomac/mac_lomac.c
1500
lomac_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_lomac/mac_lomac.c
1501
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_lomac/mac_lomac.c
1512
lomac_netinet_igmp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_lomac/mac_lomac.c
1513
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1523
lomac_netinet6_nd6_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_lomac/mac_lomac.c
1524
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1535
struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data)
sys/security/mac_lomac/mac_lomac.c
1548
struct label *pplabel)
sys/security/mac_lomac/mac_lomac.c
1566
struct label *pplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1617
struct label *pplabel)
sys/security/mac_lomac/mac_lomac.c
1635
struct label *pplabel)
sys/security/mac_lomac/mac_lomac.c
1647
struct label *pplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1907
lomac_proc_destroy_label(struct label *label)
sys/security/mac_lomac/mac_lomac.c
1910
mtx_destroy(&PSLOT(label)->mtx);
sys/security/mac_lomac/mac_lomac.c
1911
free(PSLOT(label), M_LOMAC);
sys/security/mac_lomac/mac_lomac.c
1912
PSLOT_SET(label, NULL);
sys/security/mac_lomac/mac_lomac.c
1916
lomac_proc_init_label(struct label *label)
sys/security/mac_lomac/mac_lomac.c
1919
PSLOT_SET(label, malloc(sizeof(struct mac_lomac_proc), M_LOMAC,
sys/security/mac_lomac/mac_lomac.c
1921
mtx_init(&PSLOT(label)->mtx, "MAC/Lomac proc lock", NULL, MTX_DEF);
sys/security/mac_lomac/mac_lomac.c
1925
lomac_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_lomac/mac_lomac.c
1926
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
1945
struct label *solabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
1998
struct label *solabel)
sys/security/mac_lomac/mac_lomac.c
2020
struct label *solabel)
sys/security/mac_lomac/mac_lomac.c
2031
lomac_socket_create_mbuf(struct socket *so, struct label *solabel,
sys/security/mac_lomac/mac_lomac.c
2032
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
2045
lomac_socket_newconn(struct socket *oldso, struct label *oldsolabel,
sys/security/mac_lomac/mac_lomac.c
2046
struct socket *newso, struct label *newsolabel)
sys/security/mac_lomac/mac_lomac.c
2063
struct label *solabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
2076
lomac_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel,
sys/security/mac_lomac/mac_lomac.c
2077
struct socket *so, struct label *sopeerlabel)
sys/security/mac_lomac/mac_lomac.c
2091
struct label *oldsolabel, struct socket *newso,
sys/security/mac_lomac/mac_lomac.c
2092
struct label *newsopeerlabel)
sys/security/mac_lomac/mac_lomac.c
2108
lomac_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac_lomac/mac_lomac.c
2113
dest = SLOT(label);
sys/security/mac_lomac/mac_lomac.c
2118
lomac_syncache_create_mbuf(struct label *sc_label, struct mbuf *m,
sys/security/mac_lomac/mac_lomac.c
2119
struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
2130
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2151
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2172
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2189
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2276
lomac_vnode_associate_extattr(struct mount *mp, struct label *mplabel,
sys/security/mac_lomac/mac_lomac.c
2277
struct vnode *vp, struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2324
lomac_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
sys/security/mac_lomac/mac_lomac.c
2325
struct vnode *vp, struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2337
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_lomac/mac_lomac.c
2358
struct label *vplabel, acl_type_t type)
sys/security/mac_lomac/mac_lomac.c
2376
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_lomac/mac_lomac.c
2400
struct label *vplabel, int prot, int flags)
sys/security/mac_lomac/mac_lomac.c
2428
struct label *vplabel, /* XXX vm_prot_t */ int *prot)
sys/security/mac_lomac/mac_lomac.c
2448
struct label *vplabel, accmode_t accmode)
sys/security/mac_lomac/mac_lomac.c
2469
struct vnode *vp, struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2487
struct label *vplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
2563
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_lomac/mac_lomac.c
2587
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_lomac/mac_lomac.c
2613
struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2631
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_lomac/mac_lomac.c
2649
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_lomac/mac_lomac.c
2669
struct label *vplabel, u_long flags)
sys/security/mac_lomac/mac_lomac.c
2687
struct label *vplabel, mode_t mode)
sys/security/mac_lomac/mac_lomac.c
2705
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_lomac/mac_lomac.c
2723
struct label *vplabel, struct timespec atime, struct timespec mtime)
sys/security/mac_lomac/mac_lomac.c
2741
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_lomac/mac_lomac.c
2765
struct ucred *file_cred, struct vnode *vp, struct label *vplabel)
sys/security/mac_lomac/mac_lomac.c
2783
struct label *mplabel, struct vnode *dvp, struct label *dvplabel,
sys/security/mac_lomac/mac_lomac.c
2784
struct vnode *vp, struct label *vplabel, struct componentname *cnp)
sys/security/mac_lomac/mac_lomac.c
2813
struct vnode *vp, struct label *vplabel, struct label *interpvplabel,
sys/security/mac_lomac/mac_lomac.c
2814
struct image_params *imgp, struct label *execlabel)
sys/security/mac_lomac/mac_lomac.c
2848
struct label *vplabel, struct label *interpvplabel,
sys/security/mac_lomac/mac_lomac.c
2849
struct image_params *imgp, struct label *execlabel)
sys/security/mac_lomac/mac_lomac.c
2868
struct label *vplabel, struct label *newlabel)
sys/security/mac_lomac/mac_lomac.c
2880
struct label *vplabel, struct label *intlabel)
sys/security/mac_lomac/mac_lomac.c
617
lomac_init_label(struct label *label)
sys/security/mac_lomac/mac_lomac.c
620
SLOT_SET(label, lomac_alloc(M_WAITOK));
sys/security/mac_lomac/mac_lomac.c
624
lomac_init_label_waitcheck(struct label *label, int flag)
sys/security/mac_lomac/mac_lomac.c
627
SLOT_SET(label, lomac_alloc(flag));
sys/security/mac_lomac/mac_lomac.c
628
if (SLOT(label) == NULL)
sys/security/mac_lomac/mac_lomac.c
635
lomac_destroy_label(struct label *label)
sys/security/mac_lomac/mac_lomac.c
638
lomac_free(SLOT(label));
sys/security/mac_lomac/mac_lomac.c
639
SLOT_SET(label, NULL);
sys/security/mac_lomac/mac_lomac.c
706
lomac_externalize_label(struct label *label, char *element_name,
sys/security/mac_lomac/mac_lomac.c
716
ml = SLOT(label);
sys/security/mac_lomac/mac_lomac.c
845
lomac_internalize_label(struct label *label, char *element_name,
sys/security/mac_lomac/mac_lomac.c
860
ml = SLOT(label);
sys/security/mac_lomac/mac_lomac.c
867
lomac_copy_label(struct label *src, struct label *dest)
sys/security/mac_lomac/mac_lomac.c
878
lomac_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_lomac/mac_lomac.c
879
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_lomac/mac_lomac.c
896
struct label *dlabel)
sys/security/mac_lomac/mac_lomac.c
907
lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
sys/security/mac_lomac/mac_lomac.c
908
struct mbuf *m, struct label *mlabel)
sys/security/mac_lomac/mac_lomac.c
919
lomac_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1001
mls_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_mls/mac_mls.c
1002
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1016
mls_ifnet_create(struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_mls/mac_mls.c
1033
mls_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_mls/mac_mls.c
1034
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1046
struct label *ifplabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1057
mls_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_mls/mac_mls.c
1058
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1073
struct label *inplabel)
sys/security/mac_mls/mac_mls.c
1090
mls_inpcb_create(struct socket *so, struct label *solabel, struct inpcb *inp,
sys/security/mac_mls/mac_mls.c
1091
struct label *inplabel)
sys/security/mac_mls/mac_mls.c
1102
mls_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
sys/security/mac_mls/mac_mls.c
1103
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1114
mls_inpcb_sosetlabel(struct socket *so, struct label *solabel,
sys/security/mac_mls/mac_mls.c
1115
struct inpcb *inp, struct label *inplabel)
sys/security/mac_mls/mac_mls.c
1128
mls_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_mls/mac_mls.c
1129
struct label *q6label)
sys/security/mac_mls/mac_mls.c
1140
mls_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_mls/mac_mls.c
1141
struct label *q6label)
sys/security/mac_mls/mac_mls.c
1152
mls_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
sys/security/mac_mls/mac_mls.c
1153
struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1165
mls_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_mls/mac_mls.c
1166
struct label *q6label)
sys/security/mac_mls/mac_mls.c
1173
mls_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_mls/mac_mls.c
1174
struct label *qlabel)
sys/security/mac_mls/mac_mls.c
1185
mls_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_mls/mac_mls.c
1186
struct label *qlabel)
sys/security/mac_mls/mac_mls.c
1197
mls_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m,
sys/security/mac_mls/mac_mls.c
1198
struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1210
mls_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_mls/mac_mls.c
1211
struct label *qlabel)
sys/security/mac_mls/mac_mls.c
1219
struct label *mntlabel)
sys/security/mac_mls/mac_mls.c
1236
mls_mount_create(struct ucred *cred, struct mount *mp, struct label *mplabel)
sys/security/mac_mls/mac_mls.c
1247
mls_netinet_arp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_mls/mac_mls.c
1248
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1258
mls_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_mls/mac_mls.c
1259
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_mls/mac_mls.c
1270
mls_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1281
mls_netinet_fragment(struct mbuf *m, struct label *mlabel, struct mbuf *frag,
sys/security/mac_mls/mac_mls.c
1282
struct label *fraglabel)
sys/security/mac_mls/mac_mls.c
1293
mls_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_mls/mac_mls.c
1294
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_mls/mac_mls.c
1305
mls_netinet_igmp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_mls/mac_mls.c
1306
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1316
mls_netinet6_nd6_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_mls/mac_mls.c
1317
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1328
struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data)
sys/security/mac_mls/mac_mls.c
1341
struct label *pplabel)
sys/security/mac_mls/mac_mls.c
1359
struct label *pplabel)
sys/security/mac_mls/mac_mls.c
1377
struct label *pplabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1428
struct label *pplabel)
sys/security/mac_mls/mac_mls.c
1446
struct label *pplabel)
sys/security/mac_mls/mac_mls.c
1464
struct label *pplabel)
sys/security/mac_mls/mac_mls.c
1476
struct label *pplabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1488
struct label *kslabel)
sys/security/mac_mls/mac_mls.c
1506
struct ksem *ks, struct label *kslabel)
sys/security/mac_mls/mac_mls.c
1524
struct label *shmlabel, mode_t mode)
sys/security/mac_mls/mac_mls.c
1542
struct label *shmlabel, uid_t uid, gid_t gid)
sys/security/mac_mls/mac_mls.c
1560
struct ksem *ks, struct label *kslabel)
sys/security/mac_mls/mac_mls.c
1578
struct label *kslabel)
sys/security/mac_mls/mac_mls.c
1590
struct label *shmlabel, int prot, int flags)
sys/security/mac_mls/mac_mls.c
1614
struct label *shmlabel, accmode_t accmode)
sys/security/mac_mls/mac_mls.c
1638
struct shmfd *shm, struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1656
struct label *shmlabel, mode_t mode)
sys/security/mac_mls/mac_mls.c
1674
struct label *shmlabel, uid_t uid, gid_t gid)
sys/security/mac_mls/mac_mls.c
1692
struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1710
struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1728
struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1746
struct shmfd *shm, struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1764
struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
1835
mls_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_mls/mac_mls.c
1836
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1856
struct label *solabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1909
struct label *solabel)
sys/security/mac_mls/mac_mls.c
1931
struct label *solabel)
sys/security/mac_mls/mac_mls.c
1942
mls_socket_create_mbuf(struct socket *so, struct label *solabel,
sys/security/mac_mls/mac_mls.c
1943
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
1956
mls_socket_newconn(struct socket *oldso, struct label *oldsolabel,
sys/security/mac_mls/mac_mls.c
1957
struct socket *newso, struct label *newsolabel)
sys/security/mac_mls/mac_mls.c
1974
struct label *solabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
1987
mls_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel,
sys/security/mac_mls/mac_mls.c
1988
struct socket *so, struct label *sopeerlabel)
sys/security/mac_mls/mac_mls.c
2002
struct label *oldsolabel, struct socket *newso,
sys/security/mac_mls/mac_mls.c
2003
struct label *newsopeerlabel)
sys/security/mac_mls/mac_mls.c
2019
mls_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac_mls/mac_mls.c
2024
dest = SLOT(label);
sys/security/mac_mls/mac_mls.c
2030
mls_syncache_create_mbuf(struct label *sc_label, struct mbuf *m,
sys/security/mac_mls/mac_mls.c
2031
struct label *mlabel)
sys/security/mac_mls/mac_mls.c
2043
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2065
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2084
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2102
mls_sysvmsg_cleanup(struct label *msglabel)
sys/security/mac_mls/mac_mls.c
2110
struct label *msqlabel, struct msg *msgptr, struct label *msglabel)
sys/security/mac_mls/mac_mls.c
2123
struct label *msglabel)
sys/security/mac_mls/mac_mls.c
2141
struct label *msglabel)
sys/security/mac_mls/mac_mls.c
2159
struct label *msqklabel)
sys/security/mac_mls/mac_mls.c
2177
struct label *msqklabel)
sys/security/mac_mls/mac_mls.c
2195
struct label *msqklabel)
sys/security/mac_mls/mac_mls.c
2213
struct label *msqklabel, int cmd)
sys/security/mac_mls/mac_mls.c
2243
mls_sysvmsq_cleanup(struct label *msqlabel)
sys/security/mac_mls/mac_mls.c
2251
struct label *msqlabel)
sys/security/mac_mls/mac_mls.c
2263
struct label *semaklabel, int cmd)
sys/security/mac_mls/mac_mls.c
2301
struct label *semaklabel)
sys/security/mac_mls/mac_mls.c
2319
struct label *semaklabel, size_t accesstype)
sys/security/mac_mls/mac_mls.c
2341
mls_sysvsem_cleanup(struct label *semalabel)
sys/security/mac_mls/mac_mls.c
2349
struct label *semalabel)
sys/security/mac_mls/mac_mls.c
2361
struct label *shmseglabel, int shmflg)
sys/security/mac_mls/mac_mls.c
2383
struct label *shmseglabel, int cmd)
sys/security/mac_mls/mac_mls.c
2415
struct label *shmseglabel, int shmflg)
sys/security/mac_mls/mac_mls.c
2432
mls_sysvshm_cleanup(struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
2440
struct label *shmlabel)
sys/security/mac_mls/mac_mls.c
2451
mls_vnode_associate_extattr(struct mount *mp, struct label *mplabel,
sys/security/mac_mls/mac_mls.c
2452
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2491
mls_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
sys/security/mac_mls/mac_mls.c
2492
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2504
struct label *dvplabel)
sys/security/mac_mls/mac_mls.c
2522
struct label *dvplabel)
sys/security/mac_mls/mac_mls.c
2540
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_mls/mac_mls.c
2558
struct label *vplabel, acl_type_t type)
sys/security/mac_mls/mac_mls.c
2576
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_mls/mac_mls.c
2594
struct label *vplabel, struct image_params *imgp,
sys/security/mac_mls/mac_mls.c
2595
struct label *execlabel)
sys/security/mac_mls/mac_mls.c
2626
struct label *vplabel, acl_type_t type)
sys/security/mac_mls/mac_mls.c
2644
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_mls/mac_mls.c
2662
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_mls/mac_mls.c
2685
struct label *vplabel, int attrnamespace)
sys/security/mac_mls/mac_mls.c
2704
struct label *dvplabel, struct componentname *cnp)
sys/security/mac_mls/mac_mls.c
2722
struct label *vplabel, int prot, int flags)
sys/security/mac_mls/mac_mls.c
2750
struct label *vplabel, accmode_t accmode)
sys/security/mac_mls/mac_mls.c
2775
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2793
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2811
struct label *dvplabel)
sys/security/mac_mls/mac_mls.c
2829
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2847
struct label *vplabel, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
2898
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_mls/mac_mls.c
2922
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_mls/mac_mls.c
2948
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
2966
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_mls/mac_mls.c
2984
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_mls/mac_mls.c
3004
struct label *vplabel, u_long flags)
sys/security/mac_mls/mac_mls.c
3022
struct label *vplabel, mode_t mode)
sys/security/mac_mls/mac_mls.c
3040
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_mls/mac_mls.c
3058
struct label *vplabel, struct timespec atime, struct timespec mtime)
sys/security/mac_mls/mac_mls.c
3076
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
3094
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_mls/mac_mls.c
3118
struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
3136
struct label *mplabel, struct vnode *dvp, struct label *dvplabel,
sys/security/mac_mls/mac_mls.c
3137
struct vnode *vp, struct label *vplabel, struct componentname *cnp)
sys/security/mac_mls/mac_mls.c
3159
struct label *vplabel, struct label *label)
sys/security/mac_mls/mac_mls.c
3163
source = SLOT(label);
sys/security/mac_mls/mac_mls.c
3171
struct label *vplabel, struct label *intlabel)
sys/security/mac_mls/mac_mls.c
470
mls_init_label(struct label *label)
sys/security/mac_mls/mac_mls.c
473
SLOT_SET(label, mls_alloc(M_WAITOK));
sys/security/mac_mls/mac_mls.c
477
mls_init_label_waitcheck(struct label *label, int flag)
sys/security/mac_mls/mac_mls.c
480
SLOT_SET(label, mls_alloc(flag));
sys/security/mac_mls/mac_mls.c
481
if (SLOT(label) == NULL)
sys/security/mac_mls/mac_mls.c
488
mls_destroy_label(struct label *label)
sys/security/mac_mls/mac_mls.c
491
mls_free(SLOT(label));
sys/security/mac_mls/mac_mls.c
492
SLOT_SET(label, NULL);
sys/security/mac_mls/mac_mls.c
579
mls_externalize_label(struct label *label, char *element_name,
sys/security/mac_mls/mac_mls.c
589
mm = SLOT(label);
sys/security/mac_mls/mac_mls.c
704
mls_internalize_label(struct label *label, char *element_name,
sys/security/mac_mls/mac_mls.c
719
mm = SLOT(label);
sys/security/mac_mls/mac_mls.c
726
mls_copy_label(struct label *src, struct label *dest)
sys/security/mac_mls/mac_mls.c
737
mls_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_mls/mac_mls.c
738
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_mls/mac_mls.c
754
mls_bpfdesc_create(struct ucred *cred, struct bpf_d *d, struct label *dlabel)
sys/security/mac_mls/mac_mls.c
765
mls_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
sys/security/mac_mls/mac_mls.c
766
struct mbuf *m, struct label *mlabel)
sys/security/mac_mls/mac_mls.c
779
struct mac_mls *label;
sys/security/mac_mls/mac_mls.c
781
label = SLOT(cred->cr_label);
sys/security/mac_mls/mac_mls.c
782
mls_set_effective(label, MAC_MLS_TYPE_LOW, 0, NULL);
sys/security/mac_mls/mac_mls.c
783
mls_set_range(label, MAC_MLS_TYPE_LOW, 0, NULL, MAC_MLS_TYPE_HIGH, 0,
sys/security/mac_mls/mac_mls.c
788
mls_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
890
mls_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_mls/mac_mls.c
902
struct cdev *dev, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_mls/mac_mls.c
930
struct devfs_dirent *de, struct label *delabel)
sys/security/mac_mls/mac_mls.c
940
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac_mls/mac_mls.c
941
struct label *delabel)
sys/security/mac_mls/mac_mls.c
953
struct label *delabel, struct vnode *vp, struct label *vplabel)
sys/security/mac_mls/mac_mls.c
964
mls_devfs_vnode_associate(struct mount *mp, struct label *mplabel,
sys/security/mac_mls/mac_mls.c
965
struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
sys/security/mac_mls/mac_mls.c
966
struct label *vplabel)
sys/security/mac_mls/mac_mls.c
978
struct label *ifplabel, struct label *newlabel)
sys/security/mac_partition/mac_partition.c
108
partition_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_partition/mac_partition.c
145
partition_cred_copy_label(struct label *src, struct label *dest)
sys/security/mac_partition/mac_partition.c
169
partition_cred_destroy_label(struct label *label)
sys/security/mac_partition/mac_partition.c
172
SLOT_SET(label, 0);
sys/security/mac_partition/mac_partition.c
176
partition_cred_externalize_label(struct label *label, char *element_name,
sys/security/mac_partition/mac_partition.c
185
if (label != NULL) {
sys/security/mac_partition/mac_partition.c
186
if (sbuf_printf(sb, "%jd", (intmax_t)SLOT(label)) == -1)
sys/security/mac_partition/mac_partition.c
196
partition_cred_init_label(struct label *label)
sys/security/mac_partition/mac_partition.c
199
SLOT_SET(label, 0);
sys/security/mac_partition/mac_partition.c
203
partition_cred_internalize_label(struct label *label, char *element_name,
sys/security/mac_partition/mac_partition.c
211
SLOT_SET(label, strtol(element_data, NULL, 10));
sys/security/mac_partition/mac_partition.c
216
partition_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_partition/mac_partition.c
225
struct label *inplabel)
sys/security/mac_partition/mac_partition.c
267
struct label *solabel)
sys/security/mac_partition/mac_partition.c
278
struct label *vplabel, struct image_params *imgp,
sys/security/mac_partition/mac_partition.c
279
struct label *execlabel)
sys/security/mac_partition/mac_partition.c
77
partition_check(struct label *subject, struct label *object)
sys/security/mac_portacl/mac_portacl.c
433
struct label *solabel, struct sockaddr *sa)
sys/security/mac_seeotheruids/mac_seeotheruids.c
161
struct label *inplabel)
sys/security/mac_seeotheruids/mac_seeotheruids.c
169
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1000
struct label *solabel, struct sockaddr *sa)
sys/security/mac_stub/mac_stub.c
1019
stub_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_stub/mac_stub.c
1020
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
1033
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1046
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1059
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1072
struct label *solabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
1081
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1094
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1107
struct label *inplabel)
sys/security/mac_stub/mac_stub.c
1115
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1128
struct label *solabel)
sys/security/mac_stub/mac_stub.c
1134
stub_socket_create_mbuf(struct socket *so, struct label *solabel,
sys/security/mac_stub/mac_stub.c
1135
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
1145
stub_socket_newconn(struct socket *oldso, struct label *oldsolabel,
sys/security/mac_stub/mac_stub.c
1146
struct socket *newso, struct label *newsolabel)
sys/security/mac_stub/mac_stub.c
1161
struct label *solabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
1168
stub_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel,
sys/security/mac_stub/mac_stub.c
1169
struct socket *so, struct label *sopeerlabel)
sys/security/mac_stub/mac_stub.c
1180
struct label *oldsolabel, struct socket *newso,
sys/security/mac_stub/mac_stub.c
1181
struct label *newsopeerlabel)
sys/security/mac_stub/mac_stub.c
1195
stub_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac_stub/mac_stub.c
1201
stub_syncache_create_mbuf(struct label *sc_label, struct mbuf *m,
sys/security/mac_stub/mac_stub.c
1202
struct label *mlabel)
sys/security/mac_stub/mac_stub.c
1209
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1224
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1246
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1254
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
126
stub_init_label(struct label *label)
sys/security/mac_stub/mac_stub.c
1269
stub_sysvmsg_cleanup(struct label *msglabel)
sys/security/mac_stub/mac_stub.c
1276
struct label *msqlabel, struct msg *msgptr, struct label *msglabel)
sys/security/mac_stub/mac_stub.c
1283
struct label *msglabel, struct msqid_kernel *msqkptr,
sys/security/mac_stub/mac_stub.c
1284
struct label *msqklabel)
sys/security/mac_stub/mac_stub.c
1292
struct label *msglabel)
sys/security/mac_stub/mac_stub.c
1300
struct label *msglabel)
sys/security/mac_stub/mac_stub.c
1308
struct label *msqklabel)
sys/security/mac_stub/mac_stub.c
1316
struct label *msqklabel)
sys/security/mac_stub/mac_stub.c
132
stub_init_label_waitcheck(struct label *label, int flag)
sys/security/mac_stub/mac_stub.c
1324
struct label *msqklabel)
sys/security/mac_stub/mac_stub.c
1332
struct label *msqklabel, int cmd)
sys/security/mac_stub/mac_stub.c
1339
stub_sysvmsq_cleanup(struct label *msqlabel)
sys/security/mac_stub/mac_stub.c
1346
struct label *msqlabel)
sys/security/mac_stub/mac_stub.c
1353
struct label *semaklabel, int cmd)
sys/security/mac_stub/mac_stub.c
1361
struct label *semaklabel)
sys/security/mac_stub/mac_stub.c
1369
struct label *semaklabel, size_t accesstype)
sys/security/mac_stub/mac_stub.c
1376
stub_sysvsem_cleanup(struct label *semalabel)
sys/security/mac_stub/mac_stub.c
1383
struct label *semalabel)
sys/security/mac_stub/mac_stub.c
139
stub_destroy_label(struct label *label)
sys/security/mac_stub/mac_stub.c
1390
struct label *shmseglabel, int shmflg)
sys/security/mac_stub/mac_stub.c
1398
struct label *shmseglabel, int cmd)
sys/security/mac_stub/mac_stub.c
1406
struct label *shmseglabel)
sys/security/mac_stub/mac_stub.c
1414
struct label *shmseglabel, int shmflg)
sys/security/mac_stub/mac_stub.c
1421
stub_sysvshm_cleanup(struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
1428
struct label *shmalabel)
sys/security/mac_stub/mac_stub.c
1440
stub_vnode_associate_extattr(struct mount *mp, struct label *mplabel,
sys/security/mac_stub/mac_stub.c
1441
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1448
stub_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
sys/security/mac_stub/mac_stub.c
1449
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
145
stub_copy_label(struct label *src, struct label *dest)
sys/security/mac_stub/mac_stub.c
1456
struct label *vplabel, accmode_t accmode)
sys/security/mac_stub/mac_stub.c
1464
struct label *dvplabel)
sys/security/mac_stub/mac_stub.c
1472
struct label *dvplabel)
sys/security/mac_stub/mac_stub.c
1480
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_stub/mac_stub.c
1488
struct label *vplabel, acl_type_t type)
sys/security/mac_stub/mac_stub.c
1496
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_stub/mac_stub.c
1504
struct label *vplabel, struct image_params *imgp,
sys/security/mac_stub/mac_stub.c
1505
struct label *execlabel)
sys/security/mac_stub/mac_stub.c
151
stub_externalize_label(struct label *label, char *element_name,
sys/security/mac_stub/mac_stub.c
1513
struct label *vplabel, acl_type_t type)
sys/security/mac_stub/mac_stub.c
1521
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_stub/mac_stub.c
1529
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_stub/mac_stub.c
1538
struct label *vplabel, int attrnamespace)
sys/security/mac_stub/mac_stub.c
1546
struct label *dvplabel, struct componentname *cnp)
sys/security/mac_stub/mac_stub.c
1554
struct label *vplabel, int prot, int flags)
sys/security/mac_stub/mac_stub.c
1562
struct label *vplabel, int *prot)
sys/security/mac_stub/mac_stub.c
1569
struct label *vplabel, int prot)
sys/security/mac_stub/mac_stub.c
1577
struct label *vplabel, accmode_t accmode)
sys/security/mac_stub/mac_stub.c
1585
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
159
stub_internalize_label(struct label *label, char *element_name,
sys/security/mac_stub/mac_stub.c
1593
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1601
struct label *dvplabel)
sys/security/mac_stub/mac_stub.c
1609
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1617
struct label *vplabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
1625
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_stub/mac_stub.c
1634
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_stub/mac_stub.c
1643
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1651
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_stub/mac_stub.c
1659
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_stub/mac_stub.c
1667
struct label *vplabel, u_long flags)
sys/security/mac_stub/mac_stub.c
1675
struct label *vplabel, mode_t mode)
sys/security/mac_stub/mac_stub.c
1683
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_stub/mac_stub.c
1691
struct label *vplabel, struct timespec atime, struct timespec mtime)
sys/security/mac_stub/mac_stub.c
1699
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
1707
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_stub/mac_stub.c
171
stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_stub/mac_stub.c
1716
struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
172
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_stub/mac_stub.c
1724
struct label *mntlabel, struct vnode *dvp, struct label *dvplabel,
sys/security/mac_stub/mac_stub.c
1725
struct vnode *vp, struct label *vplabel, struct componentname *cnp)
sys/security/mac_stub/mac_stub.c
1733
struct vnode *vp, struct label *vplabel, struct label *interpvplabel,
sys/security/mac_stub/mac_stub.c
1734
struct image_params *imgp, struct label *execlabel)
sys/security/mac_stub/mac_stub.c
1741
struct label *vplabel, struct label *interpvplabel,
sys/security/mac_stub/mac_stub.c
1742
struct image_params *imgp, struct label *execlabel)
sys/security/mac_stub/mac_stub.c
1750
struct label *vplabel, struct label *label)
sys/security/mac_stub/mac_stub.c
1757
struct label *vplabel, struct label *intlabel)
sys/security/mac_stub/mac_stub.c
180
struct label *dlabel)
sys/security/mac_stub/mac_stub.c
186
stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
sys/security/mac_stub/mac_stub.c
187
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
199
stub_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
329
stub_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
352
struct cdev *dev, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_stub/mac_stub.c
359
int dirnamelen, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_stub/mac_stub.c
366
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac_stub/mac_stub.c
367
struct label *delabel)
sys/security/mac_stub/mac_stub.c
374
struct label *delabel, struct vnode *vp, struct label *vplabel)
sys/security/mac_stub/mac_stub.c
380
stub_devfs_vnode_associate(struct mount *mp, struct label *mplabel,
sys/security/mac_stub/mac_stub.c
381
struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
sys/security/mac_stub/mac_stub.c
382
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
389
struct label *ifplabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
396
stub_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_stub/mac_stub.c
397
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
404
stub_ifnet_create(struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_stub/mac_stub.c
410
stub_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_stub/mac_stub.c
411
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
418
struct label *ifplabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
424
stub_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_stub/mac_stub.c
425
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
432
stub_inpcb_create(struct socket *so, struct label *solabel,
sys/security/mac_stub/mac_stub.c
433
struct inpcb *inp, struct label *inplabel)
sys/security/mac_stub/mac_stub.c
439
stub_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
sys/security/mac_stub/mac_stub.c
440
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
446
stub_inpcb_sosetlabel(struct socket *so, struct label *solabel,
sys/security/mac_stub/mac_stub.c
447
struct inpcb *inp, struct label *inplabel)
sys/security/mac_stub/mac_stub.c
455
stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_stub/mac_stub.c
456
struct label *q6label)
sys/security/mac_stub/mac_stub.c
462
stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_stub/mac_stub.c
463
struct label *q6label)
sys/security/mac_stub/mac_stub.c
470
stub_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
sys/security/mac_stub/mac_stub.c
471
struct label *mlabel)
sys/security/mac_stub/mac_stub.c
477
stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_stub/mac_stub.c
478
struct label *q6label)
sys/security/mac_stub/mac_stub.c
484
stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_stub/mac_stub.c
485
struct label *qlabel)
sys/security/mac_stub/mac_stub.c
491
stub_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_stub/mac_stub.c
492
struct label *qlabel)
sys/security/mac_stub/mac_stub.c
499
stub_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m,
sys/security/mac_stub/mac_stub.c
500
struct label *mlabel)
sys/security/mac_stub/mac_stub.c
506
stub_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_stub/mac_stub.c
507
struct label *qlabel)
sys/security/mac_stub/mac_stub.c
549
struct label *vplabel)
sys/security/mac_stub/mac_stub.c
564
struct label *mplabel)
sys/security/mac_stub/mac_stub.c
572
struct label *mplabel)
sys/security/mac_stub/mac_stub.c
578
stub_netinet_arp_send(struct ifnet *ifp, struct label *iflpabel,
sys/security/mac_stub/mac_stub.c
579
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
585
stub_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_stub/mac_stub.c
586
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_stub/mac_stub.c
592
stub_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
598
stub_netinet_fragment(struct mbuf *m, struct label *mlabel, struct mbuf *frag,
sys/security/mac_stub/mac_stub.c
599
struct label *fraglabel)
sys/security/mac_stub/mac_stub.c
605
stub_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_stub/mac_stub.c
606
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_stub/mac_stub.c
612
stub_netinet_icmp_replyinplace(struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
618
stub_netinet_igmp_send(struct ifnet *ifp, struct label *iflpabel,
sys/security/mac_stub/mac_stub.c
619
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
625
stub_netinet_tcp_reply(struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
631
stub_netinet6_nd6_send(struct ifnet *ifp, struct label *iflpabel,
sys/security/mac_stub/mac_stub.c
632
struct mbuf *m, struct label *mlabel)
sys/security/mac_stub/mac_stub.c
639
struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data)
sys/security/mac_stub/mac_stub.c
647
struct label *pplabel)
sys/security/mac_stub/mac_stub.c
655
struct label *pplabel)
sys/security/mac_stub/mac_stub.c
663
struct label *pplabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
671
struct label *pplabel)
sys/security/mac_stub/mac_stub.c
679
struct label *pplabel)
sys/security/mac_stub/mac_stub.c
687
struct label *pplabel)
sys/security/mac_stub/mac_stub.c
694
struct label *pplabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
701
struct ksem *ks, struct label *kslabel)
sys/security/mac_stub/mac_stub.c
709
struct label *kslabel)
sys/security/mac_stub/mac_stub.c
717
struct ksem *ks, struct label *kslabel)
sys/security/mac_stub/mac_stub.c
725
struct label *kslabel, mode_t mode)
sys/security/mac_stub/mac_stub.c
733
struct label *kslabel, uid_t uid, gid_t gid)
sys/security/mac_stub/mac_stub.c
741
struct ksem *ks, struct label *kslabel)
sys/security/mac_stub/mac_stub.c
749
struct label *kslabel)
sys/security/mac_stub/mac_stub.c
757
struct ksem *ks, struct label *kslabel)
sys/security/mac_stub/mac_stub.c
765
struct label *kslabel)
sys/security/mac_stub/mac_stub.c
779
struct label *shmlabel, int prot, int flags)
sys/security/mac_stub/mac_stub.c
787
struct label *shmlabel, accmode_t accmode)
sys/security/mac_stub/mac_stub.c
795
struct shmfd *shm, struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
803
struct label *shmlabel, mode_t mode)
sys/security/mac_stub/mac_stub.c
811
struct label *shmlabel, uid_t uid, gid_t gid)
sys/security/mac_stub/mac_stub.c
819
struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
827
struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
835
struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
843
struct shmfd *shm, struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
851
struct label *shmlabel)
sys/security/mac_stub/mac_stub.c
858
struct label *prlabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
865
struct label *prlabel, struct label *newlabel)
sys/security/mac_stub/mac_stub.c
873
struct label *prlabel)
sys/security/mac_stub/mac_stub.c
888
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_stub/mac_stub.c
896
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_stub/mac_stub.c
904
struct label *prlabel)
sys/security/mac_stub/mac_stub.c
912
struct label *prlabel)
sys/security/mac_stub/mac_stub.c
925
struct label *prlabel, struct proc *p, struct label *proclabel)
sys/security/mac_stub/mac_stub.c
974
struct label *solabel)
sys/security/mac_stub/mac_stub.c
987
struct label *solabel, struct sockaddr *sa)
sys/security/mac_test/mac_test.c
1009
test_mbuf_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1017
if (label == NULL)
sys/security/mac_test/mac_test.c
1020
LABEL_DESTROY(label, MAGIC_MBUF);
sys/security/mac_test/mac_test.c
1026
test_mbuf_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
1034
LABEL_INIT(label, MAGIC_MBUF);
sys/security/mac_test/mac_test.c
1042
struct label *mplabel)
sys/security/mac_test/mac_test.c
1055
struct label *mplabel)
sys/security/mac_test/mac_test.c
1065
test_mount_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1068
LABEL_DESTROY(label, MAGIC_MOUNT);
sys/security/mac_test/mac_test.c
1074
test_mount_init_label(struct label *label)
sys/security/mac_test/mac_test.c
1077
LABEL_INIT(label, MAGIC_MOUNT);
sys/security/mac_test/mac_test.c
1083
test_netinet_arp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_test/mac_test.c
1084
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1094
test_netinet_fragment(struct mbuf *m, struct label *mlabel,
sys/security/mac_test/mac_test.c
1095
struct mbuf *frag, struct label *fraglabel)
sys/security/mac_test/mac_test.c
1105
test_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel,
sys/security/mac_test/mac_test.c
1106
struct mbuf *msend, struct label *msendlabel)
sys/security/mac_test/mac_test.c
1116
test_netinet_icmp_replyinplace(struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1125
test_netinet_igmp_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_test/mac_test.c
1126
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1136
test_netinet_tcp_reply(struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1145
test_netinet6_nd6_send(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_test/mac_test.c
1146
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1157
struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data)
sys/security/mac_test/mac_test.c
1170
struct label *pplabel)
sys/security/mac_test/mac_test.c
1183
struct label *pplabel)
sys/security/mac_test/mac_test.c
1196
struct label *pplabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
1210
struct label *pplabel)
sys/security/mac_test/mac_test.c
1223
struct label *pplabel)
sys/security/mac_test/mac_test.c
1235
test_pipe_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
1246
struct label *pplabel)
sys/security/mac_test/mac_test.c
1256
test_pipe_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1259
LABEL_DESTROY(label, MAGIC_PIPE);
sys/security/mac_test/mac_test.c
1265
test_pipe_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
1269
LABEL_CHECK(label, MAGIC_PIPE);
sys/security/mac_test/mac_test.c
1277
test_pipe_init_label(struct label *label)
sys/security/mac_test/mac_test.c
1280
LABEL_INIT(label, MAGIC_PIPE);
sys/security/mac_test/mac_test.c
1286
test_pipe_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
1290
LABEL_CHECK(label, MAGIC_PIPE);
sys/security/mac_test/mac_test.c
1299
struct label *pplabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
1311
struct ksem *ks, struct label *kslabel)
sys/security/mac_test/mac_test.c
1325
struct label *kslabel)
sys/security/mac_test/mac_test.c
133
#define LABEL_CHECK(label, magic) do { \
sys/security/mac_test/mac_test.c
1338
struct ksem *ks, struct label *kslabel)
sys/security/mac_test/mac_test.c
134
if (label != NULL) { \
sys/security/mac_test/mac_test.c
135
KASSERT(SLOT(label) == magic || SLOT(label) == 0, \
sys/security/mac_test/mac_test.c
1352
struct label *kslabel, mode_t mode)
sys/security/mac_test/mac_test.c
1364
struct label *kslabel, uid_t uid, gid_t gid)
sys/security/mac_test/mac_test.c
1376
struct ucred *file_cred, struct ksem *ks, struct label *kslabel)
sys/security/mac_test/mac_test.c
1389
struct label *kslabel)
sys/security/mac_test/mac_test.c
140
#define LABEL_DESTROY(label, magic) do { \
sys/security/mac_test/mac_test.c
1402
struct ksem *ks, struct label *kslabel)
sys/security/mac_test/mac_test.c
141
if (SLOT(label) == magic || SLOT(label) == 0) { \
sys/security/mac_test/mac_test.c
1416
struct label *kslabel)
sys/security/mac_test/mac_test.c
142
SLOT_SET(label, MAGIC_FREE); \
sys/security/mac_test/mac_test.c
1426
test_posixsem_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1429
LABEL_DESTROY(label, MAGIC_POSIX_SEM);
sys/security/mac_test/mac_test.c
143
} else if (SLOT(label) == MAGIC_FREE) { \
sys/security/mac_test/mac_test.c
1435
test_posixsem_init_label(struct label *label)
sys/security/mac_test/mac_test.c
1438
LABEL_INIT(label, MAGIC_POSIX_SEM);
sys/security/mac_test/mac_test.c
1454
struct label *shmfdlabel, int prot, int flags)
sys/security/mac_test/mac_test.c
1466
struct label *shmfdlabel, accmode_t accmode)
sys/security/mac_test/mac_test.c
1478
struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel)
sys/security/mac_test/mac_test.c
1493
struct label *shmfdlabel, mode_t mode)
sys/security/mac_test/mac_test.c
150
#define LABEL_INIT(label, magic) do { \
sys/security/mac_test/mac_test.c
1505
struct label *shmfdlabel, uid_t uid, gid_t gid)
sys/security/mac_test/mac_test.c
151
SLOT_SET(label, magic); \
sys/security/mac_test/mac_test.c
1517
struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel)
sys/security/mac_test/mac_test.c
1530
struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel)
sys/security/mac_test/mac_test.c
154
#define LABEL_NOTFREE(label) do { \
sys/security/mac_test/mac_test.c
1543
struct label *shmfdlabel)
sys/security/mac_test/mac_test.c
155
KASSERT(SLOT(label) != MAGIC_FREE, \
sys/security/mac_test/mac_test.c
1555
struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel)
sys/security/mac_test/mac_test.c
1570
struct label *shmfdlabel)
sys/security/mac_test/mac_test.c
1580
test_posixshm_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1583
LABEL_DESTROY(label, MAGIC_POSIX_SHM);
sys/security/mac_test/mac_test.c
1589
test_posixshm_init_label(struct label *label)
sys/security/mac_test/mac_test.c
1592
LABEL_INIT(label, MAGIC_POSIX_SHM);
sys/security/mac_test/mac_test.c
1598
test_prison_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
1606
LABEL_INIT(label, MAGIC_PRISON);
sys/security/mac_test/mac_test.c
1613
test_prison_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1616
LABEL_DESTROY(label, MAGIC_PRISON);
sys/security/mac_test/mac_test.c
1622
test_prison_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
1632
test_prison_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
1636
LABEL_CHECK(label, MAGIC_PRISON);
sys/security/mac_test/mac_test.c
1644
test_prison_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
1648
LABEL_CHECK(label, MAGIC_PRISON);
sys/security/mac_test/mac_test.c
165
test_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
sys/security/mac_test/mac_test.c
1657
struct label *prlabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
166
struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_test/mac_test.c
1668
struct label *prlabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
1680
struct label *prlabel)
sys/security/mac_test/mac_test.c
1700
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_test/mac_test.c
1711
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_test/mac_test.c
1722
struct label *prlabel)
sys/security/mac_test/mac_test.c
1733
struct label *prlabel)
sys/security/mac_test/mac_test.c
1751
struct label *prlabel, struct proc *p, struct label *proclabel)
sys/security/mac_test/mac_test.c
179
struct label *dlabel)
sys/security/mac_test/mac_test.c
1809
test_proc_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
1812
LABEL_DESTROY(label, MAGIC_PROC);
sys/security/mac_test/mac_test.c
1818
test_proc_init_label(struct label *label)
sys/security/mac_test/mac_test.c
1821
LABEL_INIT(label, MAGIC_PROC);
sys/security/mac_test/mac_test.c
1828
struct label *solabel)
sys/security/mac_test/mac_test.c
1843
struct label *solabel, struct sockaddr *sa)
sys/security/mac_test/mac_test.c
1858
struct label *solabel, struct sockaddr *sa)
sys/security/mac_test/mac_test.c
1872
test_socket_check_deliver(struct socket *so, struct label *solabel,
sys/security/mac_test/mac_test.c
1873
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1888
struct label *solabel)
sys/security/mac_test/mac_test.c
189
test_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
sys/security/mac_test/mac_test.c
190
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
1903
struct label *solabel)
sys/security/mac_test/mac_test.c
1918
struct label *solabel)
sys/security/mac_test/mac_test.c
1933
struct label *solabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
1949
struct label *solabel)
sys/security/mac_test/mac_test.c
1964
struct label *solabel)
sys/security/mac_test/mac_test.c
1979
struct label *solabel)
sys/security/mac_test/mac_test.c
1993
test_socket_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
200
test_bpfdesc_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2004
struct label *solabel)
sys/security/mac_test/mac_test.c
2014
test_socket_create_mbuf(struct socket *so, struct label *solabel,
sys/security/mac_test/mac_test.c
2015
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
2027
test_socket_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
203
LABEL_DESTROY(label, MAGIC_BPF);
sys/security/mac_test/mac_test.c
2030
LABEL_DESTROY(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2036
test_socket_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
2040
LABEL_CHECK(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2048
test_socket_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
2056
LABEL_INIT(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2063
test_socket_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
2067
LABEL_CHECK(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2075
test_socket_newconn(struct socket *oldso, struct label *oldsolabel,
sys/security/mac_test/mac_test.c
2076
struct socket *newso, struct label *newsolabel)
sys/security/mac_test/mac_test.c
209
test_bpfdesc_init_label(struct label *label)
sys/security/mac_test/mac_test.c
2091
struct label *solabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
2104
test_socketpeer_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2107
LABEL_DESTROY(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2113
test_socketpeer_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
2117
LABEL_CHECK(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
212
LABEL_INIT(label, MAGIC_BPF);
sys/security/mac_test/mac_test.c
2125
test_socketpeer_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
2133
LABEL_INIT(label, MAGIC_SOCKET);
sys/security/mac_test/mac_test.c
2140
test_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel,
sys/security/mac_test/mac_test.c
2141
struct socket *so, struct label *sopeerlabel)
sys/security/mac_test/mac_test.c
2154
struct label *oldsolabel, struct socket *newso,
sys/security/mac_test/mac_test.c
2155
struct label *newsopeerlabel)
sys/security/mac_test/mac_test.c
2169
test_syncache_create(struct label *label, struct inpcb *inp)
sys/security/mac_test/mac_test.c
2172
LABEL_CHECK(label, MAGIC_SYNCACHE);
sys/security/mac_test/mac_test.c
2178
test_syncache_create_mbuf(struct label *sc_label, struct mbuf *m,
sys/security/mac_test/mac_test.c
2179
struct label *mlabel)
sys/security/mac_test/mac_test.c
218
test_cred_check_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_test/mac_test.c
2189
test_syncache_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2192
LABEL_DESTROY(label, MAGIC_SYNCACHE);
sys/security/mac_test/mac_test.c
2198
test_syncache_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
2205
LABEL_INIT(label, MAGIC_SYNCACHE);
sys/security/mac_test/mac_test.c
2213
struct label *vplabel)
sys/security/mac_test/mac_test.c
2237
struct label *vplabel)
sys/security/mac_test/mac_test.c
2272
struct label *vplabel)
sys/security/mac_test/mac_test.c
2285
struct label *vplabel)
sys/security/mac_test/mac_test.c
2309
test_sysvmsg_cleanup(struct label *msglabel)
sys/security/mac_test/mac_test.c
2319
struct label *msqlabel, struct msg *msgptr, struct label *msglabel)
sys/security/mac_test/mac_test.c
2329
test_sysvmsg_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2332
LABEL_DESTROY(label, MAGIC_SYSV_MSG);
sys/security/mac_test/mac_test.c
2338
test_sysvmsg_init_label(struct label *label)
sys/security/mac_test/mac_test.c
2340
LABEL_INIT(label, MAGIC_SYSV_MSG);
sys/security/mac_test/mac_test.c
2347
struct label *msglabel, struct msqid_kernel *msqkptr,
sys/security/mac_test/mac_test.c
2348
struct label *msqklabel)
sys/security/mac_test/mac_test.c
2362
struct label *msglabel)
sys/security/mac_test/mac_test.c
2375
struct label *msglabel)
sys/security/mac_test/mac_test.c
2388
struct msqid_kernel *msqkptr, struct label *msqklabel)
sys/security/mac_test/mac_test.c
2401
struct msqid_kernel *msqkptr, struct label *msqklabel)
sys/security/mac_test/mac_test.c
2414
struct msqid_kernel *msqkptr, struct label *msqklabel)
sys/security/mac_test/mac_test.c
2427
struct msqid_kernel *msqkptr, struct label *msqklabel, int cmd)
sys/security/mac_test/mac_test.c
2439
test_sysvmsq_cleanup(struct label *msqlabel)
sys/security/mac_test/mac_test.c
2449
struct msqid_kernel *msqkptr, struct label *msqlabel)
sys/security/mac_test/mac_test.c
2458
test_sysvmsq_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2461
LABEL_DESTROY(label, MAGIC_SYSV_MSQ);
sys/security/mac_test/mac_test.c
2467
test_sysvmsq_init_label(struct label *label)
sys/security/mac_test/mac_test.c
2469
LABEL_INIT(label, MAGIC_SYSV_MSQ);
sys/security/mac_test/mac_test.c
2476
struct semid_kernel *semakptr, struct label *semaklabel, int cmd)
sys/security/mac_test/mac_test.c
2489
struct semid_kernel *semakptr, struct label *semaklabel)
sys/security/mac_test/mac_test.c
2502
struct semid_kernel *semakptr, struct label *semaklabel, size_t accesstype)
sys/security/mac_test/mac_test.c
2514
test_sysvsem_cleanup(struct label *semalabel)
sys/security/mac_test/mac_test.c
2524
struct label *semalabel)
sys/security/mac_test/mac_test.c
2533
test_sysvsem_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2536
LABEL_DESTROY(label, MAGIC_SYSV_SEM);
sys/security/mac_test/mac_test.c
2542
test_sysvsem_init_label(struct label *label)
sys/security/mac_test/mac_test.c
2544
LABEL_INIT(label, MAGIC_SYSV_SEM);
sys/security/mac_test/mac_test.c
2551
struct shmid_kernel *shmsegptr, struct label *shmseglabel, int shmflg)
sys/security/mac_test/mac_test.c
2564
struct shmid_kernel *shmsegptr, struct label *shmseglabel, int cmd)
sys/security/mac_test/mac_test.c
2577
struct shmid_kernel *shmsegptr, struct label *shmseglabel)
sys/security/mac_test/mac_test.c
2590
struct shmid_kernel *shmsegptr, struct label *shmseglabel, int shmflg)
sys/security/mac_test/mac_test.c
2602
test_sysvshm_cleanup(struct label *shmlabel)
sys/security/mac_test/mac_test.c
2612
struct label *shmlabel)
sys/security/mac_test/mac_test.c
2621
test_sysvshm_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
2624
LABEL_DESTROY(label, MAGIC_SYSV_SHM);
sys/security/mac_test/mac_test.c
2630
test_sysvshm_init_label(struct label *label)
sys/security/mac_test/mac_test.c
2632
LABEL_INIT(label, MAGIC_SYSV_SHM);
sys/security/mac_test/mac_test.c
2646
test_vnode_associate_extattr(struct mount *mp, struct label *mplabel,
sys/security/mac_test/mac_test.c
2647
struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
2659
test_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel,
sys/security/mac_test/mac_test.c
2660
struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
2671
struct label *vplabel, accmode_t accmode)
sys/security/mac_test/mac_test.c
2684
struct label *dvplabel)
sys/security/mac_test/mac_test.c
2697
struct label *dvplabel)
sys/security/mac_test/mac_test.c
2710
struct label *dvplabel, struct componentname *cnp, struct vattr *vap)
sys/security/mac_test/mac_test.c
2723
struct label *vplabel, acl_type_t type)
sys/security/mac_test/mac_test.c
2736
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_test/mac_test.c
2749
struct label *vplabel, struct image_params *imgp,
sys/security/mac_test/mac_test.c
2750
struct label *execlabel)
sys/security/mac_test/mac_test.c
2764
struct label *vplabel, acl_type_t type)
sys/security/mac_test/mac_test.c
2777
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_test/mac_test.c
2790
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_test/mac_test.c
2805
struct label *vplabel, int attrnamespace)
sys/security/mac_test/mac_test.c
2818
struct label *dvplabel, struct componentname *cnp)
sys/security/mac_test/mac_test.c
2831
struct label *vplabel, int prot, int flags)
sys/security/mac_test/mac_test.c
2844
struct label *vplabel, accmode_t accmode)
sys/security/mac_test/mac_test.c
2857
struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
2872
struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
2887
struct label *dvplabel)
sys/security/mac_test/mac_test.c
2900
struct label *vplabel)
sys/security/mac_test/mac_test.c
2913
struct label *vplabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
2927
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_test/mac_test.c
2942
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_test/mac_test.c
2957
struct label *vplabel)
sys/security/mac_test/mac_test.c
2970
struct label *vplabel, acl_type_t type, struct acl *acl)
sys/security/mac_test/mac_test.c
2983
struct label *vplabel, int attrnamespace, const char *name)
sys/security/mac_test/mac_test.c
2996
struct label *vplabel, u_long flags)
sys/security/mac_test/mac_test.c
3009
struct label *vplabel, mode_t mode)
sys/security/mac_test/mac_test.c
3022
struct label *vplabel, uid_t uid, gid_t gid)
sys/security/mac_test/mac_test.c
3035
struct label *vplabel, struct timespec atime, struct timespec mtime)
sys/security/mac_test/mac_test.c
3048
struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
3063
struct label *dvplabel, struct vnode *vp, struct label *vplabel,
sys/security/mac_test/mac_test.c
3078
struct ucred *file_cred, struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
3092
test_vnode_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
3103
struct label *mplabel, struct vnode *dvp, struct label *dvplabel,
sys/security/mac_test/mac_test.c
3104
struct vnode *vp, struct label *vplabel, struct componentname *cnp)
sys/security/mac_test/mac_test.c
3117
test_vnode_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
3120
LABEL_DESTROY(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
3127
struct vnode *vp, struct label *filelabel,
sys/security/mac_test/mac_test.c
3128
struct label *interpvplabel, struct image_params *imgp,
sys/security/mac_test/mac_test.c
3129
struct label *execlabel)
sys/security/mac_test/mac_test.c
3143
struct label *filelabel, struct label *interpvplabel,
sys/security/mac_test/mac_test.c
3144
struct image_params *imgp, struct label *execlabel)
sys/security/mac_test/mac_test.c
3158
test_vnode_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
3162
LABEL_CHECK(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
3170
test_vnode_init_label(struct label *label)
sys/security/mac_test/mac_test.c
3173
LABEL_INIT(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
3179
test_vnode_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
3183
LABEL_CHECK(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
3192
struct label *vplabel, struct label *label)
sys/security/mac_test/mac_test.c
3197
LABEL_CHECK(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
3204
struct label *vplabel, struct label *intlabel)
sys/security/mac_test/mac_test.c
404
test_cred_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
432
test_cred_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
435
LABEL_DESTROY(label, MAGIC_CRED);
sys/security/mac_test/mac_test.c
441
test_cred_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
445
LABEL_CHECK(label, MAGIC_CRED);
sys/security/mac_test/mac_test.c
453
test_cred_init_label(struct label *label)
sys/security/mac_test/mac_test.c
456
LABEL_INIT(label, MAGIC_CRED);
sys/security/mac_test/mac_test.c
462
test_cred_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
466
LABEL_CHECK(label, MAGIC_CRED);
sys/security/mac_test/mac_test.c
474
test_cred_relabel(struct ucred *cred, struct label *newlabel)
sys/security/mac_test/mac_test.c
507
struct cdev *dev, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_test/mac_test.c
519
int dirnamelen, struct devfs_dirent *de, struct label *delabel)
sys/security/mac_test/mac_test.c
529
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
sys/security/mac_test/mac_test.c
530
struct label *delabel)
sys/security/mac_test/mac_test.c
541
test_devfs_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
544
LABEL_DESTROY(label, MAGIC_DEVFS);
sys/security/mac_test/mac_test.c
550
test_devfs_init_label(struct label *label)
sys/security/mac_test/mac_test.c
553
LABEL_INIT(label, MAGIC_DEVFS);
sys/security/mac_test/mac_test.c
560
struct label *direntlabel, struct vnode *vp, struct label *vplabel)
sys/security/mac_test/mac_test.c
570
test_devfs_vnode_associate(struct mount *mp, struct label *mplabel,
sys/security/mac_test/mac_test.c
571
struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
sys/security/mac_test/mac_test.c
572
struct label *vplabel)
sys/security/mac_test/mac_test.c
584
struct label *ifplabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
597
test_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_test/mac_test.c
598
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
610
test_ifnet_copy_label(struct label *src, struct label *dest)
sys/security/mac_test/mac_test.c
620
test_ifnet_create(struct ifnet *ifp, struct label *ifplabel)
sys/security/mac_test/mac_test.c
629
test_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel,
sys/security/mac_test/mac_test.c
630
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
640
test_ifnet_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
643
LABEL_DESTROY(label, MAGIC_IFNET);
sys/security/mac_test/mac_test.c
649
test_ifnet_externalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
653
LABEL_CHECK(label, MAGIC_IFNET);
sys/security/mac_test/mac_test.c
661
test_ifnet_init_label(struct label *label)
sys/security/mac_test/mac_test.c
664
LABEL_INIT(label, MAGIC_IFNET);
sys/security/mac_test/mac_test.c
670
test_ifnet_internalize_label(struct label *label, char *element_name,
sys/security/mac_test/mac_test.c
674
LABEL_CHECK(label, MAGIC_IFNET);
sys/security/mac_test/mac_test.c
683
struct label *ifplabel, struct label *newlabel)
sys/security/mac_test/mac_test.c
694
test_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
sys/security/mac_test/mac_test.c
695
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
708
struct label *inplabel)
sys/security/mac_test/mac_test.c
720
test_inpcb_create(struct socket *so, struct label *solabel,
sys/security/mac_test/mac_test.c
721
struct inpcb *inp, struct label *inplabel)
sys/security/mac_test/mac_test.c
733
test_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
sys/security/mac_test/mac_test.c
734
struct mbuf *m, struct label *mlabel)
sys/security/mac_test/mac_test.c
744
test_inpcb_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
747
LABEL_DESTROY(label, MAGIC_INPCB);
sys/security/mac_test/mac_test.c
753
test_inpcb_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
761
LABEL_INIT(label, MAGIC_INPCB);
sys/security/mac_test/mac_test.c
768
test_inpcb_sosetlabel(struct socket *so, struct label *solabel,
sys/security/mac_test/mac_test.c
769
struct inpcb *inp, struct label *inplabel)
sys/security/mac_test/mac_test.c
781
test_ip6q_create(struct mbuf *fragment, struct label *fragmentlabel,
sys/security/mac_test/mac_test.c
782
struct ip6q *q6, struct label *q6label)
sys/security/mac_test/mac_test.c
792
test_ip6q_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
795
LABEL_DESTROY(label, MAGIC_IP6Q);
sys/security/mac_test/mac_test.c
801
test_ip6q_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
809
LABEL_INIT(label, MAGIC_IP6Q);
sys/security/mac_test/mac_test.c
816
test_ip6q_match(struct mbuf *fragment, struct label *fragmentlabel,
sys/security/mac_test/mac_test.c
817
struct ip6q *q6, struct label *q6label)
sys/security/mac_test/mac_test.c
829
test_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
sys/security/mac_test/mac_test.c
830
struct label *mlabel)
sys/security/mac_test/mac_test.c
840
test_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
sys/security/mac_test/mac_test.c
841
struct label *q6label)
sys/security/mac_test/mac_test.c
851
test_ipq_create(struct mbuf *fragment, struct label *fragmentlabel,
sys/security/mac_test/mac_test.c
852
struct ipq *q, struct label *qlabel)
sys/security/mac_test/mac_test.c
862
test_ipq_destroy_label(struct label *label)
sys/security/mac_test/mac_test.c
865
LABEL_DESTROY(label, MAGIC_IPQ);
sys/security/mac_test/mac_test.c
871
test_ipq_init_label(struct label *label, int flag)
sys/security/mac_test/mac_test.c
879
LABEL_INIT(label, MAGIC_IPQ);
sys/security/mac_test/mac_test.c
886
test_ipq_match(struct mbuf *fragment, struct label *fragmentlabel,
sys/security/mac_test/mac_test.c
887
struct ipq *q, struct label *qlabel)
sys/security/mac_test/mac_test.c
899
test_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m,
sys/security/mac_test/mac_test.c
900
struct label *mlabel)
sys/security/mac_test/mac_test.c
910
test_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q,
sys/security/mac_test/mac_test.c
911
struct label *qlabel)
sys/security/mac_test/mac_test.c
976
struct label *label)
sys/security/mac_test/mac_test.c
980
LABEL_CHECK(label, MAGIC_VNODE);
sys/security/mac_test/mac_test.c
999
test_mbuf_copy_label(struct label *src, struct label *dest)
sys/security/mac_veriexec/mac_veriexec.c
1003
strlcpy(result.label, ip->label, sizeof(result.label));
sys/security/mac_veriexec/mac_veriexec.c
1004
result.label[result.labellen] = '\0';
sys/security/mac_veriexec/mac_veriexec.c
247
mac_veriexec_mount_init_label(struct label *label)
sys/security/mac_veriexec/mac_veriexec.c
250
SLOT_SET(label, 0);
sys/security/mac_veriexec/mac_veriexec.c
264
mac_veriexec_mount_destroy_label(struct label *label)
sys/security/mac_veriexec/mac_veriexec.c
267
SLOT_SET(label, 0);
sys/security/mac_veriexec/mac_veriexec.c
280
mac_veriexec_vnode_init_label(struct label *label)
sys/security/mac_veriexec/mac_veriexec.c
283
SLOT_SET(label, FINGERPRINT_INVALID);
sys/security/mac_veriexec/mac_veriexec.c
296
mac_veriexec_vnode_destroy_label(struct label *label)
sys/security/mac_veriexec/mac_veriexec.c
299
SLOT_SET(label, FINGERPRINT_INVALID);
sys/security/mac_veriexec/mac_veriexec.c
308
mac_veriexec_copy_label(struct label *src, struct label *dest)
sys/security/mac_veriexec/mac_veriexec.c
354
struct label *vlabel)
sys/security/mac_veriexec/mac_veriexec.c
498
struct vnode *vp __unused, struct label *label __unused,
sys/security/mac_veriexec/mac_veriexec.c
499
struct image_params *imgp, struct label *execlabel __unused)
sys/security/mac_veriexec/mac_veriexec.c
599
struct label *label __unused, accmode_t accmode)
sys/security/mac_veriexec/mac_veriexec.c
629
struct label *dvplabel __unused, struct vnode *vp,
sys/security/mac_veriexec/mac_veriexec.c
630
struct label *label __unused, struct componentname *cnp __unused)
sys/security/mac_veriexec/mac_veriexec.c
669
struct vnode *dvp __unused, struct label *dvplabel __unused,
sys/security/mac_veriexec/mac_veriexec.c
670
struct vnode *vp, struct label *label __unused,
sys/security/mac_veriexec/mac_veriexec.c
712
struct label *dvplabel __unused, struct vnode *vp,
sys/security/mac_veriexec/mac_veriexec.c
713
struct label *label __unused, int samedir __unused,
sys/security/mac_veriexec/mac_veriexec.c
758
struct label *label __unused, mode_t mode)
sys/security/mac_veriexec/mac_veriexec.c
810
char label[MAXLABELLEN];
sys/security/mac_veriexec/mac_veriexec.c
989
strlcpy(result32.label, ip->label, sizeof(result32.label));
sys/security/mac_veriexec/mac_veriexec.c
990
result32.label[result.labellen] = '\0';
sys/security/mac_veriexec/mac_veriexec.h
179
char *label, size_t labellen, int flags, const char *fp_type,
sys/security/mac_veriexec/mac_veriexec.h
81
char label[MAXLABELLEN];
sys/security/mac_veriexec/mac_veriexec_internal.h
57
char *label;
sys/security/mac_veriexec/veriexec_metadata.c
144
if (ip->label)
sys/security/mac_veriexec/veriexec_metadata.c
145
free(ip->label, M_VERIEXEC);
sys/security/mac_veriexec/veriexec_metadata.c
278
if (ip->label)
sys/security/mac_veriexec/veriexec_metadata.c
279
free(ip->label, M_VERIEXEC);
sys/security/mac_veriexec/veriexec_metadata.c
376
char *label;
sys/security/mac_veriexec/veriexec_metadata.c
378
label = *labelp;
sys/security/mac_veriexec/veriexec_metadata.c
381
if (label != NULL)
sys/security/mac_veriexec/veriexec_metadata.c
382
free(label, M_VERIEXEC);
sys/security/mac_veriexec/veriexec_metadata.c
383
label = malloc(srclen, M_VERIEXEC, M_WAITOK);
sys/security/mac_veriexec/veriexec_metadata.c
386
*labelp = label;
sys/security/mac_veriexec/veriexec_metadata.c
388
memcpy(label, src, srclen);
sys/security/mac_veriexec/veriexec_metadata.c
611
return ((ip->flags & VERIEXEC_LABEL) != 0 ? ip->label : NULL);
sys/security/mac_veriexec/veriexec_metadata.c
637
char *label, size_t labellen, int flags, const char *fp_type, int override)
sys/security/mac_veriexec/veriexec_metadata.c
646
if ((flags & VERIEXEC_LABEL) != 0 && (label == NULL || labellen == 0))
sys/security/mac_veriexec/veriexec_metadata.c
684
&ip->label, ip->labellen, label,
sys/security/mac_veriexec/veriexec_metadata.c
687
free(ip->label, M_VERIEXEC);
sys/security/mac_veriexec/veriexec_metadata.c
689
ip->label = NULL;
sys/security/mac_veriexec/veriexec_metadata.c
735
ip->label = NULL;
sys/security/mac_veriexec/veriexec_metadata.c
739
ip->labellen = mac_veriexec_init_label(&ip->label,
sys/security/mac_veriexec/veriexec_metadata.c
740
ip->labellen, label, labellen);
sys/sys/fail.h
279
#define KFAIL_POINT_GOTO(parent, name, error_var, label) \
sys/sys/fail.h
280
KFAIL_POINT_CODE(parent, name, (error_var) = RETURN_VALUE; goto label)
sys/sys/imgact.h
60
struct label *execlabel; /* optional exec label */
sys/sys/jail.h
201
struct label *pr_label; /* (m) MAC label */
sys/sys/ksem.h
59
struct label *ks_label; /* MAC label */
sys/sys/mman.h
287
struct label *shm_label; /* MAC label */
sys/sys/mount.h
256
struct label *mnt_label; /* MAC label for the fs */
sys/sys/msg.h
111
struct label *label; /* MAC Framework label */
sys/sys/msg.h
147
struct label *label; /* MAC label */
sys/sys/pipe.h
138
struct label *pp_label;
sys/sys/proc.h
762
struct label *p_label; /* (*) Proc (not subject) MAC label. */
sys/sys/sem.h
129
struct label *label; /* MAC framework label */
sys/sys/shm.h
135
struct label *label; /* MAC label */
sys/sys/slicer.h
45
const char *label;
sys/sys/socketvar.h
127
struct label *so_label; /* (b) MAC label for socket */
sys/sys/socketvar.h
169
struct label *so_peerlabel;
sys/sys/soundcard.h
1906
oss_label_t label; /* Device label (if given) */
sys/sys/soundcard.h
1969
oss_label_t label; /* Device label (if given) */
sys/sys/sysctl.h
1190
const char *fmt, const char *descr, const char *label);
sys/sys/sysctl.h
294
#define SYSCTL_OID_RAW(id, parent_child_head, nbr, name, kind, a1, a2, handler, fmt, descr, label) \
sys/sys/sysctl.h
306
.oid_label = (label), \
sys/sys/sysctl.h
316
#define SYSCTL_OID_WITH_LABEL(parent, nbr, name, kind, a1, a2, handler, fmt, descr, label) \
sys/sys/sysctl.h
319
nbr, #name, kind, a1, a2, handler, fmt, descr, label)
sys/sys/sysctl.h
322
#define SYSCTL_OID_GLOBAL(parent, nbr, name, kind, a1, a2, handler, fmt, descr, label) \
sys/sys/sysctl.h
325
nbr, #name, kind, a1, a2, handler, fmt, descr, label)
sys/sys/sysctl.h
346
#define SYSCTL_NODE_WITH_LABEL(parent, nbr, name, access, handler, descr, label) \
sys/sys/sysctl.h
348
NULL, 0, handler, "N", descr, label); \
sys/sys/sysctl.h
357
#define SYSCTL_ADD_NODE_WITH_LABEL(ctx, parent, nbr, name, access, handler, descr, label) \
sys/sys/sysctl.h
363
NULL, 0, handler, "N", __DESCR(descr), label); \
sys/sys/sysctl.h
598
#define SYSCTL_INT_WITH_LABEL(parent, nbr, name, access, ptr, val, descr, label) \
sys/sys/sysctl.h
601
ptr, val, sysctl_handle_int, "I", descr, label); \
sys/sys/ucred.h
56
struct label;
sys/sys/ucred.h
94
struct label *cr_label; /* MAC label */
sys/sys/vnode.h
192
struct label *v_label; /* MAC label for vnode */
tests/sys/kern/ktls_test.c
113
const char *label)
tests/sys/kern/ktls_test.c
118
if (label != NULL)
tests/sys/kern/ktls_test.c
119
printf("%s:\n", label);
tests/sys/sound/pcm_read_write.c
149
test->label, expected, result);
tests/sys/sound/pcm_read_write.c
156
test->label, expected, result);
tests/sys/sound/pcm_read_write.c
163
test->label, expected, result);
tests/sys/sound/pcm_read_write.c
192
"result={0x%02x, 0x%02x, 0x%02x, 0x%02x}, ", test->label,
tests/sys/sound/pcm_read_write.c
214
"result={0x%02x, 0x%02x, 0x%02x, 0x%02x}, ", test->label,
tests/sys/sound/pcm_read_write.c
226
"result={0x%02x, 0x%02x, 0x%02x, 0x%02x}, ", test->label,
tests/sys/sound/pcm_read_write.c
29
const char *label;
tools/regression/priv/priv_vfs_read_write.c
60
try_io(const char *label, const char *fpathp, int asroot, int injail,
tools/regression/priv/priv_vfs_read_write.c
69
label, asroot ? "root" : "!root", injail ? "jail"
tools/regression/priv/priv_vfs_read_write.c
73
warnx("%s(%s, %s): expected (%d, %d) got 0", label,
tools/test/iconv/posix/posix.c
246
test(int (tester) (void), const char * label)
tools/test/iconv/posix/posix.c
251
printf("%s failed (%d)\n", label, ret);
tools/test/iconv/posix/posix.c
253
printf("%s succeeded\n", label);
tools/tools/ath/athani/main.c
102
sl = strlen(label);
tools/tools/ath/athani/main.c
105
(strcmp(label, ani_labels[i].name) == 0)) {
tools/tools/ath/athani/main.c
112
__func__, label);
tools/tools/ath/athani/main.c
93
const char *label, const char *value)
usr.bin/diff/diff.c
246
if (label[0] == NULL)
usr.bin/diff/diff.c
247
label[0] = optarg;
usr.bin/diff/diff.c
248
else if (label[1] == NULL)
usr.bin/diff/diff.c
249
label[1] = optarg;
usr.bin/diff/diff.c
46
char *start, *ifdefname, *diffargs, *label[2];
usr.bin/diff/diff.c
582
if (label[0] != NULL)
usr.bin/diff/diff.c
583
path1 = label[0];
usr.bin/diff/diff.c
584
if (label[1] != NULL)
usr.bin/diff/diff.c
585
path2 = label[1];
usr.bin/diff/diff.h
119
extern char *start, *ifdefname, *diffargs, *label[2];
usr.bin/diff/diffreg.c
1709
if (label[0] != NULL)
usr.bin/diff/diffreg.c
1711
label[0]);
usr.bin/diff/diffreg.c
1722
if (label[1] != NULL)
usr.bin/diff/diffreg.c
1724
label[1]);
usr.bin/diff/diffreg_new.c
212
info.left_path = (label[0] != NULL) ?
usr.bin/diff/diffreg_new.c
213
label[0] : format_label(file1, &stb1);
usr.bin/diff/diffreg_new.c
214
info.right_path = (label[1] != NULL) ?
usr.bin/diff/diffreg_new.c
215
label[1] : format_label(file2, &stb2);
usr.bin/dtc/fdt.cc
1042
string_set &&label,
usr.bin/dtc/fdt.cc
1068
std::move(label),
usr.bin/dtc/fdt.cc
1207
for (auto &label : labels)
usr.bin/dtc/fdt.cc
1209
fprintf(file, "%s: ", label.c_str());
usr.bin/dtc/fdt.cc
602
property::parse(text_input_buffer &input, string &&key, string_set &&label,
usr.bin/dtc/fdt.cc
607
std::move(label),
usr.bin/dtc/fdt.hh
203
property_value(std::string l=std::string()) : label(l), type(UNKNOWN) {}
usr.bin/dtc/fdt.hh
628
std::unordered_set<std::string> &&label=std::unordered_set<std::string>(),
usr.bin/dtc/fdt.hh
92
std::string label;
usr.bin/grep/grep.c
108
char *label; /* --label */
usr.bin/grep/grep.c
596
label = optarg;
usr.bin/grep/grep.h
126
extern char *label;
usr.bin/grep/util.c
322
fn = label != NULL ? label : errstr[1];
usr.bin/id/id.c
428
mac_t label;
usr.bin/id/id.c
431
error = mac_prepare_process_label(&label);
usr.bin/id/id.c
435
error = mac_get_proc(label);
usr.bin/id/id.c
439
error = mac_to_text(label, &string);
usr.bin/id/id.c
444
mac_free(label);
usr.bin/mkimg/apm.c
95
if (part->label != NULL)
usr.bin/mkimg/apm.c
96
strncpy(ent->ent_name, part->label,
usr.bin/mkimg/gpt.c
206
if (part->label != NULL) {
usr.bin/mkimg/gpt.c
208
while ((c = part->label[idx]) != '\0') {
usr.bin/mkimg/mkimg.c
312
part->label = strdup(sep);
usr.bin/mkimg/mkimg.c
313
if (part->label == NULL) {
usr.bin/mkimg/mkimg.h
51
char *label; /* Partition label. */
usr.bin/mkimg/scheme.c
167
if (p->label != NULL) {
usr.bin/mkimg/scheme.c
168
if (strlen(p->label) > scheme->labellen)
usr.bin/systat/extern.h
180
void label ## name(void); \
usr.bin/usbhidctl/usbhid.c
200
dumpitem(const char *label, struct hid_item *h)
usr.bin/usbhidctl/usbhid.c
204
printf("%s rid=%d pos=%d size=%d count=%d page=%s usage=%s%s%s", label,
usr.bin/usbhidctl/usbhid.c
61
static void dumpitem(const char *label, struct hid_item *h);
usr.sbin/bluetooth/bthidcontrol/hid.c
158
hid_dump_item(char const *label, struct hid_item *h)
usr.sbin/bluetooth/bthidcontrol/hid.c
165
label, (uint8_t) h->report_ID, h->report_size, h->report_count,
usr.sbin/bluetooth/bthidcontrol/hid.c
47
static void hid_dump_item (char const *label, struct hid_item *h);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
123
label = optarg;
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
151
if (label == NULL)
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
365
exec_ppp(s1, NULL, label);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
394
exec_ppp(s, unit, label);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
406
exec_ppp(int s, char *unit, char *label)
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
432
ppp_args[5] = label;
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
434
ppp_args[3] = label;
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
439
(unit != NULL)? unit : "", label,
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
55
static void exec_ppp (int s, char *unit, char *label);
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
66
char *label = NULL, *unit = NULL, *ep = NULL;
usr.sbin/bsdinstall/distextract/distextract.c
104
dists[nminibars].label = strrchr(dists[nminibars].path, '/');
usr.sbin/bsdinstall/distextract/distextract.c
105
if (dists[nminibars].label == NULL)
usr.sbin/bsdinstall/distextract/distextract.c
106
dists[nminibars].label = dists[nminibars].path;
usr.sbin/bsdinstall/distextract/distextract.c
278
"Error opening %s: %s\n", file->label,
usr.sbin/bsdinstall/distextract/distextract.c
314
"Error while extracting %s: %s\n", file->label,
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
235
if ((entry->label = malloc(id_len )) == NULL) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
241
snprintf(entry->label, id_len, "%s%s", _PATH_DEV, chunk_name);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
266
free(entry->label);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
294
if (strcmp(entry->label, name) == 0)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
527
free(m->entry->label);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
61
u_char *label; /* max allocated len will be PART_STR_MLEN */
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_partition_tbl.c
610
return (string_get(value, entry->label, -1));
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1510
if (rule.label[0][0]) {
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1518
strlcat(e->name, rule.label[0], sizeof(e->name));
usr.sbin/ctld/ctld.cc
1293
keyword, label());
usr.sbin/ctld/ctld.cc
1325
log_warnx("%s too big for %s", lun_label, label());
usr.sbin/ctld/ctld.cc
1330
log_warnx("duplicate %s for %s", lun_label, label());
usr.sbin/ctld/ctld.cc
1337
label());
usr.sbin/ctld/ctld.cc
1349
log_warnx("alias for %s specified more than once", label());
usr.sbin/ctld/ctld.cc
1362
"authorisations for %s", label());
usr.sbin/ctld/ctld.cc
1365
"specified more than once", label());
usr.sbin/ctld/ctld.cc
1371
ag_name, label());
usr.sbin/ctld/ctld.cc
1403
addr, label());
usr.sbin/ctld/ctld.cc
1415
log_warnx("%s too big for %s", lun_label, label());
usr.sbin/ctld/ctld.cc
1420
log_warnx("duplicate %s for %s", lun_label, label());
usr.sbin/ctld/ctld.cc
1471
log_warnx("no LUNs defined for %s", label());
usr.sbin/ctld/ctld.cc
1474
"for redirection", label());
usr.sbin/ctld/ctld.cc
189
log_warnx("invalid auth-type \"%s\" for %s", str, label());
usr.sbin/ctld/ctld.cc
195
"already has a different type", str, label());
usr.sbin/ctld/ctld.cc
232
"at most 16 characters long", secret_type, user, label());
usr.sbin/ctld/ctld.cc
236
"at least 12 characters long", secret_type, user, label());
usr.sbin/ctld/ctld.cc
247
"other types for %s", label());
usr.sbin/ctld/ctld.cc
256
user, label());
usr.sbin/ctld/ctld.cc
2629
"for %s", targ->label());
usr.sbin/ctld/ctld.cc
2639
targ->pport(), targ->label());
usr.sbin/ctld/ctld.cc
2645
targ->pport(), targ->label());
usr.sbin/ctld/ctld.cc
2650
targ->pport(), targ->label());
usr.sbin/ctld/ctld.cc
271
"with other types for %s", label());
usr.sbin/ctld/ctld.cc
281
user, label());
usr.sbin/ctld/ctld.cc
394
label());
usr.sbin/ctld/ctld.cc
408
label());
usr.sbin/ctld/ctld.hh
100
auth_group(std::string label) : ag_label(label) {}
usr.sbin/ctld/iscsi.cc
339
label());
usr.sbin/ctld/iscsi.cc
347
label());
usr.sbin/ctld/iscsi.cc
354
label());
usr.sbin/ctld/login.cc
1000
ag->label());
usr.sbin/ctld/login.cc
994
conn_target->name(), ag->label());
usr.sbin/ctld/nvmf.cc
370
log_warnx("namespace ID cannot be 0 for %s", label());
usr.sbin/ctld/nvmf.cc
387
label());
usr.sbin/ctld/nvmf.cc
395
label());
usr.sbin/ctld/nvmf.cc
402
label());
usr.sbin/ctld/nvmf.cc
412
log_warnx("namespace ID cannot be 0 for %s", label());
usr.sbin/efibootmgr/efibootmgr.c
1117
make_boot_var(opts.label ? opts.label : "",
usr.sbin/efibootmgr/efibootmgr.c
142
char *label;
usr.sbin/efibootmgr/efibootmgr.c
262
free(opts.label);
usr.sbin/efibootmgr/efibootmgr.c
263
opts.label = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
659
make_boot_var(const char *label, const char *loader, const char *kernel, const char *env, bool dry_run,
usr.sbin/efibootmgr/efibootmgr.c
670
assert(label != NULL);
usr.sbin/efibootmgr/efibootmgr.c
715
dp, llen + klen, label, env, env ? strlen(env) + 1 : 0);
usr.sbin/efibootmgr/efibootmgr.c
73
char *label;
usr.sbin/fstyp/apfs.c
104
(void)label;
usr.sbin/fstyp/apfs.c
84
fstyp_apfs(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/befs.c
48
fstyp_befs(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/befs.c
59
strlcpy(label, volume->name, size);
usr.sbin/fstyp/cd9660.c
45
fstyp_cd9660(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/cd9660.c
57
bzero(label, size);
usr.sbin/fstyp/cd9660.c
58
strlcpy(label, volume, MIN(size, VOLUME_LEN));
usr.sbin/fstyp/cd9660.c
60
rtrim(label, size);
usr.sbin/fstyp/exfat.c
193
const char *label;
usr.sbin/fstyp/exfat.c
224
label = (const void *)ucs2label;
usr.sbin/fstyp/exfat.c
227
rc = iconv(cd, __DECONST(char **, &label), &srcleft, &label_out,
usr.sbin/fstyp/exfat.c
324
fstyp_exfat(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/exfat.c
366
exfat_find_label(fp, ev, bytespersec, label, size);
usr.sbin/fstyp/exfat.c
370
memset(label, 0, size);
usr.sbin/fstyp/ext2fs.c
55
fstyp_ext2fs(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/ext2fs.c
81
strlcpy(label, s_volume_name, size);
usr.sbin/fstyp/fstyp.c
155
rtrim(char *label, size_t size)
usr.sbin/fstyp/fstyp.c
160
if (label[i] == '\0')
usr.sbin/fstyp/fstyp.c
162
else if (label[i] == ' ')
usr.sbin/fstyp/fstyp.c
163
label[i] = '\0';
usr.sbin/fstyp/fstyp.c
203
char label[LABEL_LEN + 1], strvised[LABEL_LEN * 4 + 1];
usr.sbin/fstyp/fstyp.c
263
memset(label, '\0', sizeof(label));
usr.sbin/fstyp/fstyp.c
272
error = fstyp_f(fp, label, sizeof(label));
usr.sbin/fstyp/fstyp.c
282
if (show_label && label[0] != '\0') {
usr.sbin/fstyp/fstyp.c
287
nbytes = strsnvis(strvised, sizeof(strvised), label,
usr.sbin/fstyp/fstyp.h
50
void rtrim(char *label, size_t size);
usr.sbin/fstyp/fstyp.h
52
int fstyp_apfs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
53
int fstyp_befs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
54
int fstyp_cd9660(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
55
int fstyp_exfat(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
56
int fstyp_ext2fs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
57
int fstyp_geli(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
58
int fstyp_hammer(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
59
int fstyp_hammer2(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
60
int fstyp_hfsp(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
61
int fstyp_msdosfs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
62
int fstyp_ntfs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
63
int fstyp_ufs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/fstyp.h
65
int fstyp_zfs(FILE *fp, char *label, size_t size);
usr.sbin/fstyp/geli.c
41
fstyp_geli(FILE *fp, char *label __unused, size_t labelsize __unused)
usr.sbin/fstyp/hammer.c
112
strlcpy(label, ondisk->vol_label, size);
usr.sbin/fstyp/hammer.c
141
__fsvtyp_hammer(const char *blkdevs, char *label, size_t size, int partial)
usr.sbin/fstyp/hammer.c
194
strlcpy(label, ondisk->vol_label, size);
usr.sbin/fstyp/hammer.c
202
fsvtyp_hammer(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hammer.c
204
return (__fsvtyp_hammer(blkdevs, label, size, 0));
usr.sbin/fstyp/hammer.c
208
fsvtyp_hammer_partial(const char *blkdevs, char *label, size_t size)
usr.sbin/fstyp/hammer.c
210
return (__fsvtyp_hammer(blkdevs, label, size, 1));
usr.sbin/fstyp/hammer.c
46
extern int fsvtyp_hammer(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/hammer.c
47
extern int fsvtyp_hammer_partial(const char *blkdevs, char *label, size_t size);
usr.sbin/fstyp/hammer.c
66
static char label[64];
usr.sbin/fstyp/hammer.c
83
strlcpy(label, ondisk->vol_label, sizeof(label));
usr.sbin/fstyp/hammer.c
91
if (strcmp(ondisk->vol_label, label))
usr.sbin/fstyp/hammer.c
99
fstyp_hammer(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/hammer2.c
206
read_label(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/hammer2.c
252
snprintf(label, size, "%s_%s", pfs, devname);
usr.sbin/fstyp/hammer2.c
254
strlcpy(label, pfs, size);
usr.sbin/fstyp/hammer2.c
256
memset(label, 0, size);
usr.sbin/fstyp/hammer2.c
257
memcpy(label, media->ipdata.filename,
usr.sbin/fstyp/hammer2.c
260
strlcat(label, "_", size);
usr.sbin/fstyp/hammer2.c
261
strlcat(label, devname, size);
usr.sbin/fstyp/hammer2.c
276
fstyp_hammer2(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/hammer2.c
285
error = read_label(fp, label, size);
usr.sbin/fstyp/hammer2_disk.h
562
uint8_t label[16]; /* 30-3F import/export label */
usr.sbin/fstyp/hammer_disk.h
1012
char label[64]; /* filesystem space label */
usr.sbin/fstyp/hammer_disk.h
1055
char label[64]; /* user-supplied description */
usr.sbin/fstyp/hfsplus.c
102
fstyp_hfsp(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/hfsplus.c
122
(void)label;
usr.sbin/fstyp/msdosfs.c
105
memcpy(label, pfat_bsbpb->BS_VolLab, copysize);
usr.sbin/fstyp/msdosfs.c
106
label[copysize] = '\0';
usr.sbin/fstyp/msdosfs.c
125
memcpy(label, pfat32_bsbpb->BS_VolLab, copysize);
usr.sbin/fstyp/msdosfs.c
126
label[copysize] = '\0';
usr.sbin/fstyp/msdosfs.c
172
memcpy(label, pfat_entry->DIR_Name,
usr.sbin/fstyp/msdosfs.c
174
label[copysize] = '\0';
usr.sbin/fstyp/msdosfs.c
186
rtrim(label, size);
usr.sbin/fstyp/msdosfs.c
63
fstyp_msdosfs(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/ntfs.c
101
convert_label(const void *label /* LE */, size_t labellen, char *label_out,
usr.sbin/fstyp/ntfs.c
117
rc = iconv(cd, __DECONST(char **, &label), &labellen, &label_out,
usr.sbin/fstyp/ntfs.c
134
fstyp_ntfs(FILE *fp, char *label, size_t size)
usr.sbin/fstyp/ntfs.c
182
atr->a_datalen, label, size);
usr.sbin/fstyp/ntfs.c
197
memset(label, 0, size);
usr.sbin/fstyp/ufs.c
48
fstyp_ufs(FILE *fp, char *label, size_t labelsize)
usr.sbin/fstyp/ufs.c
54
strlcpy(label, fs->fs_volname, labelsize);
usr.sbin/fstyp/zfs.c
43
fstyp_zfs(FILE *fp, char *label, size_t labelsize)
usr.sbin/fstyp/zfs.c
66
strlcpy(label, zpool_name, labelsize);
usr.sbin/getfmac/getfmac.c
101
mac_free(label);
usr.sbin/getfmac/getfmac.c
105
error = mac_to_text(label, &string);
usr.sbin/getfmac/getfmac.c
112
mac_free(label);
usr.sbin/getfmac/getfmac.c
62
mac_t label;
usr.sbin/getfmac/getfmac.c
86
error = mac_prepare(&label, labellist);
usr.sbin/getfmac/getfmac.c
88
error = mac_prepare_file_label(&label);
usr.sbin/getfmac/getfmac.c
96
error = mac_get_link(argv[i], label);
usr.sbin/getfmac/getfmac.c
98
error = mac_get_file(argv[i], label);
usr.sbin/getpmac/getpmac.c
103
error = mac_get_pid(pid, label);
usr.sbin/getpmac/getpmac.c
107
error = mac_get_proc(label);
usr.sbin/getpmac/getpmac.c
112
mac_free(label);
usr.sbin/getpmac/getpmac.c
115
error = mac_to_text(label, &string);
usr.sbin/getpmac/getpmac.c
124
mac_free(label);
usr.sbin/getpmac/getpmac.c
61
mac_t label;
usr.sbin/getpmac/getpmac.c
94
error = mac_prepare(&label, labellist);
usr.sbin/getpmac/getpmac.c
96
error = mac_prepare_process_label(&label);
usr.sbin/ip6addrctl/ip6addrctl.c
231
printf(" %5d %5d %8llu\n", pol->preced, pol->label,
usr.sbin/ip6addrctl/ip6addrctl.c
288
pol0.label = atoi(cp);
usr.sbin/ip6addrctl/ip6addrctl.c
439
add_policy(char *prefix, char *prec, char *label)
usr.sbin/ip6addrctl/ip6addrctl.c
449
p.label = atoi(label);
usr.sbin/makefs/ffs.c
178
{ 'l', "label", ffs_opts->label, OPT_STRARRAY,
usr.sbin/makefs/ffs.c
179
1, sizeof(ffs_opts->label), "UFS label" },
usr.sbin/makefs/ffs.h
48
char label[MAXVOLLEN]; /* volume name/label */
usr.sbin/makefs/ffs/mkfs.c
163
strlcpy((char *)sblock.fs_volname, ffs_opts->label,
usr.sbin/makefs/zfs.c
573
vdev_label_t *label;
usr.sbin/makefs/zfs.c
577
label = ecalloc(1, sizeof(*label));
usr.sbin/makefs/zfs.c
590
nvlist_copy(poolconfig, label->vl_vdev_phys.vp_nvlist,
usr.sbin/makefs/zfs.c
591
sizeof(label->vl_vdev_phys.vp_nvlist));
usr.sbin/makefs/zfs.c
598
for (size_t uoff = 0; uoff < sizeof(label->vl_uberblock);
usr.sbin/makefs/zfs.c
600
ub = (uberblock_t *)(&label->vl_uberblock[0] + uoff);
usr.sbin/makefs/zfs.c
631
vdev_label_write(zfs, i, label);
usr.sbin/makefs/zfs.c
633
free(label);
usr.sbin/makefs/zfs/vdev.c
166
vdev_label_t *label;
usr.sbin/makefs/zfs/vdev.c
175
label = ecalloc(1, sizeof(*label));
usr.sbin/makefs/zfs/vdev.c
176
memcpy(label, labelp, sizeof(*label));
usr.sbin/makefs/zfs/vdev.c
179
loff = ind * sizeof(*label);
usr.sbin/makefs/zfs/vdev.c
181
loff = zfs->vdevsize - (VDEV_LABELS - ind) * sizeof(*label);
usr.sbin/makefs/zfs/vdev.c
188
vdev_label_set_checksum(&label->vl_be,
usr.sbin/makefs/zfs/vdev.c
189
loff + __offsetof(vdev_label_t, vl_be), sizeof(label->vl_be));
usr.sbin/makefs/zfs/vdev.c
194
vdev_label_set_checksum(&label->vl_vdev_phys,
usr.sbin/makefs/zfs/vdev.c
196
sizeof(label->vl_vdev_phys));
usr.sbin/makefs/zfs/vdev.c
204
assert(sizeof(label->vl_uberblock) % blksz == 0);
usr.sbin/makefs/zfs/vdev.c
205
for (size_t roff = 0; roff < sizeof(label->vl_uberblock);
usr.sbin/makefs/zfs/vdev.c
207
vdev_label_set_checksum(&label->vl_uberblock[0] + roff,
usr.sbin/makefs/zfs/vdev.c
212
n = pwrite(zfs->fd, label, sizeof(*label), loff);
usr.sbin/makefs/zfs/vdev.c
215
assert(n == sizeof(*label));
usr.sbin/makefs/zfs/vdev.c
217
free(label);
usr.sbin/mfiutil/mfi_cmd.c
340
mfi_display_progress(const char *label, struct mfi_progress *prog)
usr.sbin/mfiutil/mfi_cmd.c
344
printf("%s: %.2f%% complete after ", label,
usr.sbin/mfiutil/mfi_patrol.c
178
snprintf(label, sizeof(label), " Drive %s",
usr.sbin/mfiutil/mfi_patrol.c
182
mfi_display_progress(label,
usr.sbin/mfiutil/mfi_patrol.c
84
char label[24];
usr.sbin/mfiutil/mfiutil.h
142
void mfi_display_progress(const char *label, struct mfi_progress *prog);
usr.sbin/mptutil/mpt_show.c
56
display_stripe_map(const char *label, U32 StripeMap)
usr.sbin/mptutil/mpt_show.c
62
printf("%s: ", label);
usr.sbin/pciconf/pciconf.c
794
print_bar(int fd, struct pci_conf *p, const char *label, uint16_t bar_offset)
usr.sbin/pciconf/pciconf.c
830
label, bar_offset, type, range, (uintmax_t)base);
usr.sbin/pciconf/pciconf.h
40
void print_bar(int fd, struct pci_conf *p, const char *label, uint16_t bar);
usr.sbin/ppp/bundle.c
1080
arg->bundle->cfg.label);
usr.sbin/ppp/bundle.c
1340
bundle_SetLabel(struct bundle *bundle, const char *label)
usr.sbin/ppp/bundle.c
1342
if (label)
usr.sbin/ppp/bundle.c
1343
strncpy(bundle->cfg.label, label, sizeof bundle->cfg.label - 1);
usr.sbin/ppp/bundle.c
1345
*bundle->cfg.label = '\0';
usr.sbin/ppp/bundle.c
1351
return *bundle->cfg.label ? bundle->cfg.label : NULL;
usr.sbin/ppp/bundle.c
839
*bundle.cfg.label = '\0';
usr.sbin/ppp/bundle.h
114
char label[50]; /* last thing `load'ed */
usr.sbin/ppp/command.c
1192
struct prompt *prompt, const char *label, struct datalink *cx)
usr.sbin/ppp/command.c
1200
if (label) {
usr.sbin/ppp/command.c
1201
strncpy(buf, label, sizeof buf - 3);
usr.sbin/ppp/command.c
1228
const char *label)
usr.sbin/ppp/command.c
1236
command_Run(bundle, argc, (char const *const *)argv, prompt, label, NULL);
usr.sbin/ppp/main.c
286
CheckLabel(const char *label, struct prompt *prompt, int mode)
usr.sbin/ppp/main.c
290
if ((err = system_IsValid(label, prompt, mode)) != NULL) {
usr.sbin/ppp/main.c
291
fprintf(stderr, "%s: %s\n", label, err);
usr.sbin/ppp/main.c
294
label, err);
usr.sbin/ppp/main.c
306
int arg, holdfd[3], label;
usr.sbin/ppp/main.c
333
label = ProcessArgs(argc, argv, &sw);
usr.sbin/ppp/main.c
375
if (label < argc)
usr.sbin/ppp/main.c
376
for (arg = label; arg < argc; arg++)
usr.sbin/ppp/main.c
411
for (arg = label; arg < argc; arg++) {
usr.sbin/ppp/main.c
417
if (label < argc)
usr.sbin/ppp/mp.c
985
strcpy(mp->cfg.enddisc.address, arg->bundle->cfg.label);
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
340
char *c, *label;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
354
label = on->labels;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
357
label += strlen(label) + 1;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
362
len = on->labels + sizeof(on->labels) - label;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
363
if (sysctl(lookup, 2 + i + 1, label, &len, 0, 0) == 0) {
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
364
label += len;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
366
*label++ = '\0';
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
379
const char *name, *label;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
386
label = on->labels;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
388
if (*label == '\0') {
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
399
label += strlen(label) + 1;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
408
label = on->labels;
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
411
if (*label != '\0') {
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
412
assert(label[strspn(label,
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
416
snprintf(buf, sizeof(buf), "%c%s=\"", separator, label);
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
429
label += strlen(label) + 1;
usr.sbin/setfmac/setfmac.c
284
add_setfmac_specs(struct label_specs *specs, char *label)
usr.sbin/setfmac/setfmac.c
296
spec->entries->mactext = label;
usr.sbin/setpmac/setpmac.c
61
mac_t label;
usr.sbin/setpmac/setpmac.c
68
error = mac_from_text(&label, argv[1]);
usr.sbin/setpmac/setpmac.c
74
error = mac_set_proc(label);
usr.sbin/setpmac/setpmac.c
80
mac_free(label);
usr.sbin/virtual_oss/virtual_oss/main.c
1136
oss_label_t label;
usr.sbin/virtual_oss/virtual_oss/main.c
1482
memset(&data.label, 0, sizeof(data.label));