mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
alpha: take a bunch of syscalls into osf_sys.c
New helper: current_thread_info(). Allows to do a bunch of odd syscalls in C. While we are at it, there had never been a reason to do osf_getpriority() in assembler. We also get "namespace"-aware (read: consistent with getuid(2), etc.) behaviour from getx?id() syscalls now. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Michael Cree <mcree@orcon.net.nz> Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f2db633d30
commit
be53db6e4e
5 changed files with 54 additions and 120 deletions
|
@ -1407,13 +1407,6 @@ SYSCALL_DEFINE1(alarm, unsigned int, seconds)
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef __alpha__
|
||||
|
||||
/*
|
||||
* The Alpha uses getxpid, getxuid, and getxgid instead. Maybe this
|
||||
* should be moved into arch/i386 instead?
|
||||
*/
|
||||
|
||||
/**
|
||||
* sys_getpid - return the thread group id of the current process
|
||||
*
|
||||
|
@ -1469,8 +1462,6 @@ SYSCALL_DEFINE0(getegid)
|
|||
return from_kgid_munged(current_user_ns(), current_egid());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void process_timeout(unsigned long __data)
|
||||
{
|
||||
wake_up_process((struct task_struct *)__data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue