NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/61007: compat_linux: setsockopt misinterprets SOL_SOCKET as IPPROTO_ICMP



The following reply was made to PR kern/61007; it has been noted by GNATS.

From: "Nils (Tuxifan)" <tuxifan%posteo.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/61007: =?UTF-8?Q?compat=5Flinux=3A=20setsockopt=20misint?=
 =?UTF-8?Q?erprets=20SOL=5FSOCKET=20as=20IPPROTO=5FICMP?=
Date: Mon, 16 Nov 2026 17:12:11 +0000

 Christos Zoulas via gnats:
 >  This is just confusion on kdump. On linux SOL_SOCKET and IPPROTO_ICMP 
 > =
 >  are both 1, so the ktrace code
 >  can't tall the difference because it is printing the arguments before 
 > =
 >  the system call glue code translates them.
 
 Ah, okay. I was getting a "buffer full" error in response to the call so 
 I assumed there must be something weird going on on the kernel side too.
 Or do the error codes not map properly either?
 



Home | Main Index | Thread Index | Old Index