Home
last modified time | relevance | path

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

12

/freebsd-14-stable/tests/sys/mac/portacl/
HDmisc.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-14-stable/usr.bin/protect/
HDprotect.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-14-stable/sys/netgraph/bluetooth/l2cap/
HDng_l2cap_misc.c334 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm, int idtype) in ng_l2cap_new_chan() argument
342 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()
381 ng_l2cap_chan_by_scid(ng_l2cap_p l2cap, u_int16_t scid, int idtype) in ng_l2cap_chan_by_scid() argument
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
[all …]
HDng_l2cap_ulpi.c107 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype); in ng_l2cap_l2ca_con_req()
130 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_con_req()
134 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ 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()
203 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_con_rsp()
368 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)? in ng_l2cap_l2ca_encryption_change()
372 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_encryption_change()
871 if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_write_req()
874 } else if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ in ng_l2cap_l2ca_write_req()
[all …]
HDng_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()
HDng_l2cap_var.h157 uint16_t idtype; member
/freebsd-14-stable/sys/security/mac_portacl/
HDmac_portacl.c173 char *idtype, *id, *protocol, *portnumber, *p; in parse_rule_element() local
180 idtype = strsep(&element, ":"); in parse_rule_element()
181 if (idtype == NULL) { in parse_rule_element()
195 if (strcmp(idtype, UID_STRING) == 0) in parse_rule_element()
197 else if (strcmp(idtype, GID_STRING) == 0) in parse_rule_element()
268 const char *idtype, *protocol;
272 idtype = GID_STRING;
275 idtype = UID_STRING;
292 sbuf_printf(sb, "%s:%jd:%s:%d", idtype, (intmax_t)rule->r_id,
/freebsd-14-stable/sys/kern/
HDkern_exit.c878 idtype_t idtype; in sys_wait6() local
882 idtype = uap->idtype; in sys_wait6()
900 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip); in sys_wait6()
1048 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, in proc_to_reap() argument
1058 switch (idtype) { in proc_to_reap()
1205 idtype_t idtype; in kern_wait() local
1215 idtype = P_ALL; in kern_wait()
1218 idtype = P_PGID; in kern_wait()
1221 idtype = P_PID; in kern_wait()
1235 ret = kern_wait6(td, idtype, id, status, options, wrup, NULL); in kern_wait()
[all …]
HDkern_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-14-stable/sys/netgraph/bluetooth/include/
HDng_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
HDng_btsocket_l2cap.h139 uint8_t idtype; member
/freebsd-14-stable/lib/libc/sys/
HDwait6.c41 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, in wait6() argument
46 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id, in wait6()
/freebsd-14-stable/lib/libc/gen/
HDwaitid.c44 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) in __waitid() argument
50 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id, in __waitid()
/freebsd-14-stable/sys/netgraph/bluetooth/socket/
HDng_btsocket_l2cap.c465 if((pcb->idtype == NG_L2CAP_L2CA_IDTYPE_ATT)|| in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
466 (pcb->idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){ in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
704 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()
1471 (idtype == NG_L2CAP_L2CA_IDTYPE_ATT)|| in ng_btsocket_l2cap_data_input()
1472 (idtype == NG_L2CAP_L2CA_IDTYPE_SMP) in ng_btsocket_l2cap_data_input()
[all …]
/freebsd-14-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
HDprocessor.h121 extern int processor_bind(idtype_t idtype, id_t id,
HDprocset.h63 idtype /* pollutes XPG4.2 namespace */ enum
/freebsd-14-stable/sys/compat/linux/
HDlinux_misc.c717 linux_common_wait(struct thread *td, idtype_t idtype, int id, int *statusp, in linux_common_wait() argument
725 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()
813 return (linux_common_wait(td, idtype, id, args->status, options, in linux_wait4()
820 idtype_t idtype; in linux_waitid() local
833 switch (args->idtype) { in linux_waitid()
[all …]
/freebsd-14-stable/sys/sys/
HDsyscallsubr.h44 enum idtype;
277 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
387 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
HDwait.h95 idtype /* pollutes XPG4.2 namespace */ enum
/freebsd-14-stable/lib/libc/include/
HDlibc_private.h335 enum idtype;
404 __pid_t __sys_wait6(enum idtype, __id_t, int *, int,
/freebsd-14-stable/sys/powerpc/powerpc/
HDvm_machdep.c236 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, in cpu_procctl()
/freebsd-14-stable/lib/libthr/thread/
HDthr_syscalls.c589 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, in __thr_wait6() argument
597 ret = __sys_wait6(idtype, id, status, options, ru, infop); in __thr_wait6()
/freebsd-14-stable/sys/amd64/amd64/
HDvm_machdep.c489 cpu_procctl(struct thread *td, int idtype, id_t id, int com, void *data) in cpu_procctl() argument
499 if (idtype != P_PID) { in cpu_procctl()
/freebsd-14-stable/sys/riscv/riscv/
HDvm_machdep.c266 cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, in cpu_procctl()
/freebsd-14-stable/crypto/openssl/crypto/cms/
HDcms_env.c294 int idtype; in cms_RecipientInfo_ktri_init() local
306 idtype = CMS_RECIPINFO_KEYIDENTIFIER; in cms_RecipientInfo_ktri_init()
309 idtype = CMS_RECIPINFO_ISSUER_SERIAL; in cms_RecipientInfo_ktri_init()
317 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init()

12