mirror of
https://github.com/golang/go
synced 2024-11-20 01:54:41 -07:00
003dccfac4
The SecureRandom named service was removed in https://codereview.chromium.org/550523002. And the new syscall was introduced in https://codereview.chromium.org/537543003. Accepting this will remove the support for older version of sel_ldr. I've confirmed that both pepper_40 and current pepper_canary have this syscall. After this change, we need sel_ldr from pepper_39 or above to work. Fixes #9261 Change-Id: I096973593aa302ade61f259a3a71ebc7c1a57913 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/1755 Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
85 lines
2.1 KiB
C
85 lines
2.1 KiB
C
// generated by mknacl.sh - do not edit
|
|
#define SYS_null 1
|
|
#define SYS_nameservice 2
|
|
#define SYS_dup 8
|
|
#define SYS_dup2 9
|
|
#define SYS_open 10
|
|
#define SYS_close 11
|
|
#define SYS_read 12
|
|
#define SYS_write 13
|
|
#define SYS_lseek 14
|
|
#define SYS_stat 16
|
|
#define SYS_fstat 17
|
|
#define SYS_chmod 18
|
|
#define SYS_isatty 19
|
|
#define SYS_brk 20
|
|
#define SYS_mmap 21
|
|
#define SYS_munmap 22
|
|
#define SYS_getdents 23
|
|
#define SYS_mprotect 24
|
|
#define SYS_list_mappings 25
|
|
#define SYS_exit 30
|
|
#define SYS_getpid 31
|
|
#define SYS_sched_yield 32
|
|
#define SYS_sysconf 33
|
|
#define SYS_gettimeofday 40
|
|
#define SYS_clock 41
|
|
#define SYS_nanosleep 42
|
|
#define SYS_clock_getres 43
|
|
#define SYS_clock_gettime 44
|
|
#define SYS_mkdir 45
|
|
#define SYS_rmdir 46
|
|
#define SYS_chdir 47
|
|
#define SYS_getcwd 48
|
|
#define SYS_unlink 49
|
|
#define SYS_imc_makeboundsock 60
|
|
#define SYS_imc_accept 61
|
|
#define SYS_imc_connect 62
|
|
#define SYS_imc_sendmsg 63
|
|
#define SYS_imc_recvmsg 64
|
|
#define SYS_imc_mem_obj_create 65
|
|
#define SYS_imc_socketpair 66
|
|
#define SYS_mutex_create 70
|
|
#define SYS_mutex_lock 71
|
|
#define SYS_mutex_trylock 72
|
|
#define SYS_mutex_unlock 73
|
|
#define SYS_cond_create 74
|
|
#define SYS_cond_wait 75
|
|
#define SYS_cond_signal 76
|
|
#define SYS_cond_broadcast 77
|
|
#define SYS_cond_timed_wait_abs 79
|
|
#define SYS_thread_create 80
|
|
#define SYS_thread_exit 81
|
|
#define SYS_tls_init 82
|
|
#define SYS_thread_nice 83
|
|
#define SYS_tls_get 84
|
|
#define SYS_second_tls_set 85
|
|
#define SYS_second_tls_get 86
|
|
#define SYS_exception_handler 87
|
|
#define SYS_exception_stack 88
|
|
#define SYS_exception_clear_flag 89
|
|
#define SYS_sem_create 100
|
|
#define SYS_sem_wait 101
|
|
#define SYS_sem_post 102
|
|
#define SYS_sem_get_value 103
|
|
#define SYS_dyncode_create 104
|
|
#define SYS_dyncode_modify 105
|
|
#define SYS_dyncode_delete 106
|
|
#define SYS_test_infoleak 109
|
|
#define SYS_test_crash 110
|
|
#define SYS_test_syscall_1 111
|
|
#define SYS_test_syscall_2 112
|
|
#define SYS_futex_wait_abs 120
|
|
#define SYS_futex_wake 121
|
|
#define SYS_pread 130
|
|
#define SYS_pwrite 131
|
|
#define SYS_truncate 140
|
|
#define SYS_lstat 141
|
|
#define SYS_link 142
|
|
#define SYS_rename 143
|
|
#define SYS_symlink 144
|
|
#define SYS_access 145
|
|
#define SYS_readlink 146
|
|
#define SYS_utimes 147
|
|
#define SYS_get_random_bytes 150
|