Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/key.h>
#include <linux/interrupt.h>
#include <linux/export.h>
#include <linux/user_namespace.h>
Go to the source code of this file.
Macros | |
#define | UIDHASH_BITS (CONFIG_BASE_SMALL ? 3 : 7) |
#define | UIDHASH_SZ (1 << UIDHASH_BITS) |
#define | UIDHASH_MASK (UIDHASH_SZ - 1) |
#define | __uidhashfn(uid) (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) |
#define | uidhashentry(uid) (uidhash_table + __uidhashfn((__kuid_val(uid)))) |
Functions | |
EXPORT_SYMBOL_GPL (init_user_ns) | |
struct user_struct * | find_user (kuid_t uid) |
void | free_uid (struct user_struct *up) |
struct user_struct * | alloc_uid (kuid_t uid) |
module_init (uid_cache_init) | |
Variables | |
struct user_namespace | init_user_ns |
struct hlist_head | uidhash_table [UIDHASH_SZ] |
struct user_struct | root_user |
#define __uidhashfn | ( | uid | ) | (((uid >> UIDHASH_BITS) + uid) & UIDHASH_MASK) |
#define UIDHASH_MASK (UIDHASH_SZ - 1) |
#define UIDHASH_SZ (1 << UIDHASH_BITS) |
#define uidhashentry | ( | uid | ) | (uidhash_table + __uidhashfn((__kuid_val(uid)))) |
|
read |
EXPORT_SYMBOL_GPL | ( | init_user_ns | ) |
|
read |
void free_uid | ( | struct user_struct * | up | ) |
module_init | ( | uid_cache_init | ) |
struct user_namespace init_user_ns |
struct user_struct root_user |
struct hlist_head uidhash_table[UIDHASH_SZ] |