mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Fix definition of getpeername on FreeBSD
We were using the COMPAT magic number, which was recently removed.
This commit is contained in:
parent
af3f62a71a
commit
c68f6599e5
4 changed files with 4 additions and 4 deletions
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/macros.internal.h"
|
||||
.scall __sys_getpeername,0x01f01f08d201f034,205,31,141,globl,hidden
|
||||
.scall __sys_getpeername,0x01f01f01f201f034,205,31,31,globl,hidden
|
||||
|
|
|
@ -1598,7 +1598,7 @@ syscon nr __NR_shutdown 0x0030 0x00d2 0x2000086 0x0086 0x0086 0x0086
|
|||
syscon nr __NR_bind 0x0031 0x00c8 0x2000068 0x0068 0x0068 0x0068 0x068 0xfff
|
||||
syscon nr __NR_listen 0x0032 0x00c9 0x200006a 0x006a 0x006a 0x006a 0x06a 0xfff
|
||||
syscon nr __NR_getsockname 0x0033 0x00cc 0x2000020 0x0020 0x0020 0x0020 0x020 0xfff
|
||||
syscon nr __NR_getpeername 0x0034 0x00cd 0x200001f 0x001f 0x008d 0x001f 0x01f 0xfff
|
||||
syscon nr __NR_getpeername 0x0034 0x00cd 0x200001f 0x001f 0x001f 0x001f 0x01f 0xfff
|
||||
syscon nr __NR_socketpair 0x0035 0x00c7 0x2000087 0x0087 0x0087 0x0087 0x087 0xfff
|
||||
syscon nr __NR_setsockopt 0x0036 0x00d0 0x2000069 0x0069 0x0069 0x0069 0x069 0xfff
|
||||
syscon nr __NR_getsockopt 0x0037 0x00d1 0x2000076 0x0076 0x0076 0x0076 0x076 0xfff
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon nr,__NR_getpeername,0x0034,0x00cd,0x200001f,0x001f,0x008d,0x001f,0x01f,0xfff
|
||||
.syscon nr,__NR_getpeername,0x0034,0x00cd,0x200001f,0x001f,0x001f,0x001f,0x01f,0xfff
|
||||
|
|
|
@ -86,7 +86,7 @@ scall sys_shutdown 0x0860860862086030 0x0d2 globl hidden
|
|||
scall __sys_bind 0x0680680682068031 0x0c8 globl hidden
|
||||
scall sys_listen 0x06a06a06a206a032 0x0c9 globl hidden
|
||||
scall __sys_getsockname 0x0200200202020033 0x0cc globl hidden
|
||||
scall __sys_getpeername 0x01f01f08d201f034 0x0cd globl hidden
|
||||
scall __sys_getpeername 0x01f01f01f201f034 0x0cd globl hidden
|
||||
scall __sys_socketpair 0x0870870872087035 0x0c7 globl hidden
|
||||
scall sys_setsockopt 0x0690690692069036 0x0d0 globl hidden
|
||||
scall sys_getsockopt 0x0760760762076037 0x0d1 globl hidden
|
||||
|
|
Loading…
Reference in a new issue