#include <linux/cred.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <asm/uaccess.h>
Go to the source code of this file.
|
struct group_info * | groups_alloc (int gidsetsize) |
|
| EXPORT_SYMBOL (groups_alloc) |
|
void | groups_free (struct group_info *group_info) |
|
| EXPORT_SYMBOL (groups_free) |
|
int | groups_search (const struct group_info *group_info, kgid_t grp) |
|
int | set_groups (struct cred *new, struct group_info *group_info) |
|
| EXPORT_SYMBOL (set_groups) |
|
int | set_current_groups (struct group_info *group_info) |
|
| 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 (kgid_t grp) |
|
| EXPORT_SYMBOL (in_group_p) |
|
int | in_egroup_p (kgid_t grp) |
|
| EXPORT_SYMBOL (in_egroup_p) |
|
set_current_groups - Change current's group subscription : The group list to impose
Validate a group subscription and, if valid, impose it upon current's task security record.
Definition at line 182 of file groups.c.
set_groups - Change a group subscription in a set of credentials : The newly prepared set of credentials to alter : The group list to install
Validate a group subscription and, if valid, insert it into a set of credentials.
Definition at line 164 of file groups.c.
SYSCALL_DEFINE2 |
( |
getgroups |
, |
|
|
int |
, |
|
|
gidsetsize |
, |
|
|
gid_t __user * |
, |
|
|
grouplist |
|
|
) |
| |
SYSCALL_DEFINE2 |
( |
setgroups |
, |
|
|
int |
, |
|
|
gidsetsize |
, |
|
|
gid_t __user * |
, |
|
|
grouplist |
|
|
) |
| |