Searched refs:idtype (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-current/lib/libc/sys/
H A Dwait6.c41 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, argument
44 return (INTERPOS_SYS(wait6, idtype, id, status, options, ru, infop));
H A Dwaitid.c44 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) argument
49 ret = INTERPOS_SYS(wait6, idtype, id, &status, flags, NULL, info);
/freebsd-current/tests/sys/mac/portacl/
H A Dmisc.sh16 local host idtype name proto port udpflag
21 idtype=${1}
29 case "${idtype}" in
57 local expect_without_rule expect_with_rule idtype name proto port
61 idtype=${3}
67 out=$(check_bind ${idtype} ${name} ${proto} ${port})
77 if [ "${idtype}" = "uid" ]; then
79 elif [ "${idtype}" = "gid" ]; then
84 sysctl security.mac.portacl.rules=${idtype}:${idstr}:${proto}:${port} >/dev/null
85 out=$(check_bind ${idtype}
[all...]
/freebsd-current/usr.bin/protect/
H A Dprotect.c72 idtype_t idtype; local
77 idtype = P_PID;
93 idtype = P_PGID;
98 idtype = P_PID;
113 if (procctl(idtype, id, PROC_SPROTECT, &flags) == -1)
/freebsd-current/sys/security/mac_portacl/
H A Dmac_portacl.c130 * idtype:id:protocol:portnumber, and constitutes granting of permission
175 char *idtype, *id, *protocol, *portnumber, *p; local
182 idtype = strsep(&element, ":");
183 if (idtype == NULL) {
197 if (strcmp(idtype, UID_STRING) == 0)
199 else if (strcmp(idtype, GID_STRING) == 0)
270 const char *idtype, *protocol;
274 idtype = GID_STRING;
277 idtype = UID_STRING;
280 panic("rule_printf: unknown idtype (
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocessor.h121 extern int processor_bind(idtype_t idtype, id_t id,
H A Dprocset.h58 * specifies the interpretation of an id value. An idtype and
63 idtype /* pollutes XPG4.2 namespace */ enum
/freebsd-current/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c334 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm, int idtype) argument
342 if(idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
344 }else if(idtype == NG_L2CAP_L2CA_IDTYPE_SMP){
351 ch->idtype = idtype;
381 ng_l2cap_chan_by_scid(ng_l2cap_p l2cap, u_int16_t scid, int idtype) argument
385 if((idtype == NG_L2CAP_L2CA_IDTYPE_ATT)||
386 (idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){
391 if((idtype != NG_L2CAP_L2CA_IDTYPE_BREDR)&&
394 if((idtype !
634 int idtype; local
[all...]
H A Dng_l2cap_ulpi.c107 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype);
130 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
134 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){
197 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
200 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
203 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)?
368 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)?
372 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)?
871 if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
874 } else if (l2ca_hdr->idtype
994 int idtype; local
[all...]
H A Dng_l2cap_var.h157 uint16_t idtype; member in struct:ng_l2cap_chan
H A Dng_l2cap_evnt.c464 int idtype; local
478 idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
480 idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
482 idtype = NG_L2CAP_L2CA_IDTYPE_LE;
484 idtype = NG_L2CAP_L2CA_IDTYPE_BREDR;
491 ch = ng_l2cap_new_chan(l2cap, con, psm, idtype);
/freebsd-current/sys/netgraph/bluetooth/include/
H A Dng_l2cap.h356 uint16_t idtype; member in struct:__anon5434
369 uint8_t idtype; member in struct:__anon5435
375 uint16_t idtype; /*ID type*/ member in struct:__anon5436
467 u_int16_t idtype; member in struct:__anon5446
490 uint16_t idtype; member in struct:__anon5448
608 uint8_t idtype; member in struct:__anon5461
H A Dng_btsocket_l2cap.h139 uint8_t idtype; member in struct:ng_btsocket_l2cap_pcb
/freebsd-current/sys/kern/
H A Dkern_exit.c875 idtype_t idtype; local
879 idtype = uap->idtype;
897 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip);
1049 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, argument
1059 switch (idtype) {
1206 idtype_t idtype; local
1211 * Translate the special pid values into the (idtype, pid)
1216 idtype = P_ALL;
1219 idtype
1278 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 Dkern_procctl.c1128 return (cpu_procctl(td, uap->idtype, uap->id,
1143 error = kern_procctl(td, uap->idtype, uap->id, uap->com, &x);
1163 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) argument
1173 if (idtype != P_PID && cmd_info->one_proc)
1194 switch (idtype) {
/freebsd-current/sys/sys/
H A Dwait.h93 idtype /* pollutes XPG4.2 namespace */ enum
H A Dsyscallsubr.h43 enum idtype;
284 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
392 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
/freebsd-current/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c465 if((pcb->idtype == NG_L2CAP_L2CA_IDTYPE_ATT)||
466 (pcb->idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){
704 op->idtype);
1108 ip->idtype);
1245 ip->idtype = pcb->idtype;
1384 ip->idtype = pcb->idtype;
1408 uint16_t idtype; local
1424 idtype
2153 int idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; local
2762 ng_btsocket_l2cap_pcb_by_cid(bdaddr_p src, int cid, int idtype) argument
[all...]
/freebsd-current/sys/powerpc/powerpc/
H A Dvm_machdep.c234 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
/freebsd-current/lib/libc/include/
H A Dlibc_private.h344 enum idtype;
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c718 linux_common_wait(struct thread *td, idtype_t idtype, int id, int *statusp, argument
726 error = kern_wait6(td, idtype, id, &status, options,
778 int options, id, idtype; local
798 idtype = P_ALL;
801 idtype = P_PGID;
804 idtype = P_PGID;
810 idtype = P_PID;
814 return (linux_common_wait(td, idtype, id, args->status, options,
821 idtype_t idtype; local
834 switch (args->idtype) {
[all...]
/freebsd-current/lib/libthr/thread/
H A Dthr_syscalls.c574 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, argument
582 ret = __sys_wait6(idtype, id, status, options, ru, infop);
/freebsd-current/sys/arm/arm/
H A Dvm_machdep.c306 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
/freebsd-current/sys/riscv/riscv/
H A Dvm_machdep.c265 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,
/freebsd-current/sys/arm64/arm64/
H A Dvm_machdep.c316 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused,

Completed in 188 milliseconds

12