From owner-freebsd-current@freebsd.org Thu Mar 21 15:49:03 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B5611545D13 for ; Thu, 21 Mar 2019 15:49:03 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F2426A69F for ; Thu, 21 Mar 2019 15:49:02 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt1-x836.google.com with SMTP id w5so1900305qtb.11 for ; Thu, 21 Mar 2019 08:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=In4Ogo95TP2ORdlQubBBsnFk2bS17kvPi7r50GjqFuM=; b=MNe3xUPPpBBGzfVnE9PPjA3rZDNitxqTU4ZV0fwW11ilCFfBa4X0Ew1KNxMZkVEMGy eDUCesFyPn3jSdrUg76NhuWV6LjdAOXXVUU4zvp0Om1Wl899TPq1SYfprlF05ztFiN7U cLlyp/qexVJoc7V6HLnTuJTZ9dtyoBJXG56cAMNAPIGkW5Bd/WazP45uW63tJ4+ZW40L vUsKmqme5TlHYSJ7m3uxHIxL9rrKffQt7niQVyLk42cI4vFZlGdX1r4bVnk3zOUkBsfg ouMgTi4Yiz0fiPhcCESRoGP/Qfps1c1pFh4u1VqAJFo9uSeEBaHP0NW8ZiuA9qMGDrpi HrTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=In4Ogo95TP2ORdlQubBBsnFk2bS17kvPi7r50GjqFuM=; b=NuC01gMmyt5HGeKdWIxvnBJPCqkkj8GJgcy4ADGz++jeZPs4HJ+y+r33GLqbWQGDMr s+hCIygaZ7KCOSQjiNLL83tKAjD96IfpYJY9Upcg0/JkQdYNHIzftglfwdl/H1FbPkbg xOV1DDaHCsHJ0po2gDujMcrDZIbpbeDVuwdTAd8oEr8cNXXuiwrAo+64zxwFV0zInyRK mgdK/jfzMc1tuSm+849IfmfD/DmcMV367fZiyK1DF1EAsV/wOsnbxxRU7YrJ6KMXlTY3 +6+hhiPLY7EDZNKv0YYSS4SwuEQPehvulKB6/Xkgs9fuVRW6XiJuFvViypcbi9lzzcnw Kexg== X-Gm-Message-State: APjAAAVBKw8k8KggLL5zGY/Aq2+bT9NfdBz6wH0a8+g1b2WghVGtTRNc HDHoyFtYuQjGv6afr3idrTa+Zw== X-Google-Smtp-Source: APXvYqw0XJFRFYRpFKXwA2uhemMQ0mJukqZkp3qNuYtLcGgD5L2JLDHUqo5NctVhVEHv5KGaa4+tPA== X-Received: by 2002:ac8:2e75:: with SMTP id s50mr3667105qta.375.1553183341508; Thu, 21 Mar 2019 08:49:01 -0700 (PDT) Received: from mutt-hbsd ([63.88.83.108]) by smtp.gmail.com with ESMTPSA id x33sm3379965qth.7.2019.03.21.08.49.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Mar 2019 08:49:00 -0700 (PDT) Date: Thu, 21 Mar 2019 11:48:17 -0400 From: Shawn Webb To: Alan Somers Cc: FreeBSD CURRENT , freebsd-fs Subject: Re: HEAD'S UP: fusefs sysctls going away Message-ID: <20190321154817.2lgwjzl4o2urlmdw@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bdgmafmfgs34qa4w" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 5F2426A69F X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=MNe3xUPP; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-7.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.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]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.73)[ip: (-8.63), ipnet: 2607:f8b0::/32(-2.82), asn: 15169(-2.12), country: US(-0.07)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2019 15:49:03 -0000 --bdgmafmfgs34qa4w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Alan, Thank you very much for your work in maintaining fusefs. I only use fusefs in very limited circumstances, so take what I'm about to say with a grain of salt. On Thu, Mar 21, 2019 at 09:43:07AM -0600, Alan Somers wrote: > fusefs has several sysctl knobs that seem to be workarounds for bugs > in particular fuse daemons. However, there is no indication as to > which those daemons are, neither in the code nor in SVN. All of the > workarounds are at least 6.5 years old, so the original bugs may have > been fixed already. Since the original bugs aren't documented, I > consider these workarounds to be unmaintainable, and I'm planning to > delete them unless anybody objects. Please pipe up if you still use > them! >=20 > vfs.fusefs.mmap_enable: If non-zero, and data_cache_mode is also > non-zero, enable mmap(2) of FUSE files I'm curious if the security impacts of removing the toggle to disable mmap support for fusefs. Is there a per-fusefs replacement for mmap_enable? From a security perspective, it would be nice to keep the ability to disable mapping of files mounted on a fusefs. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --bdgmafmfgs34qa4w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlyTsjwACgkQaoRlj1JF bu4hYQ/9HMjVkNGD/f4Ww+73pu+4cmA6Uf3Jg63HdrBTrlo2GTPQ/+LvCvliiFcp 9ToSlF3cDQ5lXx3cIDRD4YsfcxvEj5VAw4g6HRPyIKIngA2WphrX2+MYallAq9mI z+Yk7FIb/T5/v7HHHH266iZAIDN43j2k2fr2odw01M4RPM/y7dXpJJOzA+dMsUup TAw9P+spa/R//6YXy80JcEJsrPN1YyoYmGmmlHdB084vN2Vr3Yd/8PVZfPbNeYXo D5FVGHHoGxUKqv5f76Ighgievl2Hg1taDyEhfH6S954TbqcX0lFQNB6X/txDbCiy l14ihYsDwrq/zbBQHFWQMnfmLM0UZo2mGF3XM2Q/4qbRHw/TLUeAO01Xjilj9sZp npks65bJ9t2EIpe6LxM1ZYGUSoRp/jIN52KBr6mlj5tp6TdCA0clfi/XsDrE4cXg E9rZwv791MF64CCEjgLGKKZ9yUcvyzB6esocg7IKYdEIc15fqQMISgFyj9V0UsJV kiObS0bmX232KkyqSRgRVqF6A+23fmgqKPjX7MXunHtpQeX0mULxNVjylWto5mhi OP5GwcTFti64ZNa9t/QVg7pQX7uKQCTyb1iY2opTpqCTxbCJWWM/xYadOSk9WAiy +vwl4ZaXmj6Aw1PudyNs/T0H78jzXI2l8homLHjBeaFjCulZCgE= =v3qm -----END PGP SIGNATURE----- --bdgmafmfgs34qa4w--