sys_setuid() and sys_getuid() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 23 Aug 2010 19:30:07 +0000 (12:30 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:52 +0000 (17:35 -0700)
commitc3adcedf76d905f69d32027c81aea615588db7b6
tree8c39fa8c4d640541940e5f2dcac1e8501e8252e2
parentf2ed80b10a967dd90b3bea0cbe87da3bf9fefdcd
sys_setuid() and sys_getuid() (XCC)

The syscalls don't actually do anything, but it allows processes to
think it worked.  The other option would be to have glibc just lie about
it, but we might do something with these calls in the future.

Rebuild your cross compiler if you want these functions.
kern/include/ros/bits/syscall.h
kern/src/syscall.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/setgid.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/setuid.c [new file with mode: 0644]