Home
last modified time | relevance | path

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

/trueos/tools/regression/mac/mac_portacl/
HDmisc.sh14 idtype=${1}
22 case "${idtype}" in
52 idtype=${3}
58 out=`check_bind ${idtype} ${name} ${proto} ${port}`
68 if [ "${idtype}" = "uid" ]; then
70 elif [ "${idtype}" = "gid" ]; then
75 sysctl security.mac.portacl.rules=${idtype}:${idstr}:${proto}:${port} >/dev/null
76 out=`check_bind ${idtype} ${name} ${proto} ${port}`
/trueos/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()
/trueos/sys/security/mac_portacl/
HDmac_portacl.c182 char *idtype, *id, *protocol, *portnumber, *p; in parse_rule_element() local
189 idtype = strsep(&element, ":"); in parse_rule_element()
190 if (idtype == NULL) { in parse_rule_element()
204 if (strcmp(idtype, UID_STRING) == 0) in parse_rule_element()
206 else if (strcmp(idtype, GID_STRING) == 0) in parse_rule_element()
277 const char *idtype, *protocol;
281 idtype = GID_STRING;
284 idtype = UID_STRING;
301 sbuf_printf(sb, "%s:%jd:%s:%d", idtype, (intmax_t)rule->r_id,
/trueos/sys/kern/
HDkern_exit.c791 idtype_t idtype; in sys_wait6() local
795 idtype = uap->idtype; in sys_wait6()
813 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip); in sys_wait6()
957 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, in proc_to_reap() argument
966 switch (idtype) { in proc_to_reap()
1108 idtype_t idtype; in kern_wait() local
1118 idtype = P_ALL; in kern_wait()
1121 idtype = P_PGID; in kern_wait()
1124 idtype = P_PID; in kern_wait()
1138 ret = kern_wait6(td, idtype, id, status, options, wrup, NULL); in kern_wait()
[all …]
HDkern_procctl.c343 idtype_t idtype; member
396 error = kern_procctl(td, uap->idtype, uap->id, uap->com, data); in sys_procctl()
443 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) in kern_procctl() argument
457 if (idtype != P_PID) in kern_procctl()
482 switch (idtype) { in kern_procctl()
HDsystrace_args.c3326 iarg[0] = p->idtype; /* idtype_t */ in systrace_args()
3435 iarg[0] = p->idtype; /* idtype_t */ in systrace_args()
/trueos/lib/libc/sys/
HDwait6.c45 wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru, in wait6() argument
50 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id, in wait6()
/trueos/lib/libc/gen/
HDwaitid.c43 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) in __waitid() argument
49 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id, in __waitid()
/trueos/usr.bin/kdump/
HDmksubr336 idtypename(idtype_t idtype, int decimal)
338 switch(idtype) {
389 printf("%d", idtype);
391 printf("%#x", idtype);
/trueos/sys/sys/
HDsyscallsubr.h38 enum idtype;
174 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
260 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
HDwait.h94 idtype /* pollutes XPG4.2 namespace */ enum
HDsysproto.h1789 char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; member
1850 char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; member
/trueos/lib/libc/include/
HDlibc_private.h311 enum idtype;
366 __pid_t __sys_wait6(enum idtype, __id_t, int *, int,
/trueos/sys/cddl/contrib/opensolaris/uts/common/sys/
HDprocessor.h120 extern int processor_bind(idtype_t idtype, id_t id,
HDprocset.h63 idtype /* pollutes XPG4.2 namespace */ enum
/trueos/lib/libthr/thread/
HDthr_syscalls.c572 __thr_wait6(idtype_t idtype, id_t id, int *status, int options, in __thr_wait6() argument
580 ret = __sys_wait6(idtype, id, status, options, ru, infop); in __thr_wait6()
/trueos/sys/compat/freebsd32/
HDfreebsd32_proto.h632 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member
658 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member
682 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member
691 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member
HDfreebsd32_systrace_args.c3144 iarg[0] = p->idtype; /* int */ in systrace_args()
3182 iarg[0] = p->idtype; /* int */ in systrace_args()
3294 iarg[0] = p->idtype; /* int */ in systrace_args()
3307 iarg[0] = p->idtype; /* int */ in systrace_args()
HDfreebsd32_misc.c196 error = kern_wait6(td, uap->idtype, PAIR32TO64(id_t, uap->id), in freebsd32_wait6()
3124 error = kern_procctl(td, uap->idtype, PAIR32TO64(id_t, uap->id), in freebsd32_procctl()
/trueos/tools/tools/sysdoc/
HDtunables.mdoc1926 .Sy idtype
1934 .Sy idtype
1943 .Sy idtype
1952 .Sy idtype )