From owner-freebsd-arch@freebsd.org Fri May 15 15:57:26 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A611C2F8F66 for ; Fri, 15 May 2020 15:57:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49NtMm6DtBz42Qt for ; Fri, 15 May 2020 15:57:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x731.google.com with SMTP id g185so3012271qke.7 for ; Fri, 15 May 2020 08:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HFVsw8xrDbCjCjBYoo05RlgaBUbn9FgcTIAV2OIKs54=; b=JoPiXNFZKp9gLa8oZvkHl8UAxZwdWBugiJn7GhRkpF9impORES8zSmj/PkRccCRqcq SZ9ZxxtAJ3Qll8Bayt+U7Z4kKV5gEuCSCbrHZwefebsisaOL8C7jBDJR2aIYhitvUksM 8y9U1hMc5YzHUQsplNI6SRxPT8fql3u9qI8maegpOojj332JmLuVC4TktsTXR9pgLHwy 4S1rI0ZDYWZ60D5YGVt35TtMpXGXyu+cKwTJqOO2y3U5Q2ioFEm/Yy2EaG0FlfFm/o6p gtGhFUVEcByUWJqhKdsFnChvi/kL9OxIp+GDsu9lY7FEZWcef95hUlYGZm0Y9N4ne0s3 5cVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HFVsw8xrDbCjCjBYoo05RlgaBUbn9FgcTIAV2OIKs54=; b=CoR02/FHnguCYS3/g/pp7jSGTKt2FpGEjZMC3/Vk7L8S2clNABD3FJPKHHkmxVVKEo yQD6N6FF5ClNwE+bIgagkg+b5kIS4WeIeAoACdZ7fvqlKv5HBhalK5IxfrAf6PRifkit 8P6f3M1cgx/pDiF5KnK1YSsQ0njIOIHjCkPZMycyZ/k/Eh+0haKnU2Ysbi9tyShotV1A 9CKYusS8KfpzreGzNnOqVrpq6EjTO0lxEaoklfFzHNhPo0ksPWpKmG7rHdjrJIxIzMOP Y5+kcOk6mAYpaTtQ8KflfWhweRPcn/8yKvL0SnsELDwjAg7TjR8yHXLlvOBiIbuSvzZF X2gA== X-Gm-Message-State: AOAM533SJAfwlWmcfpPaYsRnF4JzqOW6rXvsVL3youxUef+3wO7O7kPH vVm4V/HJiXsxnHV8erh8So1wGXbQsDjBed3P5rFo3g== X-Google-Smtp-Source: ABdhPJzZfy7QIXi9UWVLT4yCy0VkHE/1gD4q0Bu/z3AE0bKs+3VejTmRM6fOFG0gAFv/Cf74IklClk/3fUMU1OKt45s= X-Received: by 2002:a05:620a:5bc:: with SMTP id q28mr4101296qkq.60.1589558243731; Fri, 15 May 2020 08:57:23 -0700 (PDT) MIME-Version: 1.0 References: <202005151504.04FF423p040952@fire.js.berklix.net> In-Reply-To: <202005151504.04FF423p040952@fire.js.berklix.net> From: Warner Losh Date: Fri, 15 May 2020 09:57:12 -0600 Message-ID: Subject: Re: [HEADSUP] Disallowing read() of a directory fd To: "Julian H. Stacey" Cc: "freebsd-arch@freebsd.org" , "freebsd-hackers@freebsd.org" , Kyle Evans , Poul-Henning Kamp , Alan Somers , Arne Steinkamm X-Rspamd-Queue-Id: 49NtMm6DtBz42Qt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=JoPiXNFZ; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::731) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.98 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCPT_COUNT_SEVEN(0.00)[7]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-1.98)[ip: (-9.11), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.42), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2020 15:57:26 -0000 On Fri, May 15, 2020 at 9:04 AM Julian H. Stacey wrote: > kevans@ wasted FreeBSD time with threat of change at 2 days notice, > for an issue unchanged since 1972. The rush was immature. > > kevans@ should retract his threat of forced urgent change, or expect > core@ be asked to remove his commit bit while FreeBSD considers > _un-rushed_, allowing sufficient time for all to consider options, > & to warn users in RELNOTES of any potential future change. > Threats are not tolerated in this project. This hyperbolic response has gone on long enough. Please stop and treat your fellow committers with respect and a certain level of professionalism. He's done none of the nefarious things you've said (I've known about this changes for days if not weeks as he socialized it, for example). He doesn't deserve this level of grief over a proposal. It's a request for comments, not a request for abuse and nasty behaviour. This whole thread has gone toxic / hyperbolic over a non-issue. You should have stopped reading directories in 1983 when readdir was introduced because UFS broke ls, find, du, etc. At best, it's a nice debugging tool some folks don't want to lose. At worst, it causes bugs for programs that accidentally read directories (and maybe some, like grep, need some minor changes). It's not worth this much bile and venom. Warner