From nobody Thu Sep 07 03:43:54 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rh4qC20dNz4s3Nt for ; Thu, 7 Sep 2023 03:44:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rh4qB5pYJz4Snd for ; Thu, 7 Sep 2023 03:44:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b="WFaf/W34"; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2a00:1450:4864:20::534) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-52a4737a08fso516276a12.3 for ; Wed, 06 Sep 2023 20:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1694058245; x=1694663045; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0RL5a5G2Xg3egO+c1/jhlb5qlc+1FxLC69K2HxTQM4A=; b=WFaf/W34HBhuGudci68v+qAbS04xuT8LllLKLHWGxzWAIaXz+2/n8hKiTrJLbw7Hvu dNkpiVe0W73Yt80Gbp1lRd/NkT128Wt+UaolJSat7Og+pgqN5wvhjaOGAdxQ8C5IrWGY G78/ircgUVkMyr8dUp3GPjFII5AU4msO/pJAKvfOmRyIiBzWzqqkJYoVPBQg2Et8jll2 S5Fh4CwnRLYVgB/xaJ8p9yL9yEo/Gfp+DyP8XSg33gFV+pTXoVce1J7sNWqZH1BQQYu1 fgCIxlZ+74F7P+IZgkCVUaM1u78merdyUs3VEx1Lf+gz1PLgBCX6IDASS4OvCNxTXStH 4GCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694058245; x=1694663045; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0RL5a5G2Xg3egO+c1/jhlb5qlc+1FxLC69K2HxTQM4A=; b=XMTKPcncygECxnTrfgBCD6tYcM+u3Hk+4DwUKvrUbt+4vQc++dDNvXubvsO3tVKcPy PCwJhWhXYGBpUcgka4fnB3zHyt6B3hbZIkZ9pP8+CVY/iRkQwfedhRaIbxTI6z5EfRTS wRcElg8i0bKziJhO+RawUrHTrDssgOopDgglNKgKTF++FSD28YjjfKP10UkcseRosJnV xly47xSvHsebKR53usPe/OcnkwJ7oKq/sTS8JaCd41hZGzv32mbDHpm43JmoygCcT5ti V42qTCl3Eas0Y1UTPwiUbor6EtnoT3w7oK6Ya5+wpEePCFkZax2sTLkOeVIBAQtOaN3R 67hQ== X-Gm-Message-State: AOJu0YxeSjqyOhruX2wkHQ9afDikaQtznHd5/LS8OaMY2kM2ilo8bbfy i+pKhUOG+jkcJ2/IX9BGoiM70sqQuXlhKKvT65jXpBRfx5s+AqYi X-Google-Smtp-Source: AGHT+IERK0Yl+/yC5w8fsN6ukynaua5k2FXfi70p7PRFTo0XtW3hNsBcH+lq4ZKpGtk2vPn29g0IBQGT7CETGLYhbW8= X-Received: by 2002:a05:6402:11ce:b0:52c:84c4:a0bf with SMTP id j14-20020a05640211ce00b0052c84c4a0bfmr5024865edw.30.1694058244930; Wed, 06 Sep 2023 20:44:04 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 6 Sep 2023 21:43:54 -0600 Message-ID: Subject: Re: Will we ever raise _POSIX_VERSION ? To: Alan Somers Cc: FreeBSD Hackers Content-Type: multipart/alternative; boundary="000000000000eb1df70604bcab73" X-Spamd-Bar: - X-Spamd-Result: default: False [-2.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_TLS_LAST(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::534:server fail]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::534:from]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] X-Rspamd-Queue-Id: 4Rh4qB5pYJz4Snd --000000000000eb1df70604bcab73 Content-Type: text/plain; charset="UTF-8" On Wed, Sep 6, 2023, 9:40 PM Warner Losh wrote: > > > On Wed, Sep 6, 2023, 8:28 PM Alan Somers wrote: > >> I notice that _POSIX_VERSION is still set to 200112L. That's a shame, >> because it prevents zstd from using utimensat and tzdata from using >> strftime_l, even though we implement both of those functions. And who >> knows what programs in ports are keying off of it. What would be >> required for us to confidently raise it to 200809L or later? >> > > The delta between the two is small... > > It would take an exp run to find out... it would also tell you 90% of > what's needed as well as trigger a few false positives where ports are > naughty... > > Also, we should have a new standard that's the first major revision since > 2001... > Nobody has paid someone to do the drudge work of ticking off all the boxes... it's not terribly hard work, just tedious. Especially since there will likely be a few variations in glibc that programs expect too... Warner Warner > >> --000000000000eb1df70604bcab73 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Sep 6, 2023, 9:40 PM Warner Losh <imp@bsdimp.com> wrote:


On Wed, Sep 6, 2023, 8:28 PM Ala= n Somers <asomers@freebsd.org> wrote:
I notice that _POSIX_VERSION is still set to 200112L.=C2=A0= That's a shame,
because it prevents zstd from using utimensat and tzdata from using
strftime_l, even though we implement both of those functions.=C2=A0 And who=
knows what programs in ports are keying off of it.=C2=A0 What would be
required for us to confidently raise it to 200809L or later?

The delta betwe= en the two is small...

I= t would take an exp run to find out... it would also tell you 90% of what&#= 39;s needed as well as trigger a few false positives where ports are naught= y...

Also, we should hav= e a new standard that's the first major revision since 2001...

N= obody has paid someone to do the drudge work of ticking off all the boxes..= . it's not terribly hard work, just tedious.=C2=A0 Especially since the= re will likely be a few variations in glibc that programs expect too...

Warner

Warner
--000000000000eb1df70604bcab73--