Add a wrapper for linux_getsid -> getsid Syscall.

This commit is contained in:
Michael Reifenberger 2001-09-15 09:57:30 +00:00
parent 8b43a51e12
commit b8febfd1f2
3 changed files with 8 additions and 2 deletions

View File

@ -52,7 +52,6 @@ DUMMY(bdflush);
DUMMY(sysfs);
DUMMY(setfsuid);
DUMMY(setfsgid);
DUMMY(getsid);
DUMMY(query_module);
DUMMY(nfsservctl);
DUMMY(prctl);

View File

@ -1339,3 +1339,11 @@ linux_getuid(struct thread *td, struct linux_getuid_args *args)
td->td_retval[0] = td->td_proc->p_ucred->cr_ruid;
return (0);
}
int
linux_getsid(struct thread *td, struct linux_getsid_args *args)
{
struct getsid_args bsd;
bsd.pid = args->pid;
return getsid(td, &bsd);
}

View File

@ -54,7 +54,6 @@ DUMMY(get_kernel_syms);
DUMMY(quotactl);
DUMMY(bdflush);
DUMMY(sysfs);
DUMMY(getsid);
DUMMY(vm86);
DUMMY(query_module);
DUMMY(nfsservctl);