diff options
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 7acea9f..f82f799 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -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); +} |