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

1234567891011>>

/freebsd-12-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.c77 static struct label *
80 struct label *label; local
83 label = mac_labelzone_alloc(flag);
84 if (label == NULL)
87 MAC_POLICY_CHECK(inpcb_init_label, label, flag);
89 MAC_POLICY_CHECK_NOSLEEP(inpcb_init_label, label, flag);
91 MAC_POLICY_PERFORM_NOSLEEP(inpcb_destroy_label, label);
92 mac_labelzone_free(label);
95 return (label);
114 struct label *label; local
147 mac_inpcb_label_free(struct label *label) argument
165 mac_ipq_label_free(struct label *label) argument
193 struct label *label; local
222 struct label *label; local
251 struct label *label; local
299 struct label *label; local
328 struct label *label; local
341 struct label *label; local
357 struct label *label; local
423 struct label *label; local
445 mac_syncache_destroy(struct label **label) argument
456 mac_syncache_init(struct label **label) argument
485 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.c85 * Retrieve the label associated with an mbuf by searching for the tag.
86 * Depending on the value of mac_labelmbufs, it's possible that a label will
88 * possibility of an mbuf not having label storage if they do not enforce
91 struct label *
95 struct label *label; local
102 label = (struct label *)(tag+1);
103 return (label);
106 static struct label *
109 struct label *label; local
129 struct label *label; local
149 struct label *label; local
190 mac_bpfdesc_label_free(struct label *label) argument
208 mac_ifnet_label_free(struct label *label) argument
228 struct label *label; local
277 mac_ifnet_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
288 mac_ifnet_internalize_label(struct label *label, char *string) argument
319 struct label *label; local
336 struct label *label; local
378 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.c64 static struct label *
67 struct label *label; local
69 label = mac_labelzone_alloc(M_WAITOK);
70 MAC_POLICY_PERFORM(sysvshm_init_label, label);
71 return (label);
79 shmsegptr->label = mac_sysv_shm_label_alloc();
81 shmsegptr->label = NULL;
85 mac_sysv_shm_label_free(struct label *label) argument
[all...]
H A Dmac_sysv_sem.c64 static struct label *
67 struct label *label; local
69 label = mac_labelzone_alloc(M_WAITOK);
70 MAC_POLICY_PERFORM(sysvsem_init_label, label);
71 return (label);
79 semakptr->label = mac_sysv_sem_label_alloc();
81 semakptr->label = NULL;
85 mac_sysv_sem_label_free(struct label *label) argument
[all...]
H A Dmac_sysv_msg.c65 static struct label *
68 struct label *label; local
70 label = mac_labelzone_alloc(M_WAITOK);
71 MAC_POLICY_PERFORM(sysvmsg_init_label, label);
72 return (label);
80 msgptr->label = mac_sysv_msgmsg_label_alloc();
82 msgptr->label = NULL;
85 static struct label *
88 struct label *labe local
106 mac_sysv_msgmsg_label_free(struct label *label) argument
124 mac_sysv_msgqueue_label_free(struct label *label) argument
[all...]
/freebsd-12-stable/lib/libc/posix1e/
H A Dmac_get.c48 mac_get_fd(int fd, struct mac *label) argument
51 return (__mac_get_fd(fd, label));
55 mac_get_file(const char *path, struct mac *label) argument
58 return (__mac_get_file(path, label));
62 mac_get_link(const char *path, struct mac *label) argument
65 return (__mac_get_link(path, label));
69 mac_get_peer(int fd, struct mac *label) argument
73 len = sizeof(*label);
74 return (getsockopt(fd, SOL_SOCKET, SO_PEERLABEL, label, &len));
78 mac_get_pid(pid_t pid, struct mac *label) argument
85 mac_get_proc(struct mac *label) argument
[all...]
H A Dmac_set.c46 mac_set_fd(int fd, struct mac *label) argument
49 return (__mac_set_fd(fd, label));
53 mac_set_file(const char *path, struct mac *label) argument
56 return (__mac_set_file(path, label));
60 mac_set_link(const char *path, struct mac *label) argument
63 return (__mac_set_link(path, label));
67 mac_set_proc(struct mac *label) argument
70 return (__mac_set_proc(label));
/freebsd-12-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 "$@" \
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' \
H A Dradiolist38 $DIALOG --item-help --ok-label Okay \
9 --cancel-label 'Give Up' \
/freebsd-12-stable/sys/dev/ncr/
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-12-stable/usr.sbin/fstyp/
H A Dfstyp.h46 void rtrim(char *label, size_t size);
48 int fstyp_cd9660(FILE *fp, char *label, size_t size);
49 int fstyp_exfat(FILE *fp, char *label, size_t size);
50 int fstyp_ext2fs(FILE *fp, char *label, size_t size);
51 int fstyp_geli(FILE *fp, char *label, size_t size);
52 int fstyp_msdosfs(FILE *fp, char *label, size_t size);
53 int fstyp_ntfs(FILE *fp, char *label, size_t size);
54 int fstyp_ufs(FILE *fp, char *label, size_t size);
56 int fstyp_zfs(FILE *fp, char *label, size_t size);
H A Dcd9660.c45 fstyp_cd9660(FILE *fp, char *label, size_t size) argument
57 bzero(label, size);
58 strlcpy(label, volume, MIN(size, VOLUME_LEN));
60 rtrim(label, size);
/freebsd-12-stable/usr.sbin/periodic/etc/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-12-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-12-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
1080 stub_syncache_create(struct label *label, struct inpcb *inp) argument
1641 stub_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
[all...]
/freebsd-12-stable/crypto/openssl/crypto/
H A Dx86cpuid.pl36 &jnc (&label("nocpuid"));
50 &jz (&label("intel"));
61 &jnz (&label("intel"));
67 &jb (&label("intel"));
74 &jb (&label("intel"));
85 &jnc (&label("generic"));
89 &ja (&label("generic"));
91 &jmp (&label("generic"));
96 &jb (&label("nocacheinfo"));
111 &jne (&label("notinte
[all...]
/freebsd-12-stable/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
1196 test_pipe_destroy_label(struct label *label) argument
1205 test_pipe_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1217 test_pipe_init_label(struct label *label) argument
1226 test_pipe_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
1366 test_posixsem_destroy_label(struct label *label) argument
1375 test_posixsem_init_label(struct label *label) argument
1520 test_posixshm_destroy_label(struct label *label) argument
1529 test_posixshm_init_label(struct label *label) argument
1586 test_proc_destroy_label(struct label *label) argument
1595 test_proc_init_label(struct label *label) argument
1804 test_socket_destroy_label(struct label *label) argument
1813 test_socket_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1825 test_socket_init_label(struct label *label, int flag) argument
1840 test_socket_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
1881 test_socketpeer_destroy_label(struct label *label) argument
1890 test_socketpeer_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
1902 test_socketpeer_init_label(struct label *label, int flag) argument
1946 test_syncache_create(struct label *label, struct inpcb *inp) argument
1966 test_syncache_destroy_label(struct label *label) argument
1975 test_syncache_init_label(struct label *label, int flag) argument
2106 test_sysvmsg_destroy_label(struct label *label) argument
2115 test_sysvmsg_init_label(struct label *label) argument
2235 test_sysvmsq_destroy_label(struct label *label) argument
2244 test_sysvmsq_init_label(struct label *label) argument
2310 test_sysvsem_destroy_label(struct label *label) argument
2319 test_sysvsem_init_label(struct label *label) argument
2398 test_sysvshm_destroy_label(struct label *label) argument
2407 test_sysvshm_init_label(struct label *label) argument
2894 test_vnode_destroy_label(struct label *label) argument
2935 test_vnode_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument
2947 test_vnode_init_label(struct label *label) argument
2956 test_vnode_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument
2968 test_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
[all...]
/freebsd-12-stable/lib/geom/label/
H A DMakefile6 GEOM_CLASS= label
/freebsd-12-stable/sys/geom/vinum/
H A Dgeom_vinum_drive.c59 * 12 (32) 16 (32) 16 (32) label.sysname
60 * 44 (32) 48 (32) 48 (32) label.name
61 * 76 ( 4) 80 ( 8) 80 ( 8) label.date_of_birth.tv_sec
62 * 80 ( 4) 88 ( 8) 88 ( 8) label.date_of_birth.tv_usec
63 * 84 ( 4) 96 ( 8) 96 ( 8) label.last_update.tv_sec
64 * 88 ( 4) 104 ( 8) 104 ( 8) label.last_update.tv_usec
65 * 92 ( 8) 112 ( 8) 112 ( 8) label.drive_size
152 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN);
154 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME);
156 m_hdr->label
[all...]

Completed in 460 milliseconds

1234567891011>>