vfs: fix return type of ioctl_file_dedupe_range
[linux-2.6-block.git] / include / linux / personality.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_PERSONALITY_H
2#define _LINUX_PERSONALITY_H
3
607ca46e
DH
4#include <uapi/linux/personality.h>
5
1da177e4
LT
6/*
7 * Return the base personality without flags.
8 */
9#define personality(pers) (pers & PER_MASK)
10
1da177e4
LT
11/*
12 * Change personality of the currently running process.
13 */
9058f3b3 14#define set_personality(pers) (current->personality = (pers))
1da177e4
LT
15
16#endif /* _LINUX_PERSONALITY_H */