| /freebsd-12-stable/sys/security/mac/ |
| 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); 136 struct label *newlabel); 158 typedef void (*mpo_cred_copy_label_t)(struct label *src, [all …]
|
| D | mac_inet.c | 77 static struct label * 80 struct label *label; in mac_inpcb_label_alloc() local 83 label = mac_labelzone_alloc(flag); in mac_inpcb_label_alloc() 84 if (label == NULL) in mac_inpcb_label_alloc() 87 MAC_POLICY_CHECK(inpcb_init_label, label, flag); in mac_inpcb_label_alloc() 89 MAC_POLICY_CHECK_NOSLEEP(inpcb_init_label, label, flag); in mac_inpcb_label_alloc() 91 MAC_POLICY_PERFORM_NOSLEEP(inpcb_destroy_label, label); in mac_inpcb_label_alloc() 92 mac_labelzone_free(label); in mac_inpcb_label_alloc() 95 return (label); in mac_inpcb_label_alloc() 111 static struct label * [all …]
|
| D | mac_net.c | 91 struct label * 95 struct label *label; in mac_mbuf_to_label() local 102 label = (struct label *)(tag+1); in mac_mbuf_to_label() 103 return (label); in mac_mbuf_to_label() 106 static struct label * 109 struct label *label; in mac_bpfdesc_label_alloc() local 111 label = mac_labelzone_alloc(M_WAITOK); in mac_bpfdesc_label_alloc() 112 MAC_POLICY_PERFORM(bpfdesc_init_label, label); in mac_bpfdesc_label_alloc() 113 return (label); in mac_bpfdesc_label_alloc() 126 static struct label * [all …]
|
| D | mac_sysv_msg.c | 65 static struct label * 68 struct label *label; in mac_sysv_msgmsg_label_alloc() local 70 label = mac_labelzone_alloc(M_WAITOK); in mac_sysv_msgmsg_label_alloc() 71 MAC_POLICY_PERFORM(sysvmsg_init_label, label); in mac_sysv_msgmsg_label_alloc() 72 return (label); in mac_sysv_msgmsg_label_alloc() 80 msgptr->label = mac_sysv_msgmsg_label_alloc(); in mac_sysvmsg_init() 82 msgptr->label = NULL; in mac_sysvmsg_init() 85 static struct label * 88 struct label *label; in mac_sysv_msgqueue_label_alloc() local 90 label = mac_labelzone_alloc(M_WAITOK); in mac_sysv_msgqueue_label_alloc() [all …]
|
| D | mac_label.c | 64 zone_label = uma_zcreate("MAC labels", sizeof(struct label), in mac_labelzone_init() 75 mac_init_label(struct label *label) in mac_init_label() argument 78 bzero(label, sizeof(*label)); in mac_init_label() 79 label->l_flags = MAC_FLAG_INITIALIZED; in mac_init_label() 83 mac_destroy_label(struct label *label) in mac_destroy_label() argument 86 KASSERT(label->l_flags & MAC_FLAG_INITIALIZED, in mac_destroy_label() 90 bzero(label, sizeof(*label)); in mac_destroy_label() 92 label->l_flags &= ~MAC_FLAG_INITIALIZED; in mac_destroy_label() 100 struct label *label; in mac_labelzone_ctor() local 102 KASSERT(size == sizeof(*label), ("mac_labelzone_ctor: wrong size\n")); in mac_labelzone_ctor() [all …]
|
| D | mac_inet6.c | 63 static struct label * 66 struct label *label; in mac_ip6q_label_alloc() local 69 label = mac_labelzone_alloc(flag); in mac_ip6q_label_alloc() 70 if (label == NULL) in mac_ip6q_label_alloc() 74 MAC_POLICY_CHECK(ip6q_init_label, label, flag); in mac_ip6q_label_alloc() 76 MAC_POLICY_CHECK_NOSLEEP(ip6q_init_label, label, flag); in mac_ip6q_label_alloc() 78 MAC_POLICY_PERFORM_NOSLEEP(ip6q_destroy_label, label); in mac_ip6q_label_alloc() 79 mac_labelzone_free(label); in mac_ip6q_label_alloc() 82 return (label); in mac_ip6q_label_alloc() 99 mac_ip6q_label_free(struct label *label) in mac_ip6q_label_free() argument [all …]
|
| D | mac_socket.c | 102 struct label * 105 struct label *label; in mac_socket_label_alloc() local 108 label = mac_labelzone_alloc(flag); in mac_socket_label_alloc() 109 if (label == NULL) in mac_socket_label_alloc() 113 MAC_POLICY_CHECK(socket_init_label, label, flag); in mac_socket_label_alloc() 115 MAC_POLICY_CHECK_NOSLEEP(socket_init_label, label, flag); in mac_socket_label_alloc() 117 MAC_POLICY_PERFORM_NOSLEEP(socket_destroy_label, label); in mac_socket_label_alloc() 118 mac_labelzone_free(label); in mac_socket_label_alloc() 121 return (label); in mac_socket_label_alloc() 124 static struct label * [all …]
|
| D | mac_sysv_sem.c | 64 static struct label * 67 struct label *label; in mac_sysv_sem_label_alloc() local 69 label = mac_labelzone_alloc(M_WAITOK); in mac_sysv_sem_label_alloc() 70 MAC_POLICY_PERFORM(sysvsem_init_label, label); in mac_sysv_sem_label_alloc() 71 return (label); in mac_sysv_sem_label_alloc() 79 semakptr->label = mac_sysv_sem_label_alloc(); in mac_sysvsem_init() 81 semakptr->label = NULL; in mac_sysvsem_init() 85 mac_sysv_sem_label_free(struct label *label) in mac_sysv_sem_label_free() argument 88 MAC_POLICY_PERFORM_NOSLEEP(sysvsem_destroy_label, label); in mac_sysv_sem_label_free() 89 mac_labelzone_free(label); in mac_sysv_sem_label_free() [all …]
|
| D | mac_internal.h | 154 struct label { struct 206 struct label *mac_labelzone_alloc(int flags); 207 void mac_labelzone_free(struct label *label); 210 void mac_init_label(struct label *label); 211 void mac_destroy_label(struct label *label); 222 struct label *mac_cred_label_alloc(void); 223 void mac_cred_label_free(struct label *label); 224 struct label *mac_pipe_label_alloc(void); 225 void mac_pipe_label_free(struct label *label); 226 struct label *mac_socket_label_alloc(int flag); [all …]
|
| D | mac_sysv_shm.c | 64 static struct label * 67 struct label *label; in mac_sysv_shm_label_alloc() local 69 label = mac_labelzone_alloc(M_WAITOK); in mac_sysv_shm_label_alloc() 70 MAC_POLICY_PERFORM(sysvshm_init_label, label); in mac_sysv_shm_label_alloc() 71 return (label); in mac_sysv_shm_label_alloc() 79 shmsegptr->label = mac_sysv_shm_label_alloc(); in mac_sysvshm_init() 81 shmsegptr->label = NULL; in mac_sysvshm_init() 85 mac_sysv_shm_label_free(struct label *label) in mac_sysv_shm_label_free() argument 88 MAC_POLICY_PERFORM_NOSLEEP(sysvshm_destroy_label, label); in mac_sysv_shm_label_free() 89 mac_labelzone_free(label); in mac_sysv_shm_label_free() [all …]
|
| D | mac_pipe.c | 62 struct label * 65 struct label *label; in mac_pipe_label_alloc() local 67 label = mac_labelzone_alloc(M_WAITOK); in mac_pipe_label_alloc() 68 MAC_POLICY_PERFORM(pipe_init_label, label); in mac_pipe_label_alloc() 69 return (label); in mac_pipe_label_alloc() 83 mac_pipe_label_free(struct label *label) in mac_pipe_label_free() argument 86 MAC_POLICY_PERFORM_NOSLEEP(pipe_destroy_label, label); in mac_pipe_label_free() 87 mac_labelzone_free(label); in mac_pipe_label_free() 101 mac_pipe_copy_label(struct label *src, struct label *dest) in mac_pipe_copy_label() 108 mac_pipe_externalize_label(struct label *label, char *elements, in mac_pipe_externalize_label() argument [all …]
|
| /freebsd-12-stable/contrib/byacc/test/yacc/ |
| D | grammar.dot | 12 …q0 [label="0:\l $accept -> . program $end\l program -> . { $end }\l program -> . translation_un… 13 …q1 [label="1:\l external_declaration -> error . T_MATCHRBRACE\l external_declaration -> error . … 14 …q2 [label="2:\l any_id -> . T_IDENTIFIER\l any_id -> . T_TYPEDEF_NAME\l declarator -> . pointer… 15 …q3 [label="3:\l type_qualifier -> . T_TYPE_QUALIFIER\l type_qualifier -> . T_DEFINE_NAME\l poin… 16 …q4 [label="4:\l any_id -> . T_IDENTIFIER\l any_id -> . T_TYPEDEF_NAME\l identifier_or_ref -> '&… 17 …q5 [label="5:\l any_id -> T_IDENTIFIER . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_BRACKETS T_TYPE_QU… 18 …q6 [label="6:\l type_specifier -> T_TYPEDEF_NAME . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Im… 19 …q7 [label="7:\l type_qualifier -> T_DEFINE_NAME . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Ima… 20 …q8 [label="8:\l storage_class -> T_AUTO . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Imaginary T… 21 …q9 [label="9:\l linkage_specification -> T_EXTERN . T_STRING_LITERAL braces\l linkage_specificat… [all …]
|
| /freebsd-12-stable/contrib/byacc/test/btyacc/ |
| D | grammar.dot | 12 …q0 [label="0:\l $accept -> . program $end\l program -> . { $end }\l program -> . translation_un… 13 …q1 [label="1:\l external_declaration -> error . T_MATCHRBRACE\l external_declaration -> error . … 14 …q2 [label="2:\l any_id -> . T_IDENTIFIER\l any_id -> . T_TYPEDEF_NAME\l declarator -> . pointer… 15 …q3 [label="3:\l type_qualifier -> . T_TYPE_QUALIFIER\l type_qualifier -> . T_DEFINE_NAME\l poin… 16 …q4 [label="4:\l any_id -> . T_IDENTIFIER\l any_id -> . T_TYPEDEF_NAME\l identifier_or_ref -> '&… 17 …q5 [label="5:\l any_id -> T_IDENTIFIER . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_BRACKETS T_TYPE_QU… 18 …q6 [label="6:\l type_specifier -> T_TYPEDEF_NAME . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Im… 19 …q7 [label="7:\l type_qualifier -> T_DEFINE_NAME . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Ima… 20 …q8 [label="8:\l storage_class -> T_AUTO . { ')' ',' ';' T_BRACKETS T_TYPE_QUALIFIER T_Imaginary T… 21 …q9 [label="9:\l linkage_specification -> T_EXTERN . T_STRING_LITERAL braces\l linkage_specificat… [all …]
|
| /freebsd-12-stable/sys/security/mac_stub/ |
| D | mac_stub.c | 125 stub_init_label(struct label *label) in stub_init_label() argument 131 stub_init_label_waitcheck(struct label *label, int flag) in stub_init_label_waitcheck() argument 138 stub_destroy_label(struct label *label) in stub_destroy_label() argument 144 stub_copy_label(struct label *src, struct label *dest) in stub_copy_label() 150 stub_externalize_label(struct label *label, char *element_name, in stub_externalize_label() argument 158 stub_internalize_label(struct label *label, char *element_name, in stub_internalize_label() argument 170 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_check_receive() 171 struct ifnet *ifp, struct label *ifplabel) in stub_bpfdesc_check_receive() 179 struct label *dlabel) in stub_bpfdesc_create() 185 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_create_mbuf() [all …]
|
| /freebsd-12-stable/share/misc/ |
| D | committers-src.dot | 15 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??"] 23 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??\n????/??/??"] 32 alm [label="Andrew Moore\nalm@FreeBSD.org\n1993/06/12\n????/??/??"] 33 anholt [label="Eric Anholt\nanholt@FreeBSD.org\n2002/04/22\n2008/08/07"] 34 archie [label="Archie Cobbs\narchie@FreeBSD.org\n1998/11/06\n2006/06/09"] 35 arr [label="Andrew R. Reiter\narr@FreeBSD.org\n2001/11/02\n2005/05/25"] 36 arun [label="Arun Sharma\narun@FreeBSD.org\n2003/03/06\n2006/12/16"] 37 asmodai [label="Jeroen Ruigrok\nasmodai@FreeBSD.org\n1999/12/16\n2001/11/16"] 38 benjsc [label="Benjamin Close\nbenjsc@FreeBSD.org\n2007/02/09\n2010/09/15"] 39 billf [label="Bill Fumerola\nbillf@FreeBSD.org\n1998/11/11\n2008/11/10"] [all …]
|
| D | committers-ports.dot | 15 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??"] 23 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??\n????/??/??"] 32 asami [label="Satoshi Asami\nasami@FreeBSD.org\n1994/11/18\n2001/09/11"] 33 billf [label="Bill Fumerola\nbillf@FreeBSD.org\n1998/11/11\n2006/12/14"] 34 jmallett [label="Juli Mallett\njmallett@FreeBSD.org\n2003/01/16\n2006/08/10"] 35 marcel [label="Marcel Moolenaar\nmarcel@FreeBSD.org\n1999/07/03\n2007/07/01"] 36 steve [label="Steve Price\nsteve@FreeBSD.org\nxxxx/xx/xx\nxxxx/xx/xx"] 37 will [label="Will Andrews\nwill@FreeBSD.org\n2000/03/20\n2006/09/01"] 43 "0mp" [label="Mateusz Piotrowski\n0mp@FreeBSD.org\n2018/06/16"] 44 ache [label="Andrey Chernov\nache@FreeBSD.org\n1994/11/15"] [all …]
|
| D | committers-doc.dot | 15 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??"] 23 # foo [label="Foo Bar\nfoo@FreeBSD.org\n????/??/??\n????/??/??"] 32 ache [label="Andrey Chernov\nache@FreeBSD.org\n1997/06/13\n2010/12/11"] 33 bmah [label="Bruce A. Mah\nbmah@FreeBSD.org\n2000/08/22\n2009/09/13"] 34 bvs [label="Vitaly Bogdanov\nbvs@FreeBSD.org\n2005/10/03\n2010/12/11"] 35 ceri [label="Ceri Davies\nceri@FreeBSD.org\n2002/03/17\n2012/02/29"] 36 den [label="Denis Peplin\nden@FreeBSD.org\n2003/09/13\n2009/07/09"] 37 garys [label="Gary W. Swearingen\ngarys@FreeBSD.org\n2005/08/21\n2008/03/02"] 38 jcamou [label="Jesus R. Camou\njcamou@FreeBSD.org\n2005/03/02\n2008/12/20"] 39 jesusr [label="Jesus Rodriguez Cuesta\njesusr@FreeBSD.org\n1998/12/10\n2010/12/11"] [all …]
|
| /freebsd-12-stable/sys/security/mac_test/ |
| D | mac_test.c | 131 #define LABEL_CHECK(label, magic) do { \ argument 132 if (label != NULL) { \ 133 KASSERT(SLOT(label) == magic || SLOT(label) == 0, \ 138 #define LABEL_DESTROY(label, magic) do { \ argument 139 if (SLOT(label) == magic || SLOT(label) == 0) { \ 140 SLOT_SET(label, MAGIC_FREE); \ 141 } else if (SLOT(label) == MAGIC_FREE) { \ 148 #define LABEL_INIT(label, magic) do { \ argument 149 SLOT_SET(label, magic); \ 152 #define LABEL_NOTFREE(label) do { \ argument [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/ |
| 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("notintel")); [all …]
|
| /freebsd-12-stable/sbin/pfctl/tests/files/ |
| D | pf0047.in | 1 pass in on lo0 all label "" 3 pass in all label "$if" 4 pass in on lo0 all label "$if" 5 pass in on lo0 all label "$if$if" 7 pass in on lo0 all label "$srcaddr" 8 pass in on lo0 from 0/0 to any label "$srcaddr" 9 pass in on lo0 from 127.0.0.1 to any label "$srcaddr" 10 pass in on lo0 from 127.0.0.1 to any label "$srcaddr$srcaddr" 11 pass in on lo0 from 127.0.0.1 to any label ":$srcaddr:$srcaddr:" 12 pass in on lo0 from 127.0.0.1/8 to any label "$srcaddr" [all …]
|
| D | pf0047.ok | 2 pass in all flags S/SA keep state label "any" 3 pass in on lo0 all flags S/SA keep state label "lo0" 4 pass in on lo0 all flags S/SA keep state label "lo0lo0" 5 pass in on lo0 all flags S/SA keep state label "any" 6 pass in on lo0 inet all flags S/SA keep state label "any" 7 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label "127.0.0.1" 8 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label "127.0.0.1127.0.0.1" 9 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label ":127.0.0.1:127.0.0.1:" 10 pass in on lo0 inet from 127.0.0.0/8 to any flags S/SA keep state label "127.0.0.0/8" 11 pass in on lo0 inet from 127.0.0.0/16 to any flags S/SA keep state label "127.0.0.0/16127.0.0.0/16" [all …]
|
| /freebsd-12-stable/sys/security/mac_bsdextended/ |
| 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 *vplabel, struct image_params *imgp, [all …]
|
| D | ugidfw_vnode.c | 65 struct label *vplabel, accmode_t accmode) in ugidfw_vnode_check_access() 73 struct label *dvplabel) in ugidfw_vnode_check_chdir() 81 struct label *dvplabel) in ugidfw_vnode_check_chroot() 89 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in ugidfw_check_create_vnode() 97 struct label *vplabel, acl_type_t type) in ugidfw_vnode_check_deleteacl() 105 struct label *vplabel, int attrnamespace, const char *name) in ugidfw_vnode_check_deleteextattr() 113 struct label *vplabel, struct image_params *imgp, in ugidfw_vnode_check_exec() 114 struct label *execlabel) in ugidfw_vnode_check_exec() 122 struct label *vplabel, acl_type_t type) in ugidfw_vnode_check_getacl() 130 struct label *vplabel, int attrnamespace, const char *name) in ugidfw_vnode_check_getextattr() [all …]
|
| /freebsd-12-stable/sys/geom/vinum/ |
| D | geom_vinum_drive.c | 152 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 154 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 156 m_hdr->label.date_of_birth.tv_sec = GV_GET64(be); in gv_read_header() 157 m_hdr->label.date_of_birth.tv_usec = GV_GET64(be); in gv_read_header() 158 m_hdr->label.last_update.tv_sec = GV_GET64(be); in gv_read_header() 159 m_hdr->label.last_update.tv_usec = GV_GET64(be); in gv_read_header() 160 m_hdr->label.drive_size = GV_GET64(be); in gv_read_header() 171 bcopy(d_hdr + 16, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 173 bcopy(d_hdr + 48, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 175 m_hdr->label.date_of_birth.tv_sec = GV_GET64(be); in gv_read_header() [all …]
|
| /freebsd-12-stable/sys/gnu/dts/arm/ |
| D | bcm47094-linksys-panamera.dts | 29 label = "WPS"; 35 label = "WiFi"; 41 label = "Reset"; 51 label = "bcm53xx:white:wps"; 56 label = "bcm53xx:green:usb2"; 63 label = "bcm53xx:green:usb3"; 71 label = "bcm53xx:white:power"; 76 label = "bcm53xx:amber:wifi-disabled"; 81 label = "bcm53xx:white:wifi-enabled"; 86 label = "bcm53xx:white:bluebar1"; [all …]
|