Home
last modified time | relevance | path

Searched refs:idtype (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/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} ${name} ${proto} ${port})
/freebsd/usr.bin/protect/
H A Dprotect.c72 idtype_t idtype; in main() local
77 idtype = P_PID; in main()
93 idtype = P_PGID; in main()
98 idtype = P_PID; in main()
113 if (procctl(idtype, id, PROC_SPROTECT, &flags) == -1) in main()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c342 if(idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_new_chan()
344 }else if(idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ in ng_l2cap_new_chan()
351 ch->idtype = idtype; in ng_l2cap_new_chan()
385 if((idtype == NG_L2CAP_L2CA_IDTYPE_ATT)|| in ng_l2cap_chan_by_scid()
386 (idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){ in ng_l2cap_chan_by_scid()
391 if((idtype != NG_L2CAP_L2CA_IDTYPE_BREDR)&& in ng_l2cap_chan_by_scid()
394 if((idtype != NG_L2CAP_L2CA_IDTYPE_LE)&& in ng_l2cap_chan_by_scid()
634 int idtype; in ng_l2cap_get_cid() local
639 idtype = NG_L2CAP_L2CA_IDTYPE_LE; in ng_l2cap_get_cid()
644 idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; in ng_l2cap_get_cid()
[all …]
H A Dng_l2cap_ulpi.c130 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_con_req()
197 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_con_rsp()
200 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_con_rsp()
889 l2ca_hdr->idtype); in ng_l2cap_l2ca_write_req()
964 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_write_rsp()
967 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_write_rsp()
994 int idtype; in ng_l2cap_l2ca_receive() local
1007 idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_receive()
1017 idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_receive()
1081 *idp = idtype; in ng_l2cap_l2ca_receive()
[all …]
H A Dng_l2cap_evnt.c464 int idtype; in ng_l2cap_process_con_req() local
478 idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_process_con_req()
480 idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_process_con_req()
482 idtype = NG_L2CAP_L2CA_IDTYPE_LE; in ng_l2cap_process_con_req()
484 idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; in ng_l2cap_process_con_req()
491 ch = ng_l2cap_new_chan(l2cap, con, psm, idtype); in ng_l2cap_process_con_req()
H A Dng_l2cap_var.h157 uint16_t idtype; member
/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c175 char *idtype, *id, *protocol, *portnumber, *p; in parse_rule_element() local
182 idtype = strsep(&element, ":"); in parse_rule_element()
183 if (idtype == NULL) { in parse_rule_element()
197 if (strcmp(idtype, UID_STRING) == 0) in parse_rule_element()
199 else if (strcmp(idtype, GID_STRING) == 0) in parse_rule_element()
270 const char *idtype, *protocol;
274 idtype = GID_STRING;
277 idtype = UID_STRING;
294 sbuf_printf(sb, "%s:%jd:%s:%d", idtype, (intmax_t)rule->r_id,
/freebsd/sys/kern/
H A Dkern_exit.c875 idtype_t idtype; in sys_wait6() local
879 idtype = uap->idtype; in sys_wait6()
1059 switch (idtype) { in proc_to_reap()
1206 idtype_t idtype; in kern_wait() local
1216 idtype = P_ALL; in kern_wait()
1219 idtype = P_PGID; in kern_wait()
1222 idtype = P_PID; in kern_wait()
1292 if ((pid_t)id == WAIT_MYPGRP && (idtype == P_PID || idtype == P_PGID)) { in kern_wait6()
1296 idtype = P_PGID; in kern_wait6()
1324 ret = proc_to_reap(td, p, idtype, id, status, options, in kern_wait6()
[all …]
H A Dkern_procctl.c1128 return (cpu_procctl(td, uap->idtype, uap->id, in sys_procctl()
1143 error = kern_procctl(td, uap->idtype, uap->id, uap->com, &x); in sys_procctl()
1163 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) in kern_procctl() argument
1173 if (idtype != P_PID && cmd_info->one_proc) in kern_procctl()
1194 switch (idtype) { in kern_procctl()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_l2cap.h356 uint16_t idtype; member
369 uint8_t idtype; member
375 uint16_t idtype; /*ID type*/ member
467 u_int16_t idtype; member
490 uint16_t idtype; member
608 uint8_t idtype; member
H A Dng_btsocket_l2cap.h139 uint8_t idtype; member
/freebsd/lib/libc/sys/
H A Dwait6.c41 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, in wait6() argument
44 return (INTERPOS_SYS(wait6, idtype, id, status, options, ru, infop)); in wait6()
H A Dwaitid.c44 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) in __waitid() argument
49 ret = INTERPOS_SYS(wait6, idtype, id, &status, flags, NULL, info); in __waitid()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c704 op->idtype); in ng_btsocket_l2cap_process_l2ca_enc_change()
1108 ip->idtype); in ng_btsocket_l2cap_process_l2ca_discon_ind()
1245 ip->idtype = pcb->idtype; in ng_btsocket_l2cap_send_l2ca_con_req()
1384 ip->idtype = pcb->idtype; in ng_btsocket_l2cap_send_l2ca_discon_req()
1408 uint16_t idtype; in ng_btsocket_l2cap_data_input() local
1424 idtype = *mtod(m, uint16_t *); in ng_btsocket_l2cap_data_input()
2186 idtype =NG_L2CAP_L2CA_IDTYPE_SMP; in ng_btsocket_l2cap_connect()
2211 pcb->idtype = idtype; in ng_btsocket_l2cap_connect()
2533 switch(pcb->idtype){ in ng_btsocket_l2cap_peeraddr()
2661 hdr->idtype = pcb->idtype; in ng_btsocket_l2cap_send2()
[all …]
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocessor.h121 extern int processor_bind(idtype_t idtype, id_t id,
H A Dprocset.h63 idtype /* pollutes XPG4.2 namespace */ enum
/freebsd/sys/sys/
H A Dsyscallsubr.h43 enum idtype;
274 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
382 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
H A Dwait.h93 idtype /* pollutes XPG4.2 namespace */ enum
/freebsd/sys/compat/linux/
H A Dlinux_misc.c725 error = kern_wait6(td, idtype, id, &status, options, in linux_common_wait()
777 int options, id, idtype; in linux_wait4() local
797 idtype = P_ALL; in linux_wait4()
800 idtype = P_PGID; in linux_wait4()
803 idtype = P_PGID; in linux_wait4()
809 idtype = P_PID; in linux_wait4()
820 idtype_t idtype; in linux_waitid() local
833 switch (args->idtype) { in linux_waitid()
835 idtype = P_ALL; in linux_waitid()
840 idtype = P_PID; in linux_waitid()
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dvm_machdep.c234 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, in cpu_procctl()
/freebsd/sys/amd64/amd64/
H A Dvm_machdep.c487 cpu_procctl(struct thread *td, int idtype, id_t id, int com, void *data) in cpu_procctl() argument
497 if (idtype != P_PID) { in cpu_procctl()
/freebsd/lib/libthr/thread/
H A Dthr_syscalls.c574 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, in __thr_wait6() argument
582 ret = __sys_wait6(idtype, id, status, options, ru, infop); in __thr_wait6()
/freebsd/sys/riscv/riscv/
H A Dvm_machdep.c265 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, in cpu_procctl()
/freebsd/lib/libc/include/
H A Dlibc_private.h344 enum idtype;
/freebsd/sys/arm/arm/
H A Dvm_machdep.c306 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, in cpu_procctl()

12