Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
personality.h File Reference
#include <uapi/linux/personality.h>

Go to the source code of this file.

Data Structures

struct  exec_domain


#define personality(pers)   (pers & PER_MASK)
#define set_personality(pers)   ((current->personality == (pers)) ? 0 : __set_personality(pers))


typedef void(* handler_t )(int, struct pt_regs *)


int register_exec_domain (struct exec_domain *)
int unregister_exec_domain (struct exec_domain *)
int __set_personality (unsigned int)

Macro Definition Documentation

#define personality (   pers)    (pers & PER_MASK)

Definition at line 45 of file personality.h.

#define set_personality (   pers)    ((current->personality == (pers)) ? 0 : __set_personality(pers))

Definition at line 51 of file personality.h.

Typedef Documentation

typedef void(* handler_t)(int, struct pt_regs *)

Definition at line 25 of file personality.h.

Function Documentation

int __set_personality ( unsigned  int)

Definition at line 137 of file exec_domain.c.

int register_exec_domain ( struct exec_domain )

Definition at line 90 of file exec_domain.c.

int unregister_exec_domain ( struct exec_domain )

Definition at line 117 of file exec_domain.c.