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

/freebsd-10.0-release/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-10.0-release/lib/libc/gen/
H A Dwaitid.c42 __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) argument
47 ret = _wait6(idtype, id, &status, flags, NULL, info);
/freebsd-10.0-release/tools/regression/mac/mac_portacl/
H A Dmisc.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}`
/freebsd-10.0-release/sys/security/mac_portacl/
H A Dmac_portacl.c137 * idtype:id:protocol:portnumber, and constitutes granting of permission
182 char *idtype, *id, *protocol, *portnumber, *p; local
189 idtype = strsep(&element, ":");
190 if (idtype == NULL) {
204 if (strcmp(idtype, UID_STRING) == 0)
206 else if (strcmp(idtype, GID_STRING) == 0)
277 const char *idtype, *protocol;
281 idtype = GID_STRING;
284 idtype = UID_STRING;
287 panic("rule_printf: unknown idtype (
[all...]
/freebsd-10.0-release/sys/kern/
H A Dkern_exit.c713 idtype_t idtype; local
717 idtype = uap->idtype;
735 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip);
875 proc_to_reap(struct thread *td, struct proc *p, idtype_t idtype, id_t id, argument
886 switch (idtype) {
1025 idtype_t idtype; local
1030 * Translate the special pid values into the (idtype, pid)
1035 idtype = P_ALL;
1038 idtype
1062 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 Dsys_process.c1329 idtype_t idtype; member in struct:procctl_args
1353 return (kern_procctl(td, uap->idtype, uap->id, uap->com, data));
1370 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) argument
1377 switch (idtype) {
H A Dsystrace_args.c3273 iarg[0] = p->idtype; /* idtype_t */
3382 iarg[0] = p->idtype; /* idtype_t */
/freebsd-10.0-release/usr.bin/kdump/
H A Dmksubr333 idtypename(idtype_t idtype, int decimal)
335 switch(idtype) {
386 printf("%d", idtype);
388 printf("%#x", idtype);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocessor.h120 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-10.0-release/sys/sys/
H A Dwait.h94 idtype /* pollutes XPG4.2 namespace */ enum
H A Dsyscallsubr.h38 enum idtype;
170 int kern_procctl(struct thread *td, enum idtype idtype, id_t id, int com,
255 int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,
H A Dsysproto.h1756 char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; member in struct:wait6_args
1817 char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; member in struct:procctl_args
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32_proto.h625 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member in struct:freebsd32_wait6_args
651 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member in struct:freebsd32_wait6_args
675 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member in struct:freebsd32_procctl_args
684 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; member in struct:freebsd32_procctl_args
H A Dfreebsd32_systrace_args.c3144 iarg[0] = p->idtype; /* int */
3182 iarg[0] = p->idtype; /* int */
3294 iarg[0] = p->idtype; /* int */
3307 iarg[0] = p->idtype; /* int */
H A Dfreebsd32_misc.c196 error = kern_wait6(td, uap->idtype, PAIR32TO64(id_t, uap->id),
3021 return (kern_procctl(td, uap->idtype, PAIR32TO64(id_t, uap->id),

Completed in 356 milliseconds