Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39953
b: refs/heads/master
c: 34e856e
h: refs/heads/master
i:
  39951: d858f0f
v: v3
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Oct 20, 2006
1 parent 42ecca0 commit dd96f63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fcfab16c5b86eaa3db3a9a31adba550c5b67141
refs/heads/master: 34e856e6a522a8fc0feba7497f5b05aeaa13d473
7 changes: 7 additions & 0 deletions trunk/include/linux/personality.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _LINUX_PERSONALITY_H
#define _LINUX_PERSONALITY_H

#ifdef __KERNEL__

/*
* Handling of different ABIs (personalities).
*/
Expand All @@ -12,6 +14,8 @@ extern int register_exec_domain(struct exec_domain *);
extern int unregister_exec_domain(struct exec_domain *);
extern int __set_personality(unsigned long);

#endif /* __KERNEL__ */

/*
* Flags for bug emulation.
*
Expand Down Expand Up @@ -71,6 +75,7 @@ enum {
PER_MASK = 0x00ff,
};

#ifdef __KERNEL__

/*
* Description of an execution domain.
Expand Down Expand Up @@ -111,4 +116,6 @@ struct exec_domain {
#define set_personality(pers) \
((current->personality == pers) ? 0 : __set_personality(pers))

#endif /* __KERNEL__ */

#endif /* _LINUX_PERSONALITY_H */

0 comments on commit dd96f63

Please sign in to comment.