strace/xlat/key_perms.in
Dmitry V. Levin 2094573930 Remove linux/keyctl.h
* linux/keyctl.h: Remove.
* Makefile.am (EXTRA_DIST): Remove it.
* keyctl.c: Do not include <linux/keyctl.h>.
* xlat/key_perms.in: Add default values.
* xlat/key_reqkeys.in: Likewise.
* xlat/key_spec.in: Likewise.
* xlat/keyctl_commands.in: Likewise.
2015-02-19 21:42:31 +00:00

29 lines
692 B
Plaintext

KEY_POS_VIEW 0x01000000
KEY_POS_READ 0x02000000
KEY_POS_WRITE 0x04000000
KEY_POS_SEARCH 0x08000000
KEY_POS_LINK 0x10000000
KEY_POS_SETATTR 0x20000000
KEY_POS_ALL 0x3f000000
KEY_USR_VIEW 0x00010000
KEY_USR_READ 0x00020000
KEY_USR_WRITE 0x00040000
KEY_USR_SEARCH 0x00080000
KEY_USR_LINK 0x00100000
KEY_USR_SETATTR 0x00200000
KEY_USR_ALL 0x003f0000
KEY_GRP_VIEW 0x00000100
KEY_GRP_READ 0x00000200
KEY_GRP_WRITE 0x00000400
KEY_GRP_SEARCH 0x00000800
KEY_GRP_LINK 0x00001000
KEY_GRP_SETATTR 0x00002000
KEY_GRP_ALL 0x00003f00
KEY_OTH_VIEW 0x00000001
KEY_OTH_READ 0x00000002
KEY_OTH_WRITE 0x00000004
KEY_OTH_SEARCH 0x00000008
KEY_OTH_LINK 0x00000010
KEY_OTH_SETATTR 0x00000020
KEY_OTH_ALL 0x0000003f