From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F368E385840A; Wed, 28 Feb 2024 17:59:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F368E385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709143152; bh=g6QqH7nkRDsNxIZ5lpUvJ+81XP50aQLoTbbf39FoOQ4=; h=From:To:Subject:Date:From; b=gk6V/5c0t64HWKh+TbPQCSi+Rjk4SLSjlIpE6nToiP/YVYXjMw+I9CqkPt2Z3bxyQ gkhvUhRmpScXI89ai3m48z0S4hTMZOeUJkoC/HbaWLtxh/qVQbI53uP8IUYhsdEnIG 4q+yjpdu12sdIgzFerGOT6pC+rr6EiPQTFQd0I04= From: "stefan.smorra at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/31430] New: glibc doesn't define MAP_UNINITIALIZED Date: Wed, 28 Feb 2024 17:59:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: stefan.smorra at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31430 Bug ID: 31430 Summary: glibc doesn't define MAP_UNINITIALIZED Product: glibc Version: 2.39 Status: UNCONFIRMED Severity: minor Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: stefan.smorra at gmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- When you look into Linux 'man mmap' you'll find MAP_UNINITIALIZED which exi= sts for roughly 14 years (in the Linux kernel). However when I include sys/mman.h it says MAP_UNINITIALIZED is undeclared. I am not 100% sure if this is a bug in glibc or intention. I searched the web, mailing lists, stackoverflow and the glibc source code = and found nothing about why this macro is undefined in glibc. The only comment about this flag is in tst-mman-consts.py. It says MAP_UNINITIALIZED is kernel only. Does that mean glibc doesn't support Linux only features? I am not sure. --=20 You are receiving this mail because: You are on the CC list for the bug.=