diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-11-30 17:19:17 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-12-03 20:03:50 +0100 |
| commit | b7800fb0a2a2558484b5c032de592f66dc75d0ed (patch) | |
| tree | bad2e745d928f861f8cd00deceb57d2473190b0a /prog | |
| parent | f881e7de45e4cc113f0124ba54f0a3c9c12c5d37 (diff) | |
sys: describe some additional syscalls
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/consts.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/prog/consts.go b/prog/consts.go index 4ff4e6887..e7e796609 100644 --- a/prog/consts.go +++ b/prog/consts.go @@ -204,6 +204,8 @@ const ( GIO_SCRNMAP = 19264 GIO_UNIMAP = 19302 GIO_UNISCRNMAP = 19305 + GRND_NONBLOCK = 1 + GRND_RANDOM = 2 HW_BREAKPOINT_EMPTY = 0 HW_BREAKPOINT_R = 1 HW_BREAKPOINT_W = 2 @@ -547,6 +549,7 @@ const ( MCL_FUTURE = 2 MFD_ALLOW_SEALING = 2 MFD_CLOEXEC = 1 + MLOCK_ONFAULT = 1 MMAP_PAGE_ZERO = 1048576 MNT_DETACH = 2 MNT_EXPIRE = 4 |
