Fix definition of getpeername on FreeBSD

We were using the COMPAT magic number, which was recently removed.
This commit is contained in:
Justine Tunney 2024-05-26 17:03:22 -07:00
parent af3f62a71a
commit c68f6599e5
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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