github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/rights_amd64.const (about) 1 ZX_HANDLE_INVALID = 0 2 ZX_RIGHT_NONE = 0 3 ZX_RIGHT_DUPLICATE = 1 4 ZX_RIGHT_TRANSFER = 2 5 ZX_RIGHT_READ = 4 6 ZX_RIGHT_WRITE = 8 7 ZX_RIGHT_EXECUTE = 16 8 ZX_RIGHT_MAP = 32 9 ZX_RIGHT_GET_PROPERTY = 64 10 ZX_RIGHT_SET_PROPERTY = 128 11 ZX_RIGHT_ENUMERATE = 256 12 ZX_RIGHT_DESTROY = 512 13 ZX_RIGHT_SET_POLICY = 1024 14 ZX_RIGHT_GET_POLICY = 2048 15 ZX_RIGHT_SIGNAL = 4096 16 ZX_RIGHT_SIGNAL_PEER = 8192 17 ZX_RIGHT_WAIT = 16384 18 ZX_RIGHT_INSPECT = 32768 19 ZX_RIGHT_MANAGE_JOB = 65536 20 ZX_RIGHT_MANAGE_PROCESS = 131072 21 ZX_RIGHT_MANAGE_THREAD = 262144 22 ZX_RIGHT_APPLY_PROFILE = 524288 23 ZX_RIGHT_MANAGE_SOCKET = 1048576 24 ZX_RIGHT_SAME_RIGHTS = 2147483648 25 # compound rights constants 26 RIGHTS_BASIC = 49155 27 RIGHTS_IO = 12 28 RIGHTS_PROPERTY = 192 29 RIGHTS_POLICY = 3072 30 DEFAULT_CHANNEL_RIGHTS = 61454 31 DEFAULT_EVENT_RIGHTS = 53251