Source file src/internal/runtime/syscall/defs_linux.go

     1  // Copyright 2024 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package syscall
     6  
     7  const (
     8  	AT_FDCWD = -0x64
     9  
    10  	ENOENT = 0x2
    11  
    12  	EPOLLIN       = 0x1
    13  	EPOLLOUT      = 0x4
    14  	EPOLLERR      = 0x8
    15  	EPOLLHUP      = 0x10
    16  	EPOLLRDHUP    = 0x2000
    17  	EPOLLET       = 0x80000000
    18  	EPOLL_CLOEXEC = 0x80000
    19  	EPOLL_CTL_ADD = 0x1
    20  	EPOLL_CTL_DEL = 0x2
    21  	EPOLL_CTL_MOD = 0x3
    22  	EFD_CLOEXEC   = 0x80000
    23  
    24  	O_RDONLY  = 0x0
    25  	O_CLOEXEC = 0x80000
    26  
    27  	PR_SET_VMA           = 0x53564d41
    28  	PR_SET_VMA_ANON_NAME = 0
    29  )
    30  

View as plain text