Lines Matching refs:td

108 linux_chown16(struct thread *td, struct linux_chown16_args *args)
113 LCONVPATHEXIST(td, args->path, &path);
124 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE,
133 linux_lchown16(struct thread *td, struct linux_lchown16_args *args)
138 LCONVPATHEXIST(td, args->path, &path);
149 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE,
158 linux_setgroups16(struct thread *td, struct linux_setgroups16_args *args)
183 p = td->td_proc;
215 setsugid(td->td_proc);
228 linux_getgroups16(struct thread *td, struct linux_getgroups16_args *args)
238 cred = td->td_ucred;
249 td->td_retval[0] = bsd_gidsetsz;
276 td->td_retval[0] = ngrp;
283 * The FreeBSD native getgid(2) and getuid(2) also modify td->td_retval[1]
293 linux_getgid16(struct thread *td, struct linux_getgid16_args *args)
298 td->td_retval[0] = td->td_ucred->cr_rgid;
305 linux_getuid16(struct thread *td, struct linux_getuid16_args *args)
310 td->td_retval[0] = td->td_ucred->cr_ruid;
317 linux_getegid16(struct thread *td, struct linux_getegid16_args *args)
324 error = sys_getegid(td, &bsd);
331 linux_geteuid16(struct thread *td, struct linux_geteuid16_args *args)
338 error = sys_geteuid(td, &bsd);
345 linux_setgid16(struct thread *td, struct linux_setgid16_args *args)
353 error = sys_setgid(td, &bsd);
360 linux_setuid16(struct thread *td, struct linux_setuid16_args *args)
368 error = sys_setuid(td, &bsd);
375 linux_setregid16(struct thread *td, struct linux_setregid16_args *args)
384 error = sys_setregid(td, &bsd);
391 linux_setreuid16(struct thread *td, struct linux_setreuid16_args *args)
400 error = sys_setreuid(td, &bsd);
407 linux_setresgid16(struct thread *td, struct linux_setresgid16_args *args)
418 error = sys_setresgid(td, &bsd);
425 linux_setresuid16(struct thread *td, struct linux_setresuid16_args *args)
436 error = sys_setresuid(td, &bsd);