/freebsd-13-stable/tests/sys/mac/portacl/ |
H A D | misc.sh | 17 local host idtype name proto port udpflag 22 idtype=${1} 30 case "${idtype}" in 58 local expect_without_rule expect_with_rule idtype name proto port 62 idtype=${3} 68 out=$(check_bind ${idtype} ${name} ${proto} ${port}) 78 if [ "${idtype}" = "uid" ]; then 80 elif [ "${idtype}" = "gid" ]; then 85 sysctl security.mac.portacl.rules=${idtype}:${idstr}:${proto}:${port} >/dev/null 86 out=$(check_bind ${idtype} [all...] |
/freebsd-13-stable/usr.bin/protect/ |
H A D | protect.c | 74 idtype_t idtype; local 79 idtype = P_PID; 95 idtype = P_PGID; 100 idtype = P_PID; 115 if (procctl(idtype, id, PROC_SPROTECT, &flags) == -1)
|
/freebsd-13-stable/lib/libc/sys/ |
H A D | wait6.c | 45 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, argument 50 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id,
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | waitid.c | 47 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) argument 53 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id,
|
/freebsd-13-stable/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 132 * idtype:id:protocol:portnumber, and constitutes granting of permission 177 char *idtype, *id, *protocol, *portnumber, *p; local 184 idtype = strsep(&element, ":"); 185 if (idtype == NULL) { 199 if (strcmp(idtype, UID_STRING) == 0) 201 else if (strcmp(idtype, GID_STRING) == 0) 272 const char *idtype, *protocol; 276 idtype = GID_STRING; 279 idtype = UID_STRING; 282 panic("rule_printf: unknown idtype ( [all...] |
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | processor.h | 121 extern int processor_bind(idtype_t idtype, id_t id,
|
H A D | procset.h | 58 * specifies the interpretation of an id value. An idtype and 63 idtype /* pollutes XPG4.2 namespace */ enum
|
/freebsd-13-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.c | 335 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm, int idtype) argument 343 if(idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ 345 }else if(idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ 352 ch->idtype = idtype; 382 ng_l2cap_chan_by_scid(ng_l2cap_p l2cap, u_int16_t scid, int idtype) argument 386 if((idtype == NG_L2CAP_L2CA_IDTYPE_ATT)|| 387 (idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){ 392 if((idtype != NG_L2CAP_L2CA_IDTYPE_BREDR)&& 395 if((idtype ! 635 int idtype; local [all...] |
H A D | ng_l2cap_ulpi.c | 108 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype); 131 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ 135 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ 198 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT; 201 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP; 204 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)? 369 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)? 373 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)? 872 if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ 875 } else if (l2ca_hdr->idtype 995 int idtype; local [all...] |
H A D | ng_l2cap_var.h | 158 uint16_t idtype; member in struct:ng_l2cap_chan
|
H A D | ng_l2cap_evnt.c | 465 int idtype; local 479 idtype = NG_L2CAP_L2CA_IDTYPE_ATT; 481 idtype = NG_L2CAP_L2CA_IDTYPE_SMP; 483 idtype = NG_L2CAP_L2CA_IDTYPE_LE; 485 idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; 492 ch = ng_l2cap_new_chan(l2cap, con, psm, idtype);
|
/freebsd-13-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_l2cap.h | 357 uint16_t idtype; member in struct:__anon15229 370 uint8_t idtype; member in struct:__anon15230 376 uint16_t idtype; /*ID type*/ member in struct:__anon15231 468 u_int16_t idtype; member in struct:__anon15241 491 uint16_t idtype; member in struct:__anon15243 609 uint8_t idtype; member in struct:__anon15256
|
H A D | ng_btsocket_l2cap.h | 141 uint8_t idtype; member in struct:ng_btsocket_l2cap_pcb
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_exit.c | 831 idtype_t idtype; local 835 idtype = uap->idtype; 853 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip); 1005 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, argument 1015 switch (idtype) { 1162 idtype_t idtype; local 1167 * Translate the special pid values into the (idtype, pid) 1172 idtype = P_ALL; 1175 idtype 1234 kern_wait6(struct thread *td, idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *siginfo) argument [all...] |
H A D | kern_procctl.c | 574 idtype_t idtype; member in struct:procctl_args 593 return (cpu_procctl(td, uap->idtype, uap->id, 648 error = kern_procctl(td, uap->idtype, uap->id, uap->com, data); 719 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) argument 743 if (idtype != P_PID) 797 switch (idtype) {
|
/freebsd-13-stable/sys/sys/ |
H A D | wait.h | 96 idtype /* pollutes XPG4.2 namespace */ enum
|
H A D | syscallsubr.h | 44 enum idtype; 235 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com, 336 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
|
/freebsd-13-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap.c | 466 if((pcb->idtype == NG_L2CAP_L2CA_IDTYPE_ATT)|| 467 (pcb->idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){ 705 op->idtype); 1109 ip->idtype); 1246 ip->idtype = pcb->idtype; 1385 ip->idtype = pcb->idtype; 1409 uint16_t idtype; local 1425 idtype 2170 int idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; local 2777 ng_btsocket_l2cap_pcb_by_cid(bdaddr_p src, int cid, int idtype) argument [all...] |
/freebsd-13-stable/lib/libc/include/ |
H A D | libc_private.h | 328 enum idtype; 396 __pid_t __sys_wait6(enum idtype, __id_t, int *, int,
|
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | vm_machdep.c | 260 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
|
/freebsd-13-stable/lib/libthr/thread/ |
H A D | thr_syscalls.c | 592 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, argument 600 ret = __sys_wait6(idtype, id, status, options, ru, infop);
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_misc.c | 934 idtype_t idtype; local 939 idtype = P_ALL; 942 idtype = P_PGID; 945 idtype = P_PID; 954 error = kern_wait6(td, idtype, id, &status, options, wrup, &siginfo); 1028 idtype_t idtype; local 1040 switch (args->idtype) { 1042 idtype = P_ALL; 1047 idtype = P_PID; 1052 idtype [all...] |
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | vm_machdep.c | 266 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | vm_machdep.c | 315 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
|
/freebsd-13-stable/sys/arm64/arm64/ |
H A D | vm_machdep.c | 289 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
|