Searched refs:label (Results 1 - 25 of 576) sorted by relevance

1234567891011>>

/freebsd-10.1-release/sys/security/mac/
H A Dmac_label.c52 * slot on first use, even if the policy is loaded after the label is
64 zone_label = uma_zcreate("MAC labels", sizeof(struct label),
75 mac_init_label(struct label *label) argument
78 bzero(label, sizeof(*label));
79 label->l_flags = MAC_FLAG_INITIALIZED;
83 mac_destroy_label(struct label *label) argument
86 KASSERT(label
100 struct label *label; local
111 struct label *label; local
126 mac_labelzone_free(struct label *label) argument
[all...]
H A Dmac_inet.c78 static struct label *
81 struct label *label; local
84 label = mac_labelzone_alloc(flag);
85 if (label == NULL)
88 MAC_POLICY_CHECK(inpcb_init_label, label, flag);
90 MAC_POLICY_CHECK_NOSLEEP(inpcb_init_label, label, flag);
92 MAC_POLICY_PERFORM_NOSLEEP(inpcb_destroy_label, label);
93 mac_labelzone_free(label);
96 return (label);
115 struct label *label; local
148 mac_inpcb_label_free(struct label *label) argument
166 mac_ipq_label_free(struct label *label) argument
194 struct label *label; local
223 struct label *label; local
252 struct label *label; local
300 struct label *label; local
329 struct label *label; local
342 struct label *label; local
358 struct label *label; local
424 struct label *label; local
446 mac_syncache_destroy(struct label **label) argument
457 mac_syncache_init(struct label **label) argument
486 mac_syncache_create(struct label *label, struct inpcb *inp) argument
[all...]
H A Dmac_policy.h82 struct label;
124 struct label *dlabel, struct ifnet *ifp,
125 struct label *ifplabel);
127 struct bpf_d *d, struct label *dlabel);
129 struct label *dlabel, struct mbuf *m,
130 struct label *mlabel);
131 typedef void (*mpo_bpfdesc_destroy_label_t)(struct label *label);
132 typedef void (*mpo_bpfdesc_init_label_t)(struct label *label);
[all...]
H A Dmac_net.c86 * Retrieve the label associated with an mbuf by searching for the tag.
87 * Depending on the value of mac_labelmbufs, it's possible that a label will
89 * possibility of an mbuf not having label storage if they do not enforce
92 struct label *
96 struct label *label; local
103 label = (struct label *)(tag+1);
104 return (label);
107 static struct label *
110 struct label *label; local
130 struct label *label; local
150 struct label *label; local
191 mac_bpfdesc_label_free(struct label *label) argument
209 mac_ifnet_label_free(struct label *label) argument
229 struct label *label; local
278 mac_ifnet_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
289 mac_ifnet_internalize_label(struct label *label, char *string) argument
320 struct label *label; local
337 struct label *label; local
379 struct label *label; local
[all...]
H A Dmac_inet6.c63 static struct label *
66 struct label *label; local
69 label = mac_labelzone_alloc(flag);
70 if (label == NULL)
74 MAC_POLICY_CHECK(ip6q_init_label, label, flag);
76 MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag);
78 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label);
79 mac_labelzone_free(label);
82 return (label);
99 mac_ip6q_label_free(struct label *label) argument
119 struct label *label; local
133 struct label *label; local
147 struct label *label; local
165 struct label *label; local
[all...]
H A Dmac_sysv_shm.c65 static struct label *
68 struct label *label; local
70 label = mac_labelzone_alloc(M_WAITOK);
71 MAC_POLICY_PERFORM(sysvshm_init_label, label);
72 return (label);
80 shmsegptr->label = mac_sysv_shm_label_alloc();
82 shmsegptr->label = NULL;
86 mac_sysv_shm_label_free(struct label *label) argument
[all...]
H A Dmac_sysv_sem.c65 static struct label *
68 struct label *label; local
70 label = mac_labelzone_alloc(M_WAITOK);
71 MAC_POLICY_PERFORM(sysvsem_init_label, label);
72 return (label);
80 semakptr->label = mac_sysv_sem_label_alloc();
82 semakptr->label = NULL;
86 mac_sysv_sem_label_free(struct label *label) argument
[all...]
H A Dmac_sysv_msg.c66 static struct label *
69 struct label *label; local
71 label = mac_labelzone_alloc(M_WAITOK);
72 MAC_POLICY_PERFORM(sysvmsg_init_label, label);
73 return (label);
81 msgptr->label = mac_sysv_msgmsg_label_alloc();
83 msgptr->label = NULL;
86 static struct label *
89 struct label *labe local
107 mac_sysv_msgmsg_label_free(struct label *label) argument
125 mac_sysv_msgqueue_label_free(struct label *label) argument
[all...]
/freebsd-10.1-release/contrib/groff/contrib/gdiffmk/
H A Dgdiffmk.sh267 # To make a very unlikely label even more unlikely ...
268 label=__diffmk_$$__
271 /^#ifdef '"${label}"'/,/^#endif \/\* '"${label}"'/ {
272 /^#ifdef '"${label}"'/ s/.*/.mc '"${ADDMARK}"'/
273 /^#endif \/\* '"${label}"'/ s/.*/.mc/
277 /^#ifndef '"${label}"'/,/^#endif \/\* [!not ]*'"${label}"'/ {
278 /^#else \/\* '"${label}"'/,/^#endif \/\* '"${label}"'/ {
[all...]
/freebsd-10.1-release/lib/libc/posix1e/
H A Dmac_get.c46 mac_get_fd(int fd, struct mac *label) argument
49 return (__mac_get_fd(fd, label));
53 mac_get_file(const char *path, struct mac *label) argument
56 return (__mac_get_file(path, label));
60 mac_get_link(const char *path, struct mac *label) argument
63 return (__mac_get_link(path, label));
67 mac_get_peer(int fd, struct mac *label) argument
71 len = sizeof(*label);
72 return (getsockopt(fd, SOL_SOCKET, SO_PEERLABEL, label, &len));
76 mac_get_pid(pid_t pid, struct mac *label) argument
83 mac_get_proc(struct mac *label) argument
[all...]
H A Dmac_set.c44 mac_set_fd(int fd, struct mac *label) argument
47 return (__mac_set_fd(fd, label));
51 mac_set_file(const char *path, struct mac *label) argument
54 return (__mac_set_file(path, label));
58 mac_set_link(const char *path, struct mac *label) argument
61 return (__mac_set_link(path, label));
65 mac_set_proc(struct mac *label) argument
68 return (__mac_set_proc(label));
/freebsd-10.1-release/contrib/dialog/samples/
H A Dyesno-both8 --ok-label "Next" \
9 --no-label "Cancel" \
10 --extra-label "Previous" --extra-button \
H A Dyesno-extra8 --ok-label "Next" \
9 --no-label "Cancel" \
10 --extra-label "Previous" --extra-button "$@" \
H A Dradiolist48 $DIALOG --help-button --help-label "Hints" --item-help --ok-label Okay \
9 --cancel-label 'Give Up' \
H A Dradiolist28 $DIALOG --ok-label Okay \
9 --cancel-label 'Give Up' \
/freebsd-10.1-release/sys/pci/
H A Dlocate.pl9 Perl script to convert NCR script address into label+offset.
30 my ($label, $size) = /ncrcmd\s+(\S+)\s+\[([^]]+)/;
32 if (defined($label) && $label) {
35 printf ("%4x: %s\n", $ofs * 4, $label);
36 printf ("%4x: %s + %d\n", $errpos * 4, $label, $errpos - $ofs);
41 printf ("%4x: %s\n", $ofs * 4, $label);
/freebsd-10.1-release/crypto/openssl/crypto/
H A Dx86cpuid.pl24 &jnc (&label("nocpuid"));
38 &jz (&label("intel"));
49 &jnz (&label("intel"));
55 &jb (&label("intel"));
62 &jb (&label("intel"));
73 &jnc (&label("generic"));
77 &ja (&label("generic"));
79 &jmp (&label("generic"));
84 &jb (&label("nocacheinfo"));
99 &jne (&label("notinte
[all...]
/freebsd-10.1-release/etc/periodic/security/
H A Dsecurity.functions48 # LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files.
58 label="$1"; shift
67 if [ ! -f ${LOG}/${label}.today ]; then
70 echo "No ${LOG}/${label}.today"
71 cp ${tmpf} ${LOG}/${label}.today || rc=3
74 if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then
78 diff ${security_status_diff_flags} ${LOG}/${label}.today \
80 mv ${LOG}/${label}.today ${LOG}/${label}.yesterday || rc=3
81 mv ${tmpf} ${LOG}/${label}
[all...]
/freebsd-10.1-release/sys/security/mac_bsdextended/
H A Dugidfw_internal.h46 struct label *vplabel);
48 struct label *vplabel);
50 struct label *vplabel);
56 struct label *vplabel, accmode_t accmode);
58 struct label *dvplabel);
60 struct label *dvplabel);
62 struct label *dvplabel, struct componentname *cnp,
65 struct label *vplabel, acl_type_t type);
67 struct vnode *vp, struct label *vplabel, int attrnamespace,
70 struct label *vplabe
[all...]
/freebsd-10.1-release/sbin/geom/class/label/
H A DMakefile5 GEOM_CLASS= label
/freebsd-10.1-release/sys/contrib/dts/arm/
H A Dat91sam9g20ek.dts19 label = "ds1";
25 label = "ds5";
H A Dtny_a9260_common.dtsi43 label = "at91bootstrap";
48 label = "barebox";
53 label = "bareboxenv";
58 label = "bareboxenv2";
63 label = "oftree";
68 label = "kernel";
73 label = "rootfs";
78 label = "data";
/freebsd-10.1-release/sys/security/mac_stub/
H A Dmac_stub.c125 stub_init_label(struct label *label) argument
131 stub_init_label_waitcheck(struct label *label, int flag) argument
138 stub_destroy_label(struct label *label) argument
144 stub_copy_label(struct label *src, struct label *dest)
150 stub_externalize_label(struct label *label, cha argument
158 stub_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
1087 stub_syncache_create(struct label *label, struct inpcb *inp) argument
1648 stub_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
[all...]
/freebsd-10.1-release/sys/security/mac_test/
H A Dmac_test.c49 * magic numbers to each label and validates that each time an object label
131 #define LABEL_CHECK(label, magic) do { \
132 if (label != NULL) { \
133 KASSERT(SLOT(label) == magic || SLOT(label) == 0, \
134 ("%s: bad %s label", __func__, #magic)); \
138 #define LABEL_DESTROY(label, magic) do { \
139 if (SLOT(label) == magic || SLOT(label)
198 test_bpfdesc_destroy_label(struct label *label) argument
207 test_bpfdesc_init_label(struct label *label) argument
404 test_cred_destroy_label(struct label *label) argument
413 test_cred_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
425 test_cred_init_label(struct label *label) argument
434 test_cred_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
491 test_devfs_destroy_label(struct label *label) argument
500 test_devfs_init_label(struct label *label) argument
590 test_ifnet_destroy_label(struct label *label) argument
599 test_ifnet_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
611 test_ifnet_init_label(struct label *label) argument
620 test_ifnet_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
694 test_inpcb_destroy_label(struct label *label) argument
703 test_inpcb_init_label(struct label *label, int flag) argument
742 test_ip6q_destroy_label(struct label *label) argument
751 test_ip6q_init_label(struct label *label, int flag) argument
812 test_ipq_destroy_label(struct label *label) argument
821 test_ipq_init_label(struct label *label, int flag) argument
915 test_kld_check_load(struct ucred *cred, struct vnode *vp, struct label *label) argument
949 test_mbuf_destroy_label(struct label *label) argument
966 test_mbuf_init_label(struct label *label, int flag) argument
1005 test_mount_destroy_label(struct label *label) argument
1014 test_mount_init_label(struct label *label) argument
1207 test_pipe_destroy_label(struct label *label) argument
1216 test_pipe_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1228 test_pipe_init_label(struct label *label) argument
1237 test_pipe_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
1377 test_posixsem_destroy_label(struct label *label) argument
1386 test_posixsem_init_label(struct label *label) argument
1531 test_posixshm_destroy_label(struct label *label) argument
1540 test_posixshm_init_label(struct label *label) argument
1597 test_proc_destroy_label(struct label *label) argument
1606 test_proc_init_label(struct label *label) argument
1815 test_socket_destroy_label(struct label *label) argument
1824 test_socket_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1836 test_socket_init_label(struct label *label, int flag) argument
1851 test_socket_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
1892 test_socketpeer_destroy_label(struct label *label) argument
1901 test_socketpeer_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1913 test_socketpeer_init_label(struct label *label, int flag) argument
1957 test_syncache_create(struct label *label, struct inpcb *inp) argument
1977 test_syncache_destroy_label(struct label *label) argument
1986 test_syncache_init_label(struct label *label, int flag) argument
2117 test_sysvmsg_destroy_label(struct label *label) argument
2126 test_sysvmsg_init_label(struct label *label) argument
2246 test_sysvmsq_destroy_label(struct label *label) argument
2255 test_sysvmsq_init_label(struct label *label) argument
2321 test_sysvsem_destroy_label(struct label *label) argument
2330 test_sysvsem_init_label(struct label *label) argument
2409 test_sysvshm_destroy_label(struct label *label) argument
2418 test_sysvshm_init_label(struct label *label) argument
2905 test_vnode_destroy_label(struct label *label) argument
2946 test_vnode_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
2958 test_vnode_init_label(struct label *label) argument
2967 test_vnode_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
2979 test_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
[all...]
/freebsd-10.1-release/crypto/openssl/ssl/
H A Dkssl_lcl.h72 void print_krb5_data(char *label, krb5_data *kdata);
73 void print_krb5_authdata(char *label, krb5_authdata **adata);
74 void print_krb5_keyblock(char *label, krb5_keyblock *keyblk);

Completed in 120 milliseconds

1234567891011>>