/freebsd-13-stable/sys/security/mac/ |
H A D | mac_label.c | 52 * 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 99 struct label *label; local 110 struct label *label; local 125 mac_labelzone_free(struct label *label) argument [all...] |
H A D | mac_inet.c | 77 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 300 struct label *label; local 330 struct label *label; local 343 struct label *label; local 359 struct label *label; local 425 struct label *label; local 447 mac_syncache_destroy(struct label **label) argument 458 mac_syncache_init(struct label **label) argument 487 mac_syncache_create(struct label *label, struct inpcb *inp) argument [all...] |
H A D | mac_policy.h | 82 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 D | mac_net.c | 90 * Retrieve the label associated with an mbuf by searching for the tag. 91 * Depending on the value of mac_labelmbufs, it's possible that a label will 93 * possibility of an mbuf not having label storage if they do not enforce 96 struct label * 100 struct label *label; local 107 label = (struct label *)(tag+1); 108 return (label); 111 static struct label * 114 struct label *label; local 134 struct label *label; local 154 struct label *label; local 195 mac_bpfdesc_label_free(struct label *label) argument 213 mac_ifnet_label_free(struct label *label) argument 233 struct label *label; local 282 mac_ifnet_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument 293 mac_ifnet_internalize_label(struct label *label, char *string) argument 325 struct label *label; local 342 struct label *label; local 385 struct label *label; local [all...] |
H A D | mac_inet6.c | 63 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 D | mac_sysv_shm.c | 64 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 D | mac_sysv_sem.c | 64 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 D | mac_sysv_msg.c | 65 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-13-stable/lib/libc/posix1e/ |
H A D | mac_get.c | 48 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 D | mac_set.c | 46 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-13-stable/contrib/dialog/samples/ |
H A D | yesno-both | 8 --ok-label "Next" \ 9 --no-label "Cancel" \ 10 --extra-label "Previous" --extra-button \
|
H A D | yesno-extra | 8 --ok-label "Next" \ 9 --no-label "Cancel" \ 10 --extra-label "Previous" --extra-button "$@" \
|
H A D | radiolist4 | 8 $DIALOG --help-button --help-label "Hints" --item-help --ok-label Okay \ 9 --cancel-label 'Give Up' \
|
H A D | radiolist2 | 8 $DIALOG --ok-label Okay \ 9 --cancel-label 'Give Up' \
|
H A D | radiolist3 | 8 $DIALOG --item-help --ok-label Okay \ 9 --cancel-label 'Give Up' \
|
/freebsd-13-stable/usr.sbin/periodic/etc/security/ |
H A D | security.functions | 48 # 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-13-stable/sys/security/mac_bsdextended/ |
H A D | ugidfw_internal.h | 46 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-13-stable/usr.sbin/fstyp/ |
H A D | fstyp.h | 50 void rtrim(char *label, size_t size); 52 int fstyp_apfs(FILE *fp, char *label, size_t size); 53 int fstyp_cd9660(FILE *fp, char *label, size_t size); 54 int fstyp_exfat(FILE *fp, char *label, size_t size); 55 int fstyp_ext2fs(FILE *fp, char *label, size_t size); 56 int fstyp_geli(FILE *fp, char *label, size_t size); 57 int fstyp_hammer(FILE *fp, char *label, size_t size); 58 int fstyp_hammer2(FILE *fp, char *label, size_t size); 59 int fstyp_hfsp(FILE *fp, char *label, size_t size); 60 int fstyp_msdosfs(FILE *fp, char *label, size_ [all...] |
H A D | cd9660.c | 45 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-13-stable/sys/security/mac_stub/ |
H A D | mac_stub.c | 126 stub_init_label(struct label *label) argument 132 stub_init_label_waitcheck(struct label *label, int flag) argument 139 stub_destroy_label(struct label *label) argument 145 stub_copy_label(struct label *src, struct label *dest) 151 stub_externalize_label(struct label *label, cha argument 159 stub_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 1081 stub_syncache_create(struct label *label, struct inpcb *inp) argument 1635 stub_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument [all...] |
/freebsd-13-stable/crypto/openssl/crypto/ |
H A D | x86cpuid.pl | 36 &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-13-stable/sys/security/mac_test/ |
H A D | mac_test.c | 49 * magic numbers to each label and validates that each time an object label 133 #define LABEL_CHECK(label, magic) do { \ 134 if (label != NULL) { \ 135 KASSERT(SLOT(label) == magic || SLOT(label) == 0, \ 136 ("%s: bad %s label", __func__, #magic)); \ 140 #define LABEL_DESTROY(label, magic) do { \ 141 if (SLOT(label) == magic || SLOT(label) 200 test_bpfdesc_destroy_label(struct label *label) argument 209 test_bpfdesc_init_label(struct label *label) argument 406 test_cred_destroy_label(struct label *label) argument 415 test_cred_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 427 test_cred_init_label(struct label *label) argument 436 test_cred_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 493 test_devfs_destroy_label(struct label *label) argument 502 test_devfs_init_label(struct label *label) argument 592 test_ifnet_destroy_label(struct label *label) argument 601 test_ifnet_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 613 test_ifnet_init_label(struct label *label) argument 622 test_ifnet_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 696 test_inpcb_destroy_label(struct label *label) argument 705 test_inpcb_init_label(struct label *label, int flag) argument 744 test_ip6q_destroy_label(struct label *label) argument 753 test_ip6q_init_label(struct label *label, int flag) argument 814 test_ipq_destroy_label(struct label *label) argument 823 test_ipq_init_label(struct label *label, int flag) argument 917 test_kld_check_load(struct ucred *cred, struct vnode *vp, struct label *label) argument 951 test_mbuf_destroy_label(struct label *label) argument 968 test_mbuf_init_label(struct label *label, int flag) argument 1007 test_mount_destroy_label(struct label *label) argument 1016 test_mount_init_label(struct label *label) argument 1198 test_pipe_destroy_label(struct label *label) argument 1207 test_pipe_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 1219 test_pipe_init_label(struct label *label) argument 1228 test_pipe_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 1368 test_posixsem_destroy_label(struct label *label) argument 1377 test_posixsem_init_label(struct label *label) argument 1522 test_posixshm_destroy_label(struct label *label) argument 1531 test_posixshm_init_label(struct label *label) argument 1588 test_proc_destroy_label(struct label *label) argument 1597 test_proc_init_label(struct label *label) argument 1806 test_socket_destroy_label(struct label *label) argument 1815 test_socket_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 1827 test_socket_init_label(struct label *label, int flag) argument 1842 test_socket_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 1883 test_socketpeer_destroy_label(struct label *label) argument 1892 test_socketpeer_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 1904 test_socketpeer_init_label(struct label *label, int flag) argument 1948 test_syncache_create(struct label *label, struct inpcb *inp) argument 1968 test_syncache_destroy_label(struct label *label) argument 1977 test_syncache_init_label(struct label *label, int flag) argument 2108 test_sysvmsg_destroy_label(struct label *label) argument 2117 test_sysvmsg_init_label(struct label *label) argument 2237 test_sysvmsq_destroy_label(struct label *label) argument 2246 test_sysvmsq_init_label(struct label *label) argument 2312 test_sysvsem_destroy_label(struct label *label) argument 2321 test_sysvsem_init_label(struct label *label) argument 2400 test_sysvshm_destroy_label(struct label *label) argument 2409 test_sysvshm_init_label(struct label *label) argument 2896 test_vnode_destroy_label(struct label *label) argument 2937 test_vnode_externalize_label(struct label *label, char *element_name, struct sbuf *sb, int *claimed) argument 2949 test_vnode_init_label(struct label *label) argument 2958 test_vnode_internalize_label(struct label *label, char *element_name, char *element_data, int *claimed) argument 2970 test_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument [all...] |
/freebsd-13-stable/lib/geom/label/ |
H A D | Makefile | 6 GEOM_CLASS= label
|
/freebsd-13-stable/sys/geom/vinum/ |
H A D | geom_vinum_drive.c | 60 * 12 (32) 16 (32) 16 (32) label.sysname 61 * 44 (32) 48 (32) 48 (32) label.name 62 * 76 ( 4) 80 ( 8) 80 ( 8) label.date_of_birth.tv_sec 63 * 80 ( 4) 88 ( 8) 88 ( 8) label.date_of_birth.tv_usec 64 * 84 ( 4) 96 ( 8) 96 ( 8) label.last_update.tv_sec 65 * 88 ( 4) 104 ( 8) 104 ( 8) label.last_update.tv_usec 66 * 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...] |
/freebsd-13-stable/sys/dev/sym/ |
H A D | sym_fw.h | 104 #define SYM_GEN_A(s, label) s label; 105 #define SYM_GEN_B(s, label) s label; 169 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) 170 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) 171 #define SCRIPTB0_BA(np,label) \ 172 (np->scriptb0_ba + (np->fwb_bas.label [all...] |