Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
uid16.c File Reference
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/prctl.h>
#include <linux/capability.h>
#include <linux/init.h>
#include <linux/highuid.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Functions

 SYSCALL_DEFINE3 (chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
 
 SYSCALL_DEFINE3 (lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
 
 SYSCALL_DEFINE3 (fchown16, unsigned int, fd, old_uid_t, user, old_gid_t, group)
 
 SYSCALL_DEFINE2 (setregid16, old_gid_t, rgid, old_gid_t, egid)
 
 SYSCALL_DEFINE1 (setgid16, old_gid_t, gid)
 
 SYSCALL_DEFINE2 (setreuid16, old_uid_t, ruid, old_uid_t, euid)
 
 SYSCALL_DEFINE1 (setuid16, old_uid_t, uid)
 
 SYSCALL_DEFINE3 (setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid)
 
 SYSCALL_DEFINE3 (getresuid16, old_uid_t __user *, ruidp, old_uid_t __user *, euidp, old_uid_t __user *, suidp)
 
 SYSCALL_DEFINE3 (setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid)
 
 SYSCALL_DEFINE3 (getresgid16, old_gid_t __user *, rgidp, old_gid_t __user *, egidp, old_gid_t __user *, sgidp)
 
 SYSCALL_DEFINE1 (setfsuid16, old_uid_t, uid)
 
 SYSCALL_DEFINE1 (setfsgid16, old_gid_t, gid)
 
 SYSCALL_DEFINE2 (getgroups16, int, gidsetsize, old_gid_t __user *, grouplist)
 
 SYSCALL_DEFINE2 (setgroups16, int, gidsetsize, old_gid_t __user *, grouplist)
 
 SYSCALL_DEFINE0 (getuid16)
 
 SYSCALL_DEFINE0 (geteuid16)
 
 SYSCALL_DEFINE0 (getgid16)
 
 SYSCALL_DEFINE0 (getegid16)
 

Function Documentation

SYSCALL_DEFINE0 ( getuid16  )

Definition at line 232 of file uid16.c.

SYSCALL_DEFINE0 ( geteuid16  )

Definition at line 237 of file uid16.c.

SYSCALL_DEFINE0 ( getgid16  )

Definition at line 242 of file uid16.c.

SYSCALL_DEFINE0 ( getegid16  )

Definition at line 247 of file uid16.c.

SYSCALL_DEFINE1 ( setgid16  ,
old_gid_t  ,
gid   
)

Definition at line 51 of file uid16.c.

SYSCALL_DEFINE1 ( setuid16  ,
old_uid_t  ,
uid   
)

Definition at line 67 of file uid16.c.

SYSCALL_DEFINE1 ( setfsuid16  ,
old_uid_t  ,
uid   
)

Definition at line 128 of file uid16.c.

SYSCALL_DEFINE1 ( setfsgid16  ,
old_gid_t  ,
gid   
)

Definition at line 136 of file uid16.c.

SYSCALL_DEFINE2 ( setregid16  ,
old_gid_t  ,
rgid  ,
old_gid_t  ,
egid   
)

Definition at line 43 of file uid16.c.

SYSCALL_DEFINE2 ( setreuid16  ,
old_uid_t  ,
ruid  ,
old_uid_t  ,
euid   
)

Definition at line 59 of file uid16.c.

SYSCALL_DEFINE2 ( getgroups16  ,
int  ,
gidsetsize  ,
old_gid_t __user ,
grouplist   
)

Definition at line 184 of file uid16.c.

SYSCALL_DEFINE2 ( setgroups16  ,
int  ,
gidsetsize  ,
old_gid_t __user ,
grouplist   
)

Definition at line 207 of file uid16.c.

SYSCALL_DEFINE3 ( chown16  ,
const char __user ,
filename  ,
old_uid_t  ,
user  ,
old_gid_t  ,
group   
)

Definition at line 19 of file uid16.c.

SYSCALL_DEFINE3 ( lchown16  ,
const char __user ,
filename  ,
old_uid_t  ,
user  ,
old_gid_t  ,
group   
)

Definition at line 27 of file uid16.c.

SYSCALL_DEFINE3 ( fchown16  ,
unsigned  int,
fd  ,
old_uid_t  ,
user  ,
old_gid_t  ,
group   
)

Definition at line 35 of file uid16.c.

SYSCALL_DEFINE3 ( setresuid16  ,
old_uid_t  ,
ruid  ,
old_uid_t  ,
euid  ,
old_uid_t  ,
suid   
)

Definition at line 75 of file uid16.c.

SYSCALL_DEFINE3 ( getresuid16  ,
old_uid_t __user ,
ruidp  ,
old_uid_t __user ,
euidp  ,
old_uid_t __user ,
suidp   
)

Definition at line 84 of file uid16.c.

SYSCALL_DEFINE3 ( setresgid16  ,
old_gid_t  ,
rgid  ,
old_gid_t  ,
egid  ,
old_gid_t  ,
sgid   
)

Definition at line 101 of file uid16.c.

SYSCALL_DEFINE3 ( getresgid16  ,
old_gid_t __user ,
rgidp  ,
old_gid_t __user ,
egidp  ,
old_gid_t __user ,
sgidp   
)

Definition at line 111 of file uid16.c.