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

12

/freebsd-11-stable/tests/sys/mac/portacl/
H A Dmisc.sh17 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-11-stable/usr.bin/protect/
H A Dprotect.c74 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-11-stable/lib/libc/sys/
H A Dwait6.c45 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-11-stable/lib/libc/gen/
H A Dwaitid.c45 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) argument
51 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id,
/freebsd-11-stable/sys/security/mac_portacl/
H A Dmac_portacl.c131 * idtype:id:protocol:portnumber, and constitutes granting of permission
176 char *idtype, *id, *protocol, *portnumber, *p; local
183 idtype = strsep(&element, ":");
184 if (idtype == NULL) {
198 if (strcmp(idtype, UID_STRING) == 0)
200 else if (strcmp(idtype, GID_STRING) == 0)
271 const char *idtype, *protocol;
275 idtype = GID_STRING;
278 idtype = UID_STRING;
281 panic("rule_printf: unknown idtype (
[all...]
/freebsd-11-stable/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-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c333 ng_l2cap_new_chan(ng_l2cap_p l2cap, ng_l2cap_con_p con, u_int16_t psm, int idtype) argument
341 if(idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
343 }else if(idtype == NG_L2CAP_L2CA_IDTYPE_SMP){
350 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 !
635 int idtype; local
[all...]
H A Dng_l2cap_ulpi.c106 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype);
129 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
133 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){
196 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
199 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
202 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)?
367 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)?
371 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)?
870 if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){
873 } else if (l2ca_hdr->idtype
993 int idtype; local
[all...]
H A Dng_l2cap_var.h156 uint16_t idtype; member in struct:ng_l2cap_chan
H A Dng_l2cap_evnt.c463 int idtype; local
477 idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
479 idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
481 idtype = NG_L2CAP_L2CA_IDTYPE_LE;
483 idtype = NG_L2CAP_L2CA_IDTYPE_BREDR;
490 ch = ng_l2cap_new_chan(l2cap, con, psm, idtype);
/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_l2cap.h356 uint16_t idtype; member in struct:__anon12616
369 uint8_t idtype; member in struct:__anon12617
375 uint16_t idtype; /*ID type*/ member in struct:__anon12618
467 u_int16_t idtype; member in struct:__anon12628
490 uint16_t idtype; member in struct:__anon12630
608 uint8_t idtype; member in struct:__anon12643
H A Dng_btsocket_l2cap.h139 uint8_t idtype; member in struct:ng_btsocket_l2cap_pcb
/freebsd-11-stable/sys/kern/
H A Dkern_exit.c783 idtype_t idtype; local
787 idtype = uap->idtype;
805 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip);
962 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, argument
972 switch (idtype) {
1117 idtype_t idtype; local
1122 * Translate the special pid values into the (idtype, pid)
1127 idtype = P_ALL;
1130 idtype
1186 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.c467 idtype_t idtype; member in struct:procctl_args
533 error = kern_procctl(td, uap->idtype, uap->id, uap->com, data);
594 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) argument
614 if (idtype != P_PID)
664 switch (idtype) {
/freebsd-11-stable/sys/sys/
H A Dwait.h94 idtype /* pollutes XPG4.2 namespace */ enum
H A Dsyscallsubr.h40 enum idtype;
198 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
295 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c466 if((pcb->idtype == NG_L2CAP_L2CA_IDTYPE_ATT)||
467 (pcb->idtype == NG_L2CAP_L2CA_IDTYPE_SMP)){
714 op->idtype);
1118 ip->idtype);
1255 ip->idtype = pcb->idtype;
1394 ip->idtype = pcb->idtype;
1418 uint16_t idtype; local
1434 idtype
2181 int idtype = NG_L2CAP_L2CA_IDTYPE_BREDR; local
2790 ng_btsocket_l2cap_pcb_by_cid(bdaddr_p src, int cid, int idtype) argument
[all...]
/freebsd-11-stable/lib/libc/include/
H A Dlibc_private.h321 enum idtype;
380 __pid_t __sys_wait6(enum idtype, __id_t, int *, int,
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_syscalls.c590 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, argument
598 ret = __sys_wait6(idtype, id, status, options, ru, infop);
/freebsd-11-stable/crypto/openssl/crypto/cms/
H A Dcms_env.c185 int idtype; local
196 idtype = CMS_RECIPINFO_KEYIDENTIFIER;
199 idtype = CMS_RECIPINFO_ISSUER_SERIAL;
207 if (!cms_set1_SignerIdentifier(ktri->rid, recip, idtype))
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_eke.c230 u8 idtype; local
307 idtype = *pos++;
308 wpa_printf(MSG_DEBUG, "EAP-EKE: Server IDType %u", idtype);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_acl_platform_nfs4.c550 int r, idtype; local
581 r = mbr_uuid_to_id((const unsigned char *)q, &ugid, &idtype);
585 switch (idtype) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h2240 #define __sanitizer_syscall_pre__pset_bind(idtype, first_id, second_id, psid, \
2243 (long long)(idtype), (long long)(first_id), (long long)(second_id), \
2245 #define __sanitizer_syscall_post__pset_bind(res, idtype, first_id, second_id, \
2248 res, (long long)(idtype), (long long)(first_id), (long long)(second_id), \
2692 #define __sanitizer_syscall_pre_wait6(idtype, id, status, options, wru, info) \
2694 (long long)(idtype), (long long)(id), (long long)(status), \
2696 #define __sanitizer_syscall_post_wait6(res, idtype, id, status, options, wru, \
2699 res, (long long)(idtype), (long long)(id), (long long)(status), \
2701 #define __sanitizer_syscall_pre_clock_getcpuclockid2(idtype, id, clock_id) \
2703 (long long)(idtype), (lon
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_misc.c1053 idtype_t idtype; local
1065 switch (args->idtype) {
1067 idtype = P_ALL;
1072 idtype = P_PID;
1077 idtype = P_PGID;
1083 error = kern_wait6(td, idtype, args->id, &status, options,

Completed in 370 milliseconds

12