NetBSD Problem Report #57771

From www@netbsd.org  Thu Dec 14 16:07:04 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 989C91A9238
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 14 Dec 2023 16:07:04 +0000 (UTC)
Message-Id: <20231214160703.3F1421A923C@mollari.NetBSD.org>
Date: Thu, 14 Dec 2023 16:07:03 +0000 (UTC)
From: tlaronde@kergis.com
Reply-To: tlaronde@kergis.com
To: gnats-bugs@NetBSD.org
Subject: compat/linux/common: sysinfo(2) structure now takes pages not bytes
X-Send-Pr-Version: www-1.0

>Number:         57771
>Category:       kern
>Synopsis:       compat/linux/common: sysinfo(2) structure now takes pages not bytes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 14 16:10:01 +0000 2023
>Originator:     Thierry LARONDE
>Release:        All
>Organization:
>Environment:
NetBSD cauchy.polynum.local 10.99.10 NetBSD 10.99.10 (CAUCHY) #3: Tue Dec 12 20:52:43 CET 2023  tlaronde@cauchy.polynum.local:/data/m/netbsd-10/sys/arch/amd64/compile/CAUCHY amd64
>Description:
sys/compat/linux/common/linux_misc.c:

sysinfo(2) has changed for all kernels >= 2.3.48 the members of sysinfo struct takes pages and not bytes (and the members have changed).

>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.