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

1234567891011>>

/freebsd-10-stable/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-stable/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-stable/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-stable/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 "$@" \
/freebsd-10-stable/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-stable/sys/gnu/dts/arm/
H A Dusb_a9g20-dab-mmx.dtsi30 label = "user_led1";
37 * label = "user_led2";
42 label = "user_led3";
47 label = "user_led4";
52 label = "red";
57 label = "orange";
62 label = "green";
73 label = "user_pb1";
79 label = "user_pb2";
85 label
[all...]
H A Dat91sam9g20ek.dts19 label = "ds1";
25 label = "ds5";
H A Dbcm4708-netgear-r6300-v2.dts30 label = "bcm53xx:white:logo";
36 label = "bcm53xx:green:power";
42 label = "bcm53xx:amber:power";
48 label = "bcm53xx:blue:usb";
54 label = "bcm53xx:blue:wireless";
66 label = "WPS";
72 label = "WiFi";
78 label = "Reset";
H A Dbcm47081-asus-rt-n18u.dts30 label = "bcm53xx:blue:power";
36 label = "bcm53xx:blue:usb2";
42 label = "bcm53xx:blue:wan";
48 label = "bcm53xx:blue:lan";
54 label = "bcm53xx:blue:usb3";
66 label = "Reset";
72 label = "WPS";
H A Dimx28-apf28.dts31 label = "u-boot";
36 label = "env";
41 label = "env2";
46 label = "dtb";
51 label = "splash";
56 label = "kernel";
61 label = "rootfs";
/freebsd-10-stable/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-stable/etc/periodic/security/
H A Dsecurity.functions48 # LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files.
59 label="$1"; shift
68 if [ ! -f ${LOG}/${label}.today ]; then
71 echo "No ${LOG}/${label}.today"
72 cp ${tmpf} ${LOG}/${label}.today || rc=3
75 if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then
79 diff ${security_status_diff_flags} ${LOG}/${label}.today \
81 mv ${LOG}/${label}.today ${LOG}/${label}.yesterday || rc=3
82 mv ${tmpf} ${LOG}/${label}
[all...]
/freebsd-10-stable/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-stable/usr.sbin/fstyp/
H A Dfstyp.h39 void rtrim(char *label, size_t size);
41 int fstyp_cd9660(FILE *fp, char *label, size_t size);
42 int fstyp_ext2fs(FILE *fp, char *label, size_t size);
43 int fstyp_geli(FILE *fp, char *label, size_t size);
44 int fstyp_msdosfs(FILE *fp, char *label, size_t size);
45 int fstyp_ntfs(FILE *fp, char *label, size_t size);
46 int fstyp_ufs(FILE *fp, char *label, size_t size);
48 int fstyp_zfs(FILE *fp, char *label, size_t size);
/freebsd-10-stable/sbin/geom/class/label/
H A DMakefile5 GEOM_CLASS= label
/freebsd-10-stable/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...]

Completed in 151 milliseconds

1234567891011>>