|
Defines |
| #define | SET_UNALIGN_CTL(a, b) (-EINVAL) |
| #define | GET_UNALIGN_CTL(a, b) (-EINVAL) |
| #define | SET_FPEMU_CTL(a, b) (-EINVAL) |
| #define | GET_FPEMU_CTL(a, b) (-EINVAL) |
| #define | SET_FPEXC_CTL(a, b) (-EINVAL) |
| #define | GET_FPEXC_CTL(a, b) (-EINVAL) |
| #define | GET_ENDIAN(a, b) (-EINVAL) |
| #define | SET_ENDIAN(a, b) (-EINVAL) |
| #define | GET_TSC_CTL(a) (-EINVAL) |
| #define | SET_TSC_CTL(a) (-EINVAL) |
Functions |
| | EXPORT_SYMBOL (fs_overflowuid) |
| | EXPORT_SYMBOL (fs_overflowgid) |
| | EXPORT_SYMBOL (cad_pid) |
| static int | set_one_prio (struct task_struct *p, int niceval, int error) |
| | SYSCALL_DEFINE3 (setpriority, int, which, int, who, int, niceval) |
| | SYSCALL_DEFINE2 (getpriority, int, which, int, who) |
| void | emergency_restart (void) |
| | emergency_restart - reboot the system
|
| | EXPORT_SYMBOL_GPL (emergency_restart) |
| void | kernel_restart_prepare (char *cmd) |
| void | kernel_restart (char *cmd) |
| | kernel_restart - reboot the system : pointer to buffer containing command to execute for restart or NULL
|
| | EXPORT_SYMBOL_GPL (kernel_restart) |
| static void | kernel_shutdown_prepare (enum system_states state) |
| void | kernel_halt (void) |
| | kernel_halt - halt the system
|
| | EXPORT_SYMBOL_GPL (kernel_halt) |
| void | kernel_power_off (void) |
| | kernel_power_off - power_off the system
|
| | EXPORT_SYMBOL_GPL (kernel_power_off) |
| | SYSCALL_DEFINE4 (reboot, int, magic1, int, magic2, unsigned int, cmd, void __user *, arg) |
| static void | deferred_cad (struct work_struct *dummy) |
| void | ctrl_alt_del (void) |
| | SYSCALL_DEFINE2 (setregid, gid_t, rgid, gid_t, egid) |
| | SYSCALL_DEFINE1 (setgid, gid_t, gid) |
| static int | set_user (struct cred *new) |
| | SYSCALL_DEFINE2 (setreuid, uid_t, ruid, uid_t, euid) |
| | SYSCALL_DEFINE1 (setuid, uid_t, uid) |
| | SYSCALL_DEFINE3 (setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) |
| | SYSCALL_DEFINE3 (getresuid, uid_t __user *, ruid, uid_t __user *, euid, uid_t __user *, suid) |
| | SYSCALL_DEFINE3 (setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid) |
| | SYSCALL_DEFINE3 (getresgid, gid_t __user *, rgid, gid_t __user *, egid, gid_t __user *, sgid) |
| | SYSCALL_DEFINE1 (setfsuid, uid_t, uid) |
| | SYSCALL_DEFINE1 (setfsgid, gid_t, gid) |
| void | do_sys_times (struct tms *tms) |
| | SYSCALL_DEFINE1 (times, struct tms __user *, tbuf) |
| | SYSCALL_DEFINE2 (setpgid, pid_t, pid, pid_t, pgid) |
| | SYSCALL_DEFINE1 (getpgid, pid_t, pid) |
| | SYSCALL_DEFINE1 (getsid, pid_t, pid) |
| | SYSCALL_DEFINE0 (setsid) |
| struct group_info * | groups_alloc (int gidsetsize) |
| | EXPORT_SYMBOL (groups_alloc) |
| void | groups_free (struct group_info *group_info) |
| | EXPORT_SYMBOL (groups_free) |
| static int | groups_to_user (gid_t __user *grouplist, const struct group_info *group_info) |
| static int | groups_from_user (struct group_info *group_info, gid_t __user *grouplist) |
| static void | groups_sort (struct group_info *group_info) |
| int | groups_search (const struct group_info *group_info, gid_t grp) |
| int | set_groups (struct cred *new, struct group_info *group_info) |
| | set_groups - Change a group subscription in a set of credentials : The newly prepared set of credentials to alter : The group list to install
|
| | EXPORT_SYMBOL (set_groups) |
| int | set_current_groups (struct group_info *group_info) |
| | set_current_groups - Change current's group subscription : The group list to impose
|
| | EXPORT_SYMBOL (set_current_groups) |
| | SYSCALL_DEFINE2 (getgroups, int, gidsetsize, gid_t __user *, grouplist) |
| | SYSCALL_DEFINE2 (setgroups, int, gidsetsize, gid_t __user *, grouplist) |
| int | in_group_p (gid_t grp) |
| | EXPORT_SYMBOL (in_group_p) |
| int | in_egroup_p (gid_t grp) |
| | EXPORT_SYMBOL (in_egroup_p) |
| | DECLARE_RWSEM (uts_sem) |
| | SYSCALL_DEFINE1 (newuname, struct new_utsname __user *, name) |
| | SYSCALL_DEFINE2 (sethostname, char __user *, name, int, len) |
| | SYSCALL_DEFINE2 (setdomainname, char __user *, name, int, len) |
| | SYSCALL_DEFINE2 (getrlimit, unsigned int, resource, struct rlimit __user *, rlim) |
| | SYSCALL_DEFINE2 (setrlimit, unsigned int, resource, struct rlimit __user *, rlim) |
| static void | accumulate_thread_rusage (struct task_struct *t, struct rusage *r) |
| static void | k_getrusage (struct task_struct *p, int who, struct rusage *r) |
| int | getrusage (struct task_struct *p, int who, struct rusage __user *ru) |
| | SYSCALL_DEFINE2 (getrusage, int, who, struct rusage __user *, ru) |
| | SYSCALL_DEFINE1 (umask, int, mask) |
| | SYSCALL_DEFINE5 (prctl, int, option, unsigned long, arg2, unsigned long, arg3, unsigned long, arg4, unsigned long, arg5) |
| | SYSCALL_DEFINE3 (getcpu, unsigned __user *, cpup, unsigned __user *, nodep, struct getcpu_cache __user *, unused) |
| static void | argv_cleanup (char **argv, char **envp) |
| int | orderly_poweroff (bool force) |
| | orderly_poweroff - Trigger an orderly system poweroff : force poweroff if command execution fails
|
| | EXPORT_SYMBOL_GPL (orderly_poweroff) |
Variables |
| int | overflowuid = DEFAULT_OVERFLOWUID |
| int | overflowgid = DEFAULT_OVERFLOWGID |
| int | fs_overflowuid = DEFAULT_FS_OVERFLOWUID |
| int | fs_overflowgid = DEFAULT_FS_OVERFLOWUID |
| int | C_A_D = 1 |
| struct pid * | cad_pid |
| void(* | pm_power_off_prepare )(void) |
| struct group_info | init_groups = { .usage = ATOMIC_INIT(2) } |
| char | poweroff_cmd [POWEROFF_CMD_PATH_LEN] = "/sbin/poweroff" |