From owner-freebsd-hackers@freebsd.org Mon Mar 22 04:22:20 2021 Return-Path: Delivered-To: freebsd-hackers@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 95448578DCE for ; Mon, 22 Mar 2021 04:22:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3hDC36Qxz4r80 for ; Mon, 22 Mar 2021 04:22:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x736.google.com with SMTP id c4so9342848qkg.3 for ; Sun, 21 Mar 2021 21:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=2Isd29PL10P8Pna7Gb2vBm3Mhiik4LONs727lP6hiJM=; b=E042Exw3+o28uyV5/NnOs+PbhiD+VDU2u4O+hiBtVDJhOhKHwlgu/gsQdc6Tx928R6 gHkCKJAc7i4ZEYC16JEazbiUK5tXxpBjmPZLs2gA+ddzDHDBVW++0T1hCPhXhmHcA0GM JWjiz7s88+lqwUoQ4PmrcPkvWDEvtI4+P9zcL6zxs2bb4+gCuGOxZ5rDTP4rB/nBeYk6 Q0t9v02bYGUl2+LTADXglk0KhKmTcvljxRsgPRay0VMU+Q1n8BmpilccQ7ioMW9op3Xp HSsRCEKpI1H+jmM1JS9dGkzXpAxWxyuxZy4K6DHz5TXxSmCFfnih3OLf3bZbEos6Z3Zk 9KnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2Isd29PL10P8Pna7Gb2vBm3Mhiik4LONs727lP6hiJM=; b=hHDXH56nBHklz5GgnQxROBRdBT2wPPfa8asV7bWIh0JdB13xsOYOi8xTRgjO7/QuCv fVnWHaXlsLqtAYwXsMeuyzhMe65v+7Exn11hOZ443jHVDs0mbSLt0jIFdt5n8N4PaRUF SFNpp0TxHtm/1KY0k7DcG2z+LyyW7mhTEOn45+XQPjBO8yhR5UIbqjsumYyV1898cWe5 9E3++FcpjIRVhstr0jv4pAC8ejICTvR1x7nVuorTy2RtZoIVQj7OdRvnGAXxqgvIHZ9E 8rX2F3Llp/DqCbkLr+m0DKAW6NeuJrZ1ayAhscTdNqmUoGLzZOrAPqWKhcy19lJwkQEi jPUA== X-Gm-Message-State: AOAM531kh47uhNTbp11FXH5HA8WcI8nRN/ZFeWsAcr5ex4MiBNXpr7QK Tu2j/P7PXcIlWHQEtvkJJ174g+zh84DVfSKwdExVu+MCD0XrkLih X-Google-Smtp-Source: ABdhPJy9Ipj19tjxjnfGZ2mXImfJcr5CnzwpMNOt3mztQfONHcib+cX3CoE4CnfUFBvER7bUCceuL9ToAYld+kyuP+U= X-Received: by 2002:ae9:e010:: with SMTP id m16mr8889559qkk.44.1616386936084; Sun, 21 Mar 2021 21:22:16 -0700 (PDT) MIME-Version: 1.0 From: Warner Losh Date: Sun, 21 Mar 2021 22:22:05 -0600 Message-ID: Subject: Wireguard Controversy Statement To: FreeBSD Hackers X-Rspamd-Queue-Id: 4F3hDC36Qxz4r80 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=E042Exw3; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::736) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::736:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::736:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::736:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 04:22:20 -0000 Dear FreeBSD community, Core is sending this message to the users, developers, and supporters of the FreeBSD community. Per recent inquiries from the press, this is being shared as our official statement. Core unconditionally values the work of all contributors, and seeks a culture of cooperation, respect, and collaboration. The public discourse over WireGuard in the past week does not meet these standards and is damaging to our community if not checked. As such, WireGuard development for FreeBSD will now proceed outside of the base system. For those who wish to evaluate, test, or experiment with WireGuard, snapshots will be available via the ports and package systems. As a project, we remain committed to continually improving our development process. We=E2=80=99ll also continue to refine our tooling to make code rev= iews and continuous integration easier and more effective. The Core Team asks that the community use these tools and work together to improve FreeBSD. The FreeBSD Core Team From owner-freebsd-hackers@freebsd.org Mon Mar 22 14:49:55 2021 Return-Path: Delivered-To: freebsd-hackers@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 40A005B169C for ; Mon, 22 Mar 2021 14:49:55 +0000 (UTC) (envelope-from christos@christosmarg.xyz) Received: from christos (mail.christosmarg.xyz [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3y8L0xKmz3mgl for ; Mon, 22 Mar 2021 14:49:53 +0000 (UTC) (envelope-from christos@christosmarg.xyz) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=Gh79bUgKkNok HNlZyxWrQQ+T/ubNv4BGqg2aadNM6Gs=; h=subject:to:from:date; d=christosmarg.xyz; b=WXlE7MKhr/VRxVD32L3y33eF+zo+bcVpRnhG25KQEeWMjrxx NtjQiLembpaz0r09RyFXnv/Ft80sRxrTFnDDZTUHbR8CzCcDRbUETCU5FjeNTgFamng2Ea Adyzm2wAKnRyo+etcOBZItzZLc30lqFnhPZeEqtp52VRdDc6qebwo= Received: from pleb (athedsl-204716.home.otenet.gr [85.74.119.74]) by mail.christosmarg.xyz (OpenSMTPD) with ESMTPSA id 582c3513 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Mon, 22 Mar 2021 14:49:44 +0000 (UTC) Date: Mon, 22 Mar 2021 16:49:28 +0200 From: Christos Margiolis To: freebsd-hackers@freebsd.org Subject: [GSoC 2021] Project Proposal Message-ID: <20210322144928.ry75v5nlfhpzcfir@pleb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4F3y8L0xKmz3mgl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=christosmarg.xyz header.s=default header.b=WXlE7MKh; dmarc=pass (policy=none) header.from=christosmarg.xyz; spf=pass (mx1.freebsd.org: domain of christos@christosmarg.xyz designates 95.179.159.8 as permitted sender) smtp.mailfrom=christos@christosmarg.xyz X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[christosmarg.xyz:+]; DMARC_POLICY_ALLOW(-0.50)[christosmarg.xyz,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_5(3.00)[christos]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[95.179.159.8:from]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.119.74:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[christosmarg.xyz:s=default]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[95.179.159.8:from:127.0.2.255]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 14:49:55 -0000 Hello, I'm a Computer Engineering student and I'd like to propose a project for GSoC 2021 and possibly attract a mentor. This idea has already got some small traction on #freebsd (Freenode) by people involved with the project. To not bore with useless information, I basically wanted to implement a "toggle" option for mixer(8) so that you can mute and unmute the mixer easily without having to write external scripts to do that. Others have apparently asked for the same thing in the forums too. However, in order to be able to mute and unmute the mixer requires the program to have knowledge of the previous volume so that it can set it back, which means that since mixer(8) is an one-shot program, it would have to write a file to the disk, which is not the most pretty solution. To fix that, after discussing this on IRC, me and debdrup thought it'd be better to wrap mixer(8)'s functionality in a new library called libmixer(3) for the following reasons: 1. Userland programs will be able to use the mixer more easily using this library. 2. In order to solve the mixer toggling "issue" without having to write anything to disk, a new daemon called mixerd(8) can be written using libmixer(3) to keep track of the volume history among other things. 3. mixer(8) will use libmixer(3). 4. Already existing mixer ports such as MixerTUI (https://www.freshports.org/audio/mixertui) can use the library as well. Apart from the reasons I mentioned above, which I think would make mixer handling easier and more extensible, I think this library could go as far as to implement support for virtual_oss and the like. To make things more straight forward, I've already written a basic libmixer(3) which currently implements almost all of mixer(8)'s functionality. I also rewrote mixer(8) to use my libmixer(3) and it seems to be working as expected, although I cannot test everything yet. The code can be found in the following links: GitHub: https://github.com/christosmarg/libmixer My personal Git server: https://git.christosmarg.xyz/libmixer/files.html Code review is especially welcome, although at the moment it's at a very early stage - currently only 1 commit. My involvement with the FreeBSD Project also includes the following: 1. Wrote a guide Arduino development on FreeBSD without having to rely on the Arduino IDE: https://wiki.freebsd.org/Arduino/NativeCLI 2. Reported 2 bugs, including 1 fix: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254289 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254290 3. Active on IRC, mostly Freenode and sometimes EFNet (@crm). ---------------------------------------------- Christos Margiolis From owner-freebsd-hackers@freebsd.org Mon Mar 22 15:41:26 2021 Return-Path: Delivered-To: freebsd-hackers@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 091405B28EC for ; Mon, 22 Mar 2021 15:41:26 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3zHn3v70z3r89 for ; Mon, 22 Mar 2021 15:41:25 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 12MFfKbJ019693; Mon, 22 Mar 2021 08:41:27 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Mon, 22 Mar 2021 08:41:20 -0700 From: Chris To: Christos Margiolis Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal In-Reply-To: <20210322144928.ry75v5nlfhpzcfir@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> User-Agent: UDNSMS/17.0 Message-ID: <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F3zHn3v70z3r89 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 15:41:26 -0000 On 2021-03-22 07:49, Christos Margiolis wrote: > Hello, > > I'm a Computer Engineering student and I'd like to propose a project for > GSoC 2021 and possibly attract a mentor. This idea has already got some > small traction on #freebsd (Freenode) by people involved with the project. > > To not bore with useless information, I basically wanted to implement a > "toggle" option for mixer(8) so that you can mute and unmute the mixer > easily > without having to write external scripts to do that. Others have apparently > asked for the same thing in the forums too. > > However, in order to be able to mute and unmute the mixer requires the > program > to have knowledge of the previous volume so that it can set it back, which > means > that since mixer(8) is an one-shot program, it would have to write a file to > the > disk, which is not the most pretty solution. Every version of mixer that I have run keeps state in /var/db/mixerN-state: vol 100:100 pcm 100:100 where N is (0-9) which represents a previous state. This has been the case for as long as I can remember. It's much the same WiFi lease(s). Unless I'm missing something IMHO it's current incarnation seems trivial to work with / manipulate. One might consider using JSON notation in it to allow for more advanced features and manipulation / reading / status I suppose. I'm not trying to take the wind out of your sails, or anything. Just sharing my own personal observation. :-) --Chris > > To fix that, after discussing this on IRC, me and debdrup thought it'd be > better > to wrap mixer(8)'s functionality in a new library called libmixer(3) for the > following reasons: > > 1. Userland programs will be able to use the mixer more easily > using this library. > > 2. In order to solve the mixer toggling "issue" without having to > write anything to disk, a new daemon called mixerd(8) can be > written using libmixer(3) to keep track of the volume history > among other things. > > 3. mixer(8) will use libmixer(3). > > 4. Already existing mixer ports such as MixerTUI > (https://www.freshports.org/audio/mixertui) can use the library > as well. > > Apart from the reasons I mentioned above, which I think would make > mixer handling easier and more extensible, I think this library could > go as far as to implement support for virtual_oss and the like. > > To make things more straight forward, I've already written a basic > libmixer(3) which currently implements almost all of mixer(8)'s > functionality. > I also rewrote mixer(8) to use my libmixer(3) and it seems to be working > as expected, although I cannot test everything yet. > > The code can be found in the following links: > > GitHub: https://github.com/christosmarg/libmixer > My personal Git server: https://git.christosmarg.xyz/libmixer/files.html > > Code review is especially welcome, although at the moment it's at a very > early stage - currently only 1 commit. > > My involvement with the FreeBSD Project also includes the following: > > 1. Wrote a guide Arduino development on FreeBSD without > having to rely on the Arduino IDE: > > https://wiki.freebsd.org/Arduino/NativeCLI > > 2. Reported 2 bugs, including 1 fix: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254289 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254290 > > 3. Active on IRC, mostly Freenode and sometimes > EFNet (@crm). > > ---------------------------------------------- > Christos Margiolis From owner-freebsd-hackers@freebsd.org Mon Mar 22 16:18:22 2021 Return-Path: Delivered-To: freebsd-hackers@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 4EC6B5B3957 for ; Mon, 22 Mar 2021 16:18:22 +0000 (UTC) (envelope-from christos@christosmarg.xyz) Received: from christos (mail.christosmarg.xyz [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F406P43dxz3tYG for ; Mon, 22 Mar 2021 16:18:21 +0000 (UTC) (envelope-from christos@christosmarg.xyz) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=jIzrbKjS/PXf 3Y4pQVhFXkvteFKb2cuX/CNvFlH912o=; h=in-reply-to:references:subject:cc: to:from:date; d=christosmarg.xyz; b=Tqli1juv7hgT6C8WizOZmJoiUQ0YoNcVtT UxrF1qzKLZTO7/eXb0tHd0qwmQqSbtkNULuXrLHaCuAI8mF1mXWqZn1+laE/87ED2XKamG IVZw5o0CuK6VYG3gOeDcXh5idBef74S589Bki8av6GqFbXCvNSANnsCJTf/kNmFyKNQ= Received: from pleb (athedsl-204716.home.otenet.gr [85.74.119.74]) by mail.christosmarg.xyz (OpenSMTPD) with ESMTPSA id 8df03818 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 22 Mar 2021 16:18:18 +0000 (UTC) Date: Mon, 22 Mar 2021 18:18:02 +0200 From: Christos Margiolis To: Chris Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal Message-ID: <20210322161802.zouhvffwcuibwtmb@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> X-Rspamd-Queue-Id: 4F406P43dxz3tYG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=christosmarg.xyz header.s=default header.b=Tqli1juv; dmarc=pass (policy=none) header.from=christosmarg.xyz; spf=pass (mx1.freebsd.org: domain of christos@christosmarg.xyz designates 95.179.159.8 as permitted sender) smtp.mailfrom=christos@christosmarg.xyz X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[christosmarg.xyz:s=default]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[95.179.159.8:from]; SPAMHAUS_ZRD(0.00)[95.179.159.8:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[christosmarg.xyz:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[christosmarg.xyz,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_5(3.00)[christos]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.119.74:received] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 16:18:22 -0000 On Mon, Mar 22, 2021 at 08:41:20AM -0700, Chris wrote: > Every version of mixer that I have run keeps state in /var/db/mixerN-state: > vol 100:100 pcm 100:100 > where N is (0-9) which represents a previous state. This has been the case > for > as long as I can remember. It's much the same WiFi lease(s). Unless I'm > missing > something IMHO it's current incarnation seems trivial to work with / > manipulate. > One might consider using JSON notation in it to allow for more advanced > features > and manipulation / reading / status I suppose. > I'm not trying to take the wind out of your sails, or anything. Just sharing > my own personal observation. :-) > > --Chris Interesting, I didn't really know about that, so I'll have to look more into it for sure. In any case, I still think my main argument stands that a library which can be used by all userland programs that might want to have access to the mixer will be of benefit. I've already mentioned a few use cases in my initial email. Even in the case that you outlined - the state already being cached in `/var/db/mixerN-state` - I think that libmixer(3) could provide with functions that deal with those files, instead of having the programmer find ways to deal with them. mixer(8) at the moment still doesn't have the option to mute/unmute the mixer even with those files existing, so having a library handle all that stuff, will make mixer(8) basically a frontend for the library and will have cleaner code. And as I've already said in the previous email, other programs such as MixerTUI could use the library too. I think that makes things more extensible; after all, many FreeBSD programs already follow that design (library + a frontend for it). ---------------------------------------------- Christos Margiolis From owner-freebsd-hackers@freebsd.org Mon Mar 22 17:45:00 2021 Return-Path: Delivered-To: freebsd-hackers@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 3E18D5B67AD for ; Mon, 22 Mar 2021 17:45:00 +0000 (UTC) (envelope-from SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F422M2Qhkz4Wkp for ; Mon, 22 Mar 2021 17:44:58 +0000 (UTC) (envelope-from SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 63AD92840C; Mon, 22 Mar 2021 18:44:51 +0100 (CET) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7222F28417; Mon, 22 Mar 2021 18:44:50 +0100 (CET) Subject: Re: [GSoC 2021] Project Proposal To: freebsd-hackers@freebsd.org, christos@christosmarg.xyz References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Mon, 22 Mar 2021 18:44:49 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210322161802.zouhvffwcuibwtmb@pleb> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F422M2Qhkz4Wkp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [-1.80 / 15.00]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.124.105.4:from]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[94.124.105.4:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=ntoO=IU=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[94.113.69.69:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 17:45:00 -0000 On 22/03/2021 17:18, Christos Margiolis wrote: [...] > Interesting, I didn't really know about that, so I'll have to look more into it > for sure. In any case, I still think my main argument stands that a library > which can be used by all userland programs that might want to have access > to the mixer will be of benefit. > > I've already mentioned a few use cases in my initial email. Even in the case > that you outlined - the state already being cached in `/var/db/mixerN-state` - > I think that libmixer(3) could provide with functions that deal with those files, > instead of having the programmer find ways to deal with them. > > mixer(8) at the moment still doesn't have the option to mute/unmute the > mixer even with those files existing, so having a library handle all > that stuff, will make mixer(8) basically a frontend for the library and > will have cleaner code. And as I've already said in the previous email, other > programs such as MixerTUI could use the library too. I think that makes > things more extensible; after all, many FreeBSD programs already follow > that design (library + a frontend for it). Mute / unmute will be nice, library + frontend too. But I think there is no need to have a running daemon for it. Just my $0.02. Kind regards Miroslav Lachman From owner-freebsd-hackers@freebsd.org Mon Mar 22 17:55:49 2021 Return-Path: Delivered-To: freebsd-hackers@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 2CCAE5B747C for ; Mon, 22 Mar 2021 17:55:49 +0000 (UTC) (envelope-from christos@christosmarg.xyz) Received: from christos (mail.christosmarg.xyz [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F42Gq6mRvz4Xf5 for ; Mon, 22 Mar 2021 17:55:47 +0000 (UTC) (envelope-from christos@christosmarg.xyz) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=er06pM1RQtyX LtXsS2iWywIjH6unRGQoGEeBi1XX/V0=; h=in-reply-to:references:subject:cc: to:from:date; d=christosmarg.xyz; b=I/FAkhKXjs7+l+9JrL26nzVrEixHFDhz9w vts8TOADI1PAQZkL633VTe/jLpmXmXyTyvOFX6GJckzywOnq9n6+S95Wva54OaJ1dxi/uh +zLld4gK/Dz1gcaus8qcYsdsfvDhOjr2H8F7Cph8a+nrFQjRdMXAVvbAmfarkXqxSJE= Received: from pleb (athedsl-204716.home.otenet.gr [85.74.119.74]) by mail.christosmarg.xyz (OpenSMTPD) with ESMTPSA id 18613ba1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 22 Mar 2021 17:55:45 +0000 (UTC) Date: Mon, 22 Mar 2021 19:55:29 +0200 From: Christos Margiolis To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal Message-ID: <20210322175529.kadptzccf7vhtz27@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4F42Gq6mRvz4Xf5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=christosmarg.xyz header.s=default header.b=I/FAkhKX; dmarc=pass (policy=none) header.from=christosmarg.xyz; spf=pass (mx1.freebsd.org: domain of christos@christosmarg.xyz designates 95.179.159.8 as permitted sender) smtp.mailfrom=christos@christosmarg.xyz X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[christosmarg.xyz:s=default]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[95.179.159.8:from]; SPAMHAUS_ZRD(0.00)[95.179.159.8:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[christosmarg.xyz:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[christosmarg.xyz,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HFILTER_HELO_5(3.00)[christos]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.119.74:received] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 17:55:49 -0000 On Mon, Mar 22, 2021 at 06:44:49PM +0100, Miroslav Lachman wrote: > Mute / unmute will be nice, library + frontend too. But I think there is no > need to have a running daemon for it. > > Just my $0.02. > > Kind regards > Miroslav Lachman I agree. Since it turns out that there is already a file, mixerd(8) could be avoided. From owner-freebsd-hackers@freebsd.org Tue Mar 23 03:46:53 2021 Return-Path: Delivered-To: freebsd-hackers@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 860775757CC for ; Tue, 23 Mar 2021 03:46:53 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4HNs0gmPz3k5P for ; Tue, 23 Mar 2021 03:46:52 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 12N3kqrZ012600; Mon, 22 Mar 2021 20:46:58 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Mon, 22 Mar 2021 20:46:52 -0700 From: Chris To: Christos Margiolis Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal In-Reply-To: <20210322161802.zouhvffwcuibwtmb@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> User-Agent: UDNSMS/17.0 Message-ID: <9ebb79352343bf31c9f46381d5678d65@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F4HNs0gmPz3k5P X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 03:46:53 -0000 On 2021-03-22 09:18, Christos Margiolis wrote: > On Mon, Mar 22, 2021 at 08:41:20AM -0700, Chris wrote: >> Every version of mixer that I have run keeps state in /var/db/mixerN-state: >> vol 100:100 pcm 100:100 >> where N is (0-9) which represents a previous state. This has been the case >> for >> as long as I can remember. It's much the same WiFi lease(s). Unless I'm >> missing >> something IMHO it's current incarnation seems trivial to work with / >> manipulate. >> One might consider using JSON notation in it to allow for more advanced >> features >> and manipulation / reading / status I suppose. >> I'm not trying to take the wind out of your sails, or anything. Just >> sharing >> my own personal observation. :-) >> >> --Chris > > Interesting, I didn't really know about that, so I'll have to look more into > it > for sure. In any case, I still think my main argument stands that a library > which can be used by all userland programs that might want to have access > to the mixer will be of benefit. > > I've already mentioned a few use cases in my initial email. Even in the case > that you outlined - the state already being cached in `/var/db/mixerN-state` > - > I think that libmixer(3) could provide with functions that deal with those > files, > instead of having the programmer find ways to deal with them. > > mixer(8) at the moment still doesn't have the option to mute/unmute the > mixer even with those files existing, so having a library handle all > that stuff, will make mixer(8) basically a frontend for the library and > will have cleaner code. And as I've already said in the previous email, > other > programs such as MixerTUI could use the library too. I think that makes > things more extensible; after all, many FreeBSD programs already follow > that design (library + a frontend for it). Like I said; I'm not trying to take the wind out of your sails. I just thought that it might interest you to know about the state file, and it's location. :-) I'm also inclined to agree; a "helper" library may well better leverage "conveniences" for mixer. Even if it only made it easier to manipulate the state file. ;-) It's all good, and don't get the idea I'm trying to shut you down, or anything like that. :-) Good luck, and best wishes! --Chris > ---------------------------------------------- > Christos Margiolis > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Tue Mar 23 05:12:05 2021 Return-Path: Delivered-To: freebsd-hackers@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 97FBE579824 for ; Tue, 23 Mar 2021 05:12:05 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4KH841Vdz3q7v for ; Tue, 23 Mar 2021 05:12:04 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 12N5BvxL033303 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 22 Mar 2021 22:11:57 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me To: Freebsd hackers list From: Yuri Subject: exec(3) loses realtime priority of the process? Message-ID: Date: Mon, 22 Mar 2021 22:11:54 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4F4KH841Vdz3q7v X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-0.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; HAS_XAW(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.144.192.42:from]; RECEIVED_SPAMHAUS_PBL(0.00)[73.189.35.76:received]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[yuri]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[rawbw.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.144.192.42:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 05:12:05 -0000 I noticed that when realtime priority 1 is set after fork it only stays until the execvp call and then the process' priority changes to 'normal'. Why does execvp lose priority? Is this intended? The manpage doesn't mention priority. Yuri From owner-freebsd-hackers@freebsd.org Tue Mar 23 11:36:07 2021 Return-Path: Delivered-To: freebsd-hackers@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 3761D5AB5D2 for ; Tue, 23 Mar 2021 11:36:07 +0000 (UTC) (envelope-from christos@christosmarg.xyz) Received: from christos (mail.christosmarg.xyz [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4TpG043mz4kCK for ; Tue, 23 Mar 2021 11:36:05 +0000 (UTC) (envelope-from christos@christosmarg.xyz) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=WLra1tUTIm/B LDhqRfzr2QGxuOfUkoPeXlAy0Cef4kI=; h=in-reply-to:references:subject:cc: to:from:date; d=christosmarg.xyz; b=ORH4L+G04e0yagomlAzyGZEEkr8x5ldfBq WY+rfKhjYqLUJoiWT8txxgHXhPwYA2GGqCTzGh6hKeLYiMgcr2xlP4JZJWPQjIr5x0r8Dk w5SwBIJKOI8G0Vp2H/uZuz96gcEESY4jRVco5yzwpS1jPX0Fs3XYSDLBaAk5LT2bjgg= Received: from pleb (athedsl-204716.home.otenet.gr [85.74.119.74]) by mail.christosmarg.xyz (OpenSMTPD) with ESMTPSA id ca453e5f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 23 Mar 2021 11:36:02 +0000 (UTC) Date: Tue, 23 Mar 2021 13:35:45 +0200 From: Christos Margiolis To: Chris Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal Message-ID: <20210323113545.x22aujlpkc24chea@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> <9ebb79352343bf31c9f46381d5678d65@bsdforge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ebb79352343bf31c9f46381d5678d65@bsdforge.com> X-Rspamd-Queue-Id: 4F4TpG043mz4kCK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=christosmarg.xyz header.s=default header.b=ORH4L+G0; dmarc=pass (policy=none) header.from=christosmarg.xyz; spf=pass (mx1.freebsd.org: domain of christos@christosmarg.xyz designates 95.179.159.8 as permitted sender) smtp.mailfrom=christos@christosmarg.xyz X-Spamd-Result: default: False [-0.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[95.179.159.8:from]; R_DKIM_ALLOW(-0.20)[christosmarg.xyz:s=default]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.119.74:received]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[95.179.159.8:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[christosmarg.xyz:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[christosmarg.xyz,none]; NEURAL_HAM_SHORT(-0.99)[-0.991]; HFILTER_HELO_5(3.00)[christos]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 11:36:07 -0000 On Mon, Mar 22, 2021 at 08:46:52PM -0700, Chris wrote: > Like I said; I'm not trying to take the wind out of your sails. I just > thought that it might interest you to know about the state file, and > it's location. :-) No worries, it actually did help and I think could make things easier. Thanks again :-) ---------------------------------------------- Christos Margiolis From owner-freebsd-hackers@freebsd.org Tue Mar 23 16:56:22 2021 Return-Path: Delivered-To: freebsd-hackers@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 64CF05B4671 for ; Tue, 23 Mar 2021 16:56:22 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4cvn0lVvz3Nbc for ; Tue, 23 Mar 2021 16:56:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 12NGu6eJ003816 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 23 Mar 2021 18:56:09 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 12NGu6eJ003816 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 12NGu5pQ003815; Tue, 23 Mar 2021 18:56:05 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 23 Mar 2021 18:56:05 +0200 From: Konstantin Belousov To: Yuri Cc: Freebsd hackers list Subject: Re: exec(3) loses realtime priority of the process? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4F4cvn0lVvz3Nbc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_SOFTFAIL(0.00)[~all]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 16:56:22 -0000 On Mon, Mar 22, 2021 at 10:11:54PM -0700, Yuri wrote: > I noticed that when realtime priority 1 is set after fork it only stays > until the execvp call and then the process' priority changes to 'normal'. > > > Why does execvp lose priority? Is this intended? The manpage doesn't mention > priority. > Can you provide a minimal self-contained example demonstating the issue? From owner-freebsd-hackers@freebsd.org Tue Mar 23 22:27:56 2021 Return-Path: Delivered-To: freebsd-hackers@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 EE5875BE6FA for ; Tue, 23 Mar 2021 22:27:56 +0000 (UTC) (envelope-from alfix86@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4mGN13xmz4Zbx for ; Tue, 23 Mar 2021 22:27:56 +0000 (UTC) (envelope-from alfix86@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id kt15so20195317ejb.12 for ; Tue, 23 Mar 2021 15:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=/8ZjQxcqz30R7gpN7c7QXRx2fmtfNvgaMtgT12/Lqpg=; b=LrYqrdg348BFChh14CIwyeEtnqq+XZmuhtCYrCvcafFZQAi1hdCOBxFl9wtHLykF04 5whoIzBTv0/tL4pSVRZTAorCqc86wXY66gNtNveU4iZpbM+8p8ewjAJNZ/megRH45KVF HHb3tCllOB1BlBlhfF1C77x5kbT+awdPWMHooRUyVppDJFFzvcCKSA7tw3uT/q7FNqWP f6GD46rp/bqjrqp/F2ADVfW7CuGTIMWsjytc9sOc+9I/1mjKTTf9Pim3CKXbVhd5ZI/x 9Skj+0kWudXkKsO8e8E67rUqjE54Qf8Ls7tDj77Os1iLiXuR/Tk+AyudUkwWYT5wQVIV BSqg== 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:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/8ZjQxcqz30R7gpN7c7QXRx2fmtfNvgaMtgT12/Lqpg=; b=ITSLXsOL5Ilplyso0mvrtHkbZy/lehRcFLrdfurWXcDOFL9x4xTDfvk8jiNqeNDL6K HAlfWxc1AZ+vChfn3H0/XHXovvmdGzOGYMVpSg//eP+umYV/+B/IY5s8Dwt8lQQyCI1I ZlxsFuyqy1BAY0kQIdztHjubq7w6SIz1RtYrkHN/Rpk843wax7xKrV7o//XOsxTXJnyV 2j6xG+00U1lzaWCBeAGLIzutTZsRqZ1skkj6qalPQW0vHtmzsfzdz3DBQWugNHPNEnXq A6RrPjHLJKs2Eeboy05w+oTiee6BbbC4Om5l9epiLO1B4B4vPEQjHnqR+NwBb7cj7aLY XdFg== X-Gm-Message-State: AOAM533gykBeFmhONqbY3KaIdcump6wKx3F9HP55821y68m49U4ZZGUp lN1+BUEbDT3RGCabRQKhcmZbFAYyB1Y= X-Google-Smtp-Source: ABdhPJyWguKP+BS26V6lvLo/nlMToAzA43/ZukCTXEB8I8sBzwxra5blhabaMwp0GxVj4d/FmbJqjQ== X-Received: by 2002:a17:906:d157:: with SMTP id br23mr454421ejb.192.1616538469115; Tue, 23 Mar 2021 15:27:49 -0700 (PDT) Received: from alfdeb (host-87-11-194-175.retail.telecomitalia.it. [87.11.194.175]) by smtp.gmail.com with ESMTPSA id u59sm163170edc.73.2021.03.23.15.27.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 15:27:48 -0700 (PDT) Date: Tue, 23 Mar 2021 23:27:47 +0100 From: Alfonso Siciliano To: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal Message-Id: <20210323232747.80b0c7413c758e0d30d50727@gmail.com> In-Reply-To: <20210322175529.kadptzccf7vhtz27@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> <20210322175529.kadptzccf7vhtz27@pleb> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F4mGN13xmz4Zbx X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LrYqrdg3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alfix86@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=alfix86@gmail.com X-Spamd-Result: default: False [2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; RBL_SEM_IPV6(1.00)[2a00:1450:4864:20::633:from]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[87.11.194.175:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::633:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[0.996]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::633:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 22:27:57 -0000 Hi Christos, On Mon, 22 Mar 2021 16:49:28 +0200 Christos Margiolis wrote: > To not bore with useless information, I basically wanted to implement a > "toggle" option for mixer(8) so that you can mute and unmute the mixer easily > without having to write external scripts to do that. Others have apparently > asked for the same thing in the forums too. > > However, in order to be able to mute and unmute the mixer requires the program > to have knowledge of the previous volume so that it can set it back, which means > that since mixer(8) is an one-shot program, it would have to write a file to the > disk, which is not the most pretty solution. > 2. In order to solve the mixer toggling "issue" without having to > write anything to disk, a new daemon called mixerd(8) can be > written using libmixer(3) to keep track of the volume history > among other things. I know the problem, my solution in mixertui.c was to define `struct item` with `.lvol|.rvol|.lmute|.rmute`, however mixer(8) is an one-shot program so mixerd or /var/db/mixerN-state could make sense, but why not the ideal solution: to implement SNDCTL_MIX_EXTINFO, MIXT_ONOFF and the other missing mixer ioctls avoiding computation and daemons in userland? > Apart from the reasons I mentioned above, which I think would make > mixer handling easier and more extensible, I think this library could > go as far as to implement support for virtual_oss and the like. I considered to implement a mixer library in the past but I chose to avoid a new library for a few ioctls. However if you are considering to add the support for virtual_oss the library could became interesting. Tip: you could move the discussion to multimedia@freebsd.org. Good luck! Alfonso --- Alfonso S. Siciliano https://alfonsosiciliano.gitlab.io From owner-freebsd-hackers@freebsd.org Wed Mar 24 00:00:02 2021 Return-Path: Delivered-To: freebsd-hackers@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 CCDBC578DDC; Wed, 24 Mar 2021 00:00:02 +0000 (UTC) (envelope-from owner-freebsd-quarterly-calls@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4pJf4yhZz4frV; Wed, 24 Mar 2021 00:00:02 +0000 (UTC) (envelope-from owner-freebsd-quarterly-calls@freebsd.org) Delivered-To: freebsd-quarterly-calls@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 7161D578E2D; Wed, 24 Mar 2021 00:00:02 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4pJf1QVRz4g0X; Wed, 24 Mar 2021 00:00:02 +0000 (UTC) (envelope-from debdrup@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1616544002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=A3jGHHAGVyHJpd5/OFlhsW61SGOXDeSRL15wvIQuh6s=; b=r8RMc+BjNvjd13F9wfU6290u+VwlJuAib/HTndXlJYJdtNG2VNkGVfcv4GXLQ+fGxeCqWC VlUNpTFV35wkR0iL6kZrPsUKIJ57ZotgN1nEKBDOGzNwbwpWRyqF3YIBVPzfOUY9MUx9eK T5rWPC1l9EAgI2dKFORLBmet4dFU3D234Ax5WY8LUzDy398ChO/nlnSeMIAyFyuMta+m/x c64iWbFMWU3jSjpUw3LdZlq6uFs8TLfrarCQ7IR9lWTylqA8ydjxmbfjc3+69Kyc6kZMgn wfYfcKqNokxmhYv43QzBppQvnBlUbvmJfK8TsrwioG0eXUTW312EHCixWXzRBg== Received: by freefall.freebsd.org (Postfix, from userid 1471) id 19A6C17C8; Wed, 24 Mar 2021 00:00:02 +0000 (UTC) To: freebsd-quarterly-calls@FreeBSD.org Subject: [LAST OFFICIAL REMINDER] Call for 2021Q1 quarterly status reports Message-Id: <20210324000002.19A6C17C8@freefall.freebsd.org> Date: Wed, 24 Mar 2021 00:00:02 +0000 (UTC) From: Daniel Ebdrup Jensen ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1616544002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=A3jGHHAGVyHJpd5/OFlhsW61SGOXDeSRL15wvIQuh6s=; b=Rbq/6uVsGxxXx22QFpLwXmsMqauMShlKecu120FcyK9toOdrPHvLg1LHeINU0NFjULxBeq JowlcL9weUguGOG9pOm7DY+EH/bUds+kZg3W1ou0ox/BMS8F17liK5E9slYMwtEvlx1BL+ 40MgoMT999EDmWKRy+BwR6WffFl8IqMUZn1r56bgfLD1NBp70718/gM+FwefzjaTWQXq/v 6aTnqoEqYwEsVR9cxbuBoQx8M6eKtKGjGXLzMHLlpkyJaemdcRFhNY7zw1bVuXLDXtxE5/ qzckSSEndVhKGPqVzH3j9wOXX8i1hpF3MaAqqLxxtCwFtkeX6AK8xZkt/AC6tA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1616544002; a=rsa-sha256; cv=none; b=k5Bqg5H1dlLkblW19eloOS5jqEzuAPFJe6nTq2Ta7lYU3MGULNy0QnJVxMTlvy4i7NT/Vj pQ+rlST/7lZs4JDZohMGdEDaqt5IwvQVE8PmvjrWr/Tp59gKWD9bEvFhGY+O3GLy5n3ihC qxmglz/+a1yp05dwil/0qAqu43vwpjVPej6jfWL+9rBAg4R2B6XUcbiaLGURhRwWiBIQjY 9IQEWRwckGqeaJsWhfI+cJv7Ta308gDAhakvqL7Ap0reV6qTXcK5mS/Tnxq0fvOGvCSJIl CLrnAyS0DBewTE15ET3Gi2Rnk5XMTlEpKI2iXzWEXjXG1KXjR3RhsLtN62B9QA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-quarterly-calls@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-freebsd-quarterly-calls@freebsd.org Sender: owner-freebsd-quarterly-calls@freebsd.org X-Mailman-Approved-At: Wed, 24 Mar 2021 06:24:03 +0000 X-BeenThere: freebsd-hackers@freebsd.org List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 00:00:02 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is March, 30th 2021 for work done since the last round of Quarterly Reports: January 2021 - March 2021. I would like to remind you that reports are collected during the last month of every quarter. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and they provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the AsciiDoctor template, fill it in, and email it to quarterly-submissions@FreeBSD.org. The new AsciiDoctor template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-sample.adoc We look forward to seeing your 2021Q1 reports! Thanks, Daniel Ebdrup Jensen (on behalf of quarterly@) _______________________________________________ freebsd-quarterly-calls@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-quarterly-calls To unsubscribe, send any mail to "freebsd-quarterly-calls-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Wed Mar 24 08:27:57 2021 Return-Path: Delivered-To: freebsd-hackers@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 EA7305AEDE7 for ; Wed, 24 Mar 2021 08:27:57 +0000 (UTC) (envelope-from christos@christosmarg.xyz) Received: from christos (mail.christosmarg.xyz [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F51Zh5hVvz3j0c for ; Wed, 24 Mar 2021 08:27:56 +0000 (UTC) (envelope-from christos@christosmarg.xyz) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=kruGtfYEvYfy 0FluY0KukUn4/mE5sgmE44PBhu3CIB8=; h=in-reply-to:references:subject:cc: to:from:date; d=christosmarg.xyz; b=fKhBGRGUo8DIBxb84MI44DWJPYtI4anqIl DygZVjwFU9rP1qoQfvWYbskectwO5qsHlmUopoNDlmIAQTb1QGwhNFgIA7nvA1R2+B/gpj O5mnX4Pr8ZuvXZ2modPz5m599JNCp9OGpz4qamy5IU6Qnf/O3pdhx0iSf9f3x7eJpYw= Received: from pleb (athedsl-204716.home.otenet.gr [85.74.119.74]) by mail.christosmarg.xyz (OpenSMTPD) with ESMTPSA id dce37ba1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 24 Mar 2021 08:27:47 +0000 (UTC) Date: Wed, 24 Mar 2021 10:27:28 +0200 From: Christos Margiolis To: Alfonso Siciliano Cc: freebsd-hackers@freebsd.org Subject: Re: [GSoC 2021] Project Proposal Message-ID: <20210324082728.wycjsodiy5wdjfip@pleb> References: <20210322144928.ry75v5nlfhpzcfir@pleb> <93c692373cf35aae8dab4f1c63c38d08@bsdforge.com> <20210322161802.zouhvffwcuibwtmb@pleb> <20210322175529.kadptzccf7vhtz27@pleb> <20210323232747.80b0c7413c758e0d30d50727@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210323232747.80b0c7413c758e0d30d50727@gmail.com> X-Rspamd-Queue-Id: 4F51Zh5hVvz3j0c X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=christosmarg.xyz header.s=default header.b=fKhBGRGU; dmarc=pass (policy=none) header.from=christosmarg.xyz; spf=pass (mx1.freebsd.org: domain of christos@christosmarg.xyz designates 95.179.159.8 as permitted sender) smtp.mailfrom=christos@christosmarg.xyz X-Spamd-Result: default: False [1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[christosmarg.xyz:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[christosmarg.xyz,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; HFILTER_HELO_5(3.00)[christos]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.119.74:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[95.179.159.8:from]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[christosmarg.xyz:s=default]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[95.179.159.8:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 08:27:58 -0000 On Tue, Mar 23, 2021 at 11:27:47PM +0100, Alfonso Siciliano wrote: > I know the problem, my solution in mixertui.c was to define `struct item` with > `.lvol|.rvol|.lmute|.rmute`, however mixer(8) is an one-shot program so mixerd > or /var/db/mixerN-state could make sense, but why not the ideal solution: > to implement SNDCTL_MIX_EXTINFO, MIXT_ONOFF and the other missing mixer ioctls > avoiding computation and daemons in userland? That sounds like a cleaner and more extensible solution indeed, hadn't thought about it. > However if you are considering to add the support for virtual_oss the library > could became interesting. virtual_oss is something I too think would make a good addition to the library. Thing is at the moment I need to find someone who's interested in mentoring this project for GSoC as soon as possible. If someone appears that then we'll have time for more interesting additions. ---------------------------------------------- Christos Margiolis https://christosmarg.xyz From owner-freebsd-hackers@freebsd.org Wed Mar 24 14:30:24 2021 Return-Path: Delivered-To: freebsd-hackers@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 4265D5B745C for ; Wed, 24 Mar 2021 14:30:24 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F59cv6fLcz4YZw for ; Wed, 24 Mar 2021 14:30:23 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: by mailman.nyi.freebsd.org (Postfix) id E21A35B745B; Wed, 24 Mar 2021 14:30:23 +0000 (UTC) Delivered-To: hackers@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 E1DE95B722D for ; Wed, 24 Mar 2021 14:30:23 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mxt.nsu.ru (mxt.nsu.ru [84.237.50.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F59ct2j9Fz4YZv for ; Wed, 24 Mar 2021 14:30:21 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mail.nsu.ru ([84.237.50.42] helo=zimbra.nsu.ru) by mxt.nsu.ru with esmtp (Exim 4.89) (envelope-from ) id 1lP4WV-0003E1-PX for hackers@freebsd.org; Wed, 24 Mar 2021 21:30:16 +0700 Received: from localhost (localhost [127.0.0.1]) by zimbra.nsu.ru (Postfix) with ESMTP id B8C0EAC0421 for ; Wed, 24 Mar 2021 21:30:15 +0700 (+07) Received: from zimbra.nsu.ru ([127.0.0.1]) by localhost (zimbra.nsu.ru [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kjmqK7SBtJIV for ; Wed, 24 Mar 2021 21:30:13 +0700 (+07) Received: from localhost (localhost [127.0.0.1]) by zimbra.nsu.ru (Postfix) with ESMTP id AF880AC0B47 for ; Wed, 24 Mar 2021 21:30:13 +0700 (+07) X-Virus-Scanned: amavisd-new at zimbra.nsu.ru Received: from zimbra.nsu.ru ([127.0.0.1]) by localhost (zimbra.nsu.ru [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id o_-w_U5h5woZ for ; Wed, 24 Mar 2021 21:30:13 +0700 (+07) Received: from regency.nsu.ru (unknown [84.237.50.47]) by zimbra.nsu.ru (Postfix) with ESMTPS id 2BDBCAC0421 for ; Wed, 24 Mar 2021 21:30:13 +0700 (+07) Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id 12OEVMYU002238 for ; Wed, 24 Mar 2021 21:31:23 +0700 (+07) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id 12OEVH0c002132 for hackers@freebsd.org; Wed, 24 Mar 2021 21:31:17 +0700 (+07) (envelope-from danfe) Date: Wed, 24 Mar 2021 21:31:17 +0700 From: Alexey Dokuchaev To: hackers@freebsd.org Subject: wcwidth() and wcswidth() and Latin vs. CJK character width Message-ID: <20210324143117.GA61738@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 162640 [Mar 24 2021] X-KLMS-AntiSpam-Version: 5.9.20.0 X-KLMS-AntiSpam-Envelope-From: danfe@regency.nsu.ru X-KLMS-AntiSpam-Auth: dmarc=pass header.from=nsu.ru policy=quarantine; spf=pass smtp.mailfrom=regency.nsu.ru; dkim=none X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Info: LuaCore: 438 438 e169a60cee0e977a975a890ed8ef829a2851344a, {rep_avail}, {Tracking_uf_ne_domains}, {Tracking_from_domain_doesnt_match_to}, regency.nsu.ru:7.1.1; d41d8cd98f00b204e9800998ecf8427e.com:7.1.1; nsu.ru:7.1.1; 127.0.0.199:7.1.2; www.cl.cam.ac.uk:7.1.1; zimbra.nsu.ru:7.1.1; 84.237.50.42:7.1.2, {Tracking_smtp_domain_mismatch}, ApMailHostAddress: 84.237.50.42 X-MS-Exchange-Organization-SCL: -1 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, bases: 2021/03/24 13:29:00 X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, not scanned, license restriction X-Rspamd-Queue-Id: 4F59ct2j9Fz4YZv X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:mxt.nsu.ru]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[nsu.ru:+]; DMARC_POLICY_ALLOW(-0.50)[nsu.ru,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[danfe@nsu.ru,danfe@regency.nsu.ru]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[84.237.50.40:from]; ASN(0.00)[asn:3335, ipnet:84.237.48.0/21, country:RU]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[danfe@nsu.ru,danfe@regency.nsu.ru]; DWL_DNSWL_NONE(0.00)[nsu.ru:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nsu.ru:s=email]; FREEFALL_USER(0.00)[danfe]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[84.237.50.40:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[84.237.50.40:from]; RCVD_COUNT_SEVEN(0.00)[8]; MAILMAN_DEST(0.00)[hackers] X-Mailman-Approved-At: Wed, 24 Mar 2021 14:36:58 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 14:30:24 -0000 Hi there, I've been wondering if there's anything like Markus Kuhn's implementation* in our base libraries for $subj (my quick naive search didn't turn up any results). If yes, could someone point me at it? If no, how feasible would it be to add Markus' code to our libc or perhaps some ancillary library? ./danfe *) https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c From owner-freebsd-hackers@freebsd.org Thu Mar 25 16:55:15 2021 Return-Path: Delivered-To: freebsd-hackers@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 28CFC5C434B for ; Thu, 25 Mar 2021 16:55:15 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5rnZ05zqz3sLN for ; Thu, 25 Mar 2021 16:55:13 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1lPTGC-00H2a6-Ph; Thu, 25 Mar 2021 17:55:04 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.16.1/8.16.1) with ESMTP id 12PGofHG023348 for ; Thu, 25 Mar 2021 17:50:41 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.16.1/8.16.1/Submit) id 12PGofMY023347 for freebsd-hackers@freebsd.org; Thu, 25 Mar 2021 17:50:41 +0100 (CET) (envelope-from news) To: freebsd-hackers@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.hackers Subject: Re: Wireguard Controversy Statement Date: Thu, 25 Mar 2021 16:50:41 -0000 (UTC) Message-ID: References: User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 4F5rnZ05zqz3sLN X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of news@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=news@mips.inka.de X-Spamd-Result: default: False [0.21 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[news]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a04:c9c7:0:1073:217:a4ff:fe3b:e77c:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a04:c9c7:0:1073:217:a4ff:fe3b:e77c:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[inka.de]; NEURAL_SPAM_MEDIUM(0.99)[0.992]; NEURAL_HAM_SHORT(-0.99)[-0.987]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 16:55:15 -0000 On 2021-03-22, Warner Losh wrote: > Core unconditionally values the work of all contributors, and seeks a > culture of cooperation, respect, and collaboration. The public discourse > over WireGuard in the past week does not meet these standards and is > damaging to our community if not checked. As such, WireGuard development > for FreeBSD will now proceed outside of the base system. For those who wish > to evaluate, test, or experiment with WireGuard, snapshots will be > available via the ports and package systems. At face value this seems to say that WireGuard is now permanently banned from inclusion in the base system. Or maybe the intent is that development for WireGuard on FreeBSD will continue outside of the base system until it has reached sufficient maturity to be included again? -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-hackers@freebsd.org Thu Mar 25 17:55:23 2021 Return-Path: Delivered-To: freebsd-hackers@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 7E2935C6560 for ; Thu, 25 Mar 2021 17:55:23 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5t6y5LMzz4S88 for ; Thu, 25 Mar 2021 17:55:22 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f53.google.com with SMTP id b10so2764888iot.4 for ; Thu, 25 Mar 2021 10:55:22 -0700 (PDT) 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=AGRoEIQZ5uGMDkxxQaEvbB1o/ntkVyJRvuHAZY8tKOU=; b=NI8WVLaUhZU2bI9YQCVs/92BSAj1OkGvOgnL9TvTLI+i/9msuSdZ8X8PKXJsjbqoGB /PdpLRo0aPKU0zDQSFme2cFSgFWkf2Qph8IEkYjbXXVixrgRWmYMqTG+/9Y493gy4/8Y MJVJeXxqzsOt13fzlC8ewdrjLT8/0keJ7pQY3dRfbsrjMa4NKz/UI1QNlnHipah7V/b+ X3WQDfbTKzqDD7NsdB7p5o+0Q+2ulDH3h72+CqDo8cTcCDfpJItjlFuuZdR964Yf6lEo e9zsnzBjUJpjr1uVWCEHzcVCIKxLf5OV6JlSSrXX0A1mVjAG1jcqTF20nFkRfALoGCyq v41A== X-Gm-Message-State: AOAM532uCUI6sQ6XENktykGdzMqLdh3yrcsPAZbAq0IpFRMYOpTEj8nF GlGVMEcIgkYYwKoJiDmwM5oe/klmNAW/lQmqJmLkZftg X-Google-Smtp-Source: ABdhPJw+4IslwCEUJVXSPg5C98Q9xC8G+OJerkf1Fu9nqf96Yh/XvHL6Upd8d43STX9jn7zKXdiG3Nv2OR2uOH0gU3U= X-Received: by 2002:a02:6a14:: with SMTP id l20mr8880869jac.12.1616694921202; Thu, 25 Mar 2021 10:55:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Thu, 25 Mar 2021 13:54:54 -0400 Message-ID: Subject: Re: Wireguard Controversy Statement To: Christian Weisgerber Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F5t6y5LMzz4S88 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.53 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.166.53:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[carpeddiem]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[209.85.166.53:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.53:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.53:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 17:55:23 -0000 On Thu, 25 Mar 2021 at 12:55, Christian Weisgerber wrote: > > At face value this seems to say that WireGuard is now permanently > banned from inclusion in the base system. No, this isn't intended to be a statement about the future, just that development is currently happening outside of the src tree. From owner-freebsd-hackers@freebsd.org Thu Mar 25 19:33:09 2021 Return-Path: Delivered-To: freebsd-hackers@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 A5CC35793AD for ; Thu, 25 Mar 2021 19:33:09 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5wHm680Kz4Ypd for ; Thu, 25 Mar 2021 19:33:08 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x331.google.com with SMTP id n11-20020a05600c4f8bb029010e5cf86347so4906291wmq.1 for ; Thu, 25 Mar 2021 12:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=njRDm7Rr2gWcWyMAlnMTBC8udqXltBQe2i2aj1gQoFA=; b=hams79LpXyOBbUjqQ/eK9o/WgzPyYo4Yj8UePnGSPdOQ+YUfsrjLQAy7NJTtQyMKQK nvKkEPqbUTa4nKaxL7WrfnQ2vlncmDZTGNy1uoip6DK455N59p9Vi9LPbRTwciMfE6gR lFd93Sfy8xJYTtzsT2R/lN6u3dRagJ45Ny2ZXSizJx0g7KfBvOtvtw4kdS4pDKa3vLSf racHzilWx1WU62pBcfdbu+WpN+I9HJVBmUKx2l7qLRP+UUGltyUVzPUFnTD1m73b3tjb FXD+VddAuFwHlS0ckCmH5boXm7o1ZLfLQ0n9O5HgE9rVPMiH5BdwzW436X1tz/KntFZK SVKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=njRDm7Rr2gWcWyMAlnMTBC8udqXltBQe2i2aj1gQoFA=; b=hq0eW32H1RMx8r1oBx/ybvy4kzA8t5Rapgtf/qjxARZpgF2q37p2PhaIohQx+H9pHB YaidaRLdmON99oEJGsfgKOHnXFW5q4S7L5XYHi/aaLXkn/zoJuXJXLlmIaPWlI/5F3fG oGkVQfwpkgVxadiKekQQwBU25U3x1OVEEPMU0fvL4H7MVOEq8WQU8iSmZ7RwllW9m/1a J5Z0OG3GdYxsqZIMdlv0TIXEGZCRP7CVoHUuL38ITqy9/+AKup6yHoRjjFPeZFSJSiX1 ienx15N4MhNPrk55mHKN3EVFlk6MBDdYMocXMG2JqFB9nfCKs1CLNksOZ52w6LW9XTre 4BsA== X-Gm-Message-State: AOAM5330HbB87r/XfmICzu60sX2xQrDeJyVlyAjYTlzIL2Ay1P/rd6Lr iwakF4lIDeGCQcmibtIYVG8hnbnva6OI7A== X-Google-Smtp-Source: ABdhPJzJ3Zz0BMdcCFfakLSGEQHBZ2Fx6ct76kL1my3lIFoUsRICwtzG/+2H6RUxAYMm3Mg1YahXzA== X-Received: by 2002:a1c:498b:: with SMTP id w133mr9805213wma.134.1616700785418; Thu, 25 Mar 2021 12:33:05 -0700 (PDT) Received: from [192.168.1.13] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id y205sm9111770wmc.18.2021.03.25.12.33.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Mar 2021 12:33:04 -0700 (PDT) Subject: WireGuard ported and packaged for FreeBSD To: freebsd-hackers@freebsd.org References: From: Graham Perrin Message-ID: <7e9685b3-f366-e09f-040e-ce917dac97f3@gmail.com> Date: Thu, 25 Mar 2021 19:33:03 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4F5wHm680Kz4Ypd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hams79Lp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::331 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::331:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::331:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::331:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 19:33:09 -0000 On 25/03/2021 17:54, Ed Maste wrote: > … development is currently happening outside of the src tree. +1 Maybe the simplest overview: ---- # pkg install --quiet -n -r FreeBSD wireguard The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED:         wireguard: 2,1 [FreeBSD]         wireguard-kmod: 0.0.20210319 [FreeBSD]         wireguard-tools: 1.0.20210315 [FreeBSD] Number of packages to be installed: 3 98 KiB to be downloaded. # ---- – then, for any technical interest in the histories: From owner-freebsd-hackers@freebsd.org Fri Mar 26 14:01:09 2021 Return-Path: Delivered-To: freebsd-hackers@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 8B598578116 for ; Fri, 26 Mar 2021 14:01:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6NtD5yJfz4jcF for ; Fri, 26 Mar 2021 14:01:08 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 952721DDE for ; Fri, 26 Mar 2021 10:01:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 26 Mar 2021 10:01:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=kGhktx3dOTyHtfAw8DSHFQRS2FOkXa2HvdKG4J1RMoo=; b=lT3hKe+J x/lqEKZ3DOIXX4LyCQXvb+NKPB+UnXgnGcWDhq+i2yVSeIf4Gs5Az+RnfrWn8shX Ax8FeRSmT+F1gPuXRHHP3pWKtPi0IP1WIVBUfNz/zEls3BQvVaQ4HHwHpL2fDgQK GXG4sGPCULBdbXltxrNk7suZ1v1aaOVTqRY9wiT1x0vNE6pdjoVVLROkvAsp6gnv yyoo+QUmx0amY9tOUbk7XIDxEthtT/XdKYjGok1Byj6AgnSkcZ2w2nGL/8GDgpPH VTxSe5Xy8UBVGLNJVdYnoxZrqNRBfWt0KVX2ScsNNzZlBRVAMLB6skQK/S9r48E5 2fl08YVPUN3pHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=kGhktx3dOTyHtfAw8DSHFQRS2FOkX a2HvdKG4J1RMoo=; b=DUGLSR+77zMUpYQ3xMEfU3cs4oKmhQ0RfeWl5v61txo3l uz/lPg/b3Zn/cl3KXi728bjYSKgWt4CvqIEXk3ZwwxLW5jFlIPDXTtUc/Uvc1dYM aIJDV/XVRKJ2WN+gJvAFmMX1p8l1v6qVxQ2/PbErSan1Ji9iARF87BQRLilYHvaT pctIxGMrYSWZHSqakLoSUBMKkxOHa2+R51qu5LbAbDXGFsml8siSXUxt0bMuEhQ3 tHcHk7l2EszDEGcBxJL5xS5j5DFznk53k6vpr8Mbyo4CJ6OGOlxbaEXO0Okh2UvT 77/A2SpdzXT+ZqZIhLb4UgaYWMg3npUuquFT4jUOA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehvddgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucggtffrrghtthgvrhhnpeevgffhffdtfeekleelhedtjeelvdfhvd egieejveffgfduvdfhteegjeeujeeuieenucfkphepkedvrdejtddrledurddutddtnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqd hlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C0FA24005E for ; Fri, 26 Mar 2021 10:01:05 -0400 (EDT) Date: Fri, 26 Mar 2021 14:01:02 +0000 From: tech-lists To: freebsd-hackers@freebsd.org Subject: cost/benefit of some src.conf options Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qtyyxwq5+nBfXNJd" Content-Disposition: inline X-Rspamd-Queue-Id: 4F6NtD5yJfz4jcF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=lT3hKe+J; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=DUGLSR+7; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 14:01:09 -0000 --qtyyxwq5+nBfXNJd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Please can someone briefly explain the impact of the following, in an *arm64* stable/13 exposed-to-the-internet context: 1. WITH_INIT_ALL_PATTERN=3D 2. WITH_KERNEL_RETPOLINE=3D 3. WITH_RETPOLINE=3D these aren't enabled by default in arm64. Is there a reason for that? thanks, --=20 J. --qtyyxwq5+nBfXNJd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBd6RQACgkQs8o7QhFz NAUF9w/+LgOr2w5DPk1xLUFQIUljxBDDqo/FkevPEKVbLwpOnQPXzTtV9rLsY34G LZzVYIYlhWyDu4IsTZhB8h0cYh/hhIGzQ+1wHDiUnErqoAsd3Axik8mWE2Kxs+jW oLU/LYjK2SE/1p7xJcHaVsHdKA4Lsia9H3AhFLi2ZxVttMYgBi5XFLEQWosxPn3x U5UXrqq0muURSQDF530s0IapHHlbrd3bzqn+GO+MkpOMckpk19JHNs6B/HDWz0Ig 549NdyD6TlbGvL+rug+hNxUmdkpq9BarV2xZpGzpT4c46WSjrJRr7lcu26Tu+LBT T2yO0456kCyjaMGMP/e2PKYZq3qv0pzidkMZ4vVh3r73Ht+WWITd3h4xg2E2T73b 7CvtGvAAbrKjjy8PxNXtSvwwMemGgMsOtbQmKz4kHB/c+I1TdMFS17iOFvZm/N7N IHxcubsCKBl/8d4M8UE0vmV9d6ENzt8netcowca54fx2exqb280E8/m7so/vWpov omA1trGWDBCRUnTpXvqsq0gKnlRcnxx7NSRwuPLP9Kt3ugkDbeZ7P02810SxhIU1 +KaUgICQbmL6FW23hKd6SLMc+bMzaqzys5G8nu7A3jkYsW8dRJMea2WlS0yCEfDb hjcb1bVTFKPf8j0L9uA78xLfZs9YkETAdlnmGZcaGVWFOziKPtM= =EO9p -----END PGP SIGNATURE----- --qtyyxwq5+nBfXNJd-- From owner-freebsd-hackers@freebsd.org Fri Mar 26 18:46:43 2021 Return-Path: Delivered-To: freebsd-hackers@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 191655A844E for ; Fri, 26 Mar 2021 18:46:43 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6WCl0BpBz3KP8; Fri, 26 Mar 2021 18:46:43 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id D4F8429F14; Fri, 26 Mar 2021 18:46:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58:0:bcbb:6c92:99e3:1c7c] (unknown [IPv6:2001:470:7a58:0:bcbb:6c92:99e3:1c7c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 844D63DE44; Fri, 26 Mar 2021 19:46:41 +0100 (CET) From: Dimitry Andric Message-Id: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_1BBEE2DB-6E89-4047-819E-5893D270272F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: cost/benefit of some src.conf options Date: Fri, 26 Mar 2021 19:46:33 +0100 In-Reply-To: Cc: freebsd-hackers@freebsd.org To: tech-lists References: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 18:46:43 -0000 --Apple-Mail=_1BBEE2DB-6E89-4047-819E-5893D270272F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 26 Mar 2021, at 15:01, tech-lists wrote: >=20 > Please can someone briefly explain the impact of the following, in > an *arm64* stable/13 exposed-to-the-internet context: >=20 > 1. WITH_INIT_ALL_PATTERN=3D > 2. WITH_KERNEL_RETPOLINE=3D > 3. WITH_RETPOLINE=3D How briefly, exactly? Quoting src.conf(5), in order: WITH_INIT_ALL_PATTERN Set to build the base system or kernel with stack variables initialized to (compiler defined) debugging patterns on = function entry. This option requires the clang compiler. WITH_KERNEL_RETPOLINE Set to enable the "retpoline" mitigation for CVE-2017-5715 = in the kernel build. WITH_RETPOLINE Set to build the base system with the retpoline speculative execution vulnerability mitigation for CVE-2017-5715. > these aren't enabled by default in arm64. Is there a reason for that? First of all, because of the performance impact, which can be significant depending on your specific use case. And secondly, because compiling with non-default options tends to expose unexpected bugs in the implementation. (Both in the compiler itself, and in the programs which are compiled.) That said, the retpoline mechanisms tend to be fairly well tested by now, but will still have a non-negligible performance impact, maybe even a large impact, depending on your workload. There is no simple answer here, you will have to measure it for yourself. The init pattern stuff is pretty new, and will almost certainly give some unexpected effects, such as triggering assertions, and hopefully exposing bugs. But you will most likely also run into corner cases that are not handled well by the compiler and/or the software you are building. The performance impact will certainly not be negligible due to all the additional memory accesses. :) -Dimitry --Apple-Mail=_1BBEE2DB-6E89-4047-819E-5893D270272F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYF4sCQAKCRCwXqMKLiCW o1TdAJ99tcnqySVzG2Z97uqsK1Cp+mXn7wCg9FSUokwCrukvMGTTUWUwkXhbf6M= =7KwV -----END PGP SIGNATURE----- --Apple-Mail=_1BBEE2DB-6E89-4047-819E-5893D270272F-- From owner-freebsd-hackers@freebsd.org Fri Mar 26 19:17:55 2021 Return-Path: Delivered-To: freebsd-hackers@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 B4B3E5A8E65 for ; Fri, 26 Mar 2021 19:17:55 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6Wvk3dgsz3MLC for ; Fri, 26 Mar 2021 19:17:54 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 12QJHgJ0062378 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Fri, 26 Mar 2021 20:17:42 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be alamar.ventu Subject: Re: cost/benefit of some src.conf options To: freebsd-hackers@freebsd.org References: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> From: Andrea Venturoli Message-ID: <79a899c3-368e-20d2-8ac7-0741e00fa3b1@netfence.it> Date: Fri, 26 Mar 2021 20:17:42 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4F6Wvk3dgsz3MLC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 19:17:55 -0000 On 3/26/21 7:46 PM, Dimitry Andric wrote: > That said, the retpoline mechanisms tend to be fairly well tested by > now, but will still have a non-negligible performance impact, maybe even > a large impact, depending on your workload. There is no simple answer > here, you will have to measure it for yourself. AFAIK: _ RETpoline is an alternative to IBRS; _ the impact of RETpoline should be lower than IBRS; _ IBRS is enabled by default. Did I get it wrong? So, unless someone is willing to disable IBRS and live without mitigation, it would be interesting to know how performance differs between the two. I've seen IBRS's impact on bhyve-hosted Windows guests reach 15%-20%. I've never tried RETpoline for the lack of information WRT to its stability: I guess "fairly well tested" does not mean "production ready", or it would be enabled by default, wouldn't it? :) From owner-freebsd-hackers@freebsd.org Fri Mar 26 21:35:00 2021 Return-Path: Delivered-To: freebsd-hackers@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 6B31F5AD44B for ; Fri, 26 Mar 2021 21:35:00 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6Zxw01Twz3mMS for ; Fri, 26 Mar 2021 21:34:59 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 12QLZBrF073103; Fri, 26 Mar 2021 14:35:17 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Fri, 26 Mar 2021 14:35:11 -0700 From: Chris To: Andrea Venturoli Cc: freebsd-hackers@freebsd.org Subject: Re: cost/benefit of some src.conf options In-Reply-To: <79a899c3-368e-20d2-8ac7-0741e00fa3b1@netfence.it> References: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> <79a899c3-368e-20d2-8ac7-0741e00fa3b1@netfence.it> User-Agent: UDNSMS/17.0 Message-ID: <3bd2010aa225111baa2e813071a88b27@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F6Zxw01Twz3mMS X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 21:35:00 -0000 On 2021-03-26 12:17, Andrea Venturoli wrote: > On 3/26/21 7:46 PM, Dimitry Andric wrote: > >> That said, the retpoline mechanisms tend to be fairly well tested by >> now, but will still have a non-negligible performance impact, maybe even >> a large impact, depending on your workload. There is no simple answer >> here, you will have to measure it for yourself. > > AFAIK: > _ RETpoline is an alternative to IBRS; > _ the impact of RETpoline should be lower than IBRS; > _ IBRS is enabled by default. > > Did I get it wrong? My understanding is that retpoline is really only of interest if your box might accessed *locally* by *untrusted* individuals. See: https://nvd.nist.gov/vuln/detail/CVE-2017-5715 --Chris > > So, unless someone is willing to disable IBRS and live without mitigation, > it > would be interesting to know how performance differs between the two. > I've seen IBRS's impact on bhyve-hosted Windows guests reach 15%-20%. > I've never tried RETpoline for the lack of information WRT to its stability: > I > guess "fairly well tested" does not mean "production ready", or it would be > enabled by default, wouldn't it? :) > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Sat Mar 27 11:55:24 2021 Return-Path: Delivered-To: freebsd-hackers@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 B426B5C17E0 for ; Sat, 27 Mar 2021 11:55:24 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6y2g6921z3N5r for ; Sat, 27 Mar 2021 11:55:23 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D1B9A18F3 for ; Sat, 27 Mar 2021 07:55:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 27 Mar 2021 07:55:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=aYKqjZHr6eF0MwxWGHfZAnWVmgd S9IOPrPEWmk6X+0I=; b=uzlxNymukooEPoqeenNeiw5jiu5fjlnaISNezAv2PuP BlaGU9jm/RxiA71Y1YuQNPIJh5y/AjCXPR1SJa2KAqst5xL9U2UJmQxW6FlxJY8a ZwGMdTgmSTyBzI/21DX6p57ewDYRy2NEMRI2hzW3lwgYhmDvpgn/APUFMPdqKryr TSzbD5/STr7+KpwsDsSv3ksx9zZNxFFgqNbYLQnURvEAFtp3uIQT8/7c5CR8Zixd 9DBgL7ajQI96xHkdN3t36sSDqmksaXPkx+9cancAAks36qgcgcwr5FIG4fhELf/G j3YLJ7CxAgKVpSNXimOPmDCh5GpiEuCKb99umsyeoXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=aYKqjZ Hr6eF0MwxWGHfZAnWVmgdS9IOPrPEWmk6X+0I=; b=casJbEmPi7wU1cjTTdQGYT CSaf9mVfCENCmZJgTQT0dEIQwU4OptL93G91u9voGyMS+nfUgfVbh8pwP7d2qqpn 3320VAIg7kNd+tOKGEjtV83Kq9O5BCTvTlJepVTP0Woek3GK9JTm8fUA3yW9/qvH W61LHRxd8RJ3sWkXeWoqrSk36XFKkP/94qLSICO0GohZolBMbOrcBvksN6Bf4gzr qnN9yeVGfsXd3E1LetY0RE6lRNIlf/Pi8NqNPCi2Jva/3m+S09stDuv+queHQicE n2q9TUBcmw5v7Ob6M2g7tIYe68t1DH4XJ5GqPVNS7tHeCRjXXb5WuNdjoEYMNIOA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehgedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurddutddt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtg hhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 135741080054 for ; Sat, 27 Mar 2021 07:55:21 -0400 (EDT) Date: Sat, 27 Mar 2021 11:55:19 +0000 From: tech-lists To: freebsd-hackers@freebsd.org Subject: Re: cost/benefit of some src.conf options Message-ID: References: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="U8wfZtEUhLQAitdd" Content-Disposition: inline In-Reply-To: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> X-Rspamd-Queue-Id: 4F6y2g6921z3N5r X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=uzlxNymu; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=casJbEmP; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.21:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 11:55:24 -0000 --U8wfZtEUhLQAitdd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks everyone, now I know what to look for. So far, for my use case [1] i've not detected any change. but then again I've not looked that closely. I guess in order to test, need to time the operation of various programs. [1] raspberry pi 4/8GB, 2GHz, nginx, exim, poudriere, mutt, zfs. --=20 J. --U8wfZtEUhLQAitdd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBfHR4ACgkQs8o7QhFz NAUIghAAp98qHA/rK5kZEcMINsfzNwRkohvJ5uNS/AO3AfRcuxub3DR7nX8Qj3Cw 18w3onOGF+WoGXrY10LM18jadNWDrkmdVLTWwmtzCglqrmgqcpLmXmMCfSSGgCfq qv8y4BLyCn/HXyUTwyp21rtlUh9cabWW6xKlFel7ZvKrFivSc8SkkLp487PntrPz TzKlVisUbUBa7gfqgCYB1mdY2UCs+/6KqNpNHOGpYuz/Y9Ty6V+t1mQ4QCYjJxpv jnWMDNmeIh7myT4yqC/BabPvyUibOGF09XWvI0w2TL2vxt4G+uLGpLGPS4NA8MnD xIf2Gyi3B4HfjzFj1rvlU6fwoRHcMmpxc5groHJ0KJlIoIfEi4aOxIlRGYOgAcuQ w302C9aOjEcT7239EF7QwSpHvthBrjJSpYQaI9Smb8KbyycYLk4+y4/aRzVftQ+z lwE3uRZYWQ+hsnfCuLg0wuMdVogK79TibkweY6+TjhOiq6QdF9Uo54C1mYZ3VRHy 3Y9pD6/6yen2b36Zg1a87XOWKj9/afnzZNkkCrkisUs+HZyEPaBnK5Y8QEY49t6v btN5kWs5Ymm50GZISmmwBxtoTm6IZeqWxzWjWoTinuL71x4UN12duT4yKI5lXZ/c ndbdUOM4RIN27BgOovmVWc1Fmf4xiGGCt4uYcUq5znUjH/6PyfQ= =p0LM -----END PGP SIGNATURE----- --U8wfZtEUhLQAitdd-- From owner-freebsd-hackers@freebsd.org Sat Mar 27 12:10:14 2021 Return-Path: Delivered-To: freebsd-hackers@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 098DF5C2EE9 for ; Sat, 27 Mar 2021 12:10:14 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6yMn6vCGz3Py3 for ; Sat, 27 Mar 2021 12:10:13 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id ECACD5C2E6C; Sat, 27 Mar 2021 12:10:13 +0000 (UTC) Delivered-To: hackers@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 EC7845C2EE8 for ; Sat, 27 Mar 2021 12:10:13 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6yMn6Vwsz3Q3L; Sat, 27 Mar 2021 12:10:13 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from beaver (unknown [81.6.39.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ehaupt) by smtp.freebsd.org (Postfix) with ESMTPSA id 6E7282490; Sat, 27 Mar 2021 12:10:13 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Date: Sat, 27 Mar 2021 13:10:11 +0100 From: Emanuel Haupt To: hackers@FreeBSD.org Subject: RFC: possible issue with kqueue Message-Id: <20210327131011.e16291cac86475e75a33812c@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 12:10:14 -0000 Can someone familiar with kqueue please comment on: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254024 From owner-freebsd-hackers@freebsd.org Sat Mar 27 20:59:15 2021 Return-Path: Delivered-To: freebsd-hackers@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 AABF257FF26 for ; Sat, 27 Mar 2021 20:59:15 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7B6B4Z25z4hQy for ; Sat, 27 Mar 2021 20:59:14 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 12RKwpuf059428 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 27 Mar 2021 21:58:52 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be alamar.ventu Subject: Re: cost/benefit of some src.conf options To: Chris Cc: freebsd-hackers@freebsd.org References: <56F46324-59BB-4CC2-BE90-5FF63C4554ED@FreeBSD.org> <79a899c3-368e-20d2-8ac7-0741e00fa3b1@netfence.it> <3bd2010aa225111baa2e813071a88b27@bsdforge.com> From: Andrea Venturoli Message-ID: <8dc8d8b5-2f54-ce3e-66eb-515ea86642c6@netfence.it> Date: Sat, 27 Mar 2021 21:58:51 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <3bd2010aa225111baa2e813071a88b27@bsdforge.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4F7B6B4Z25z4hQy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 20:59:15 -0000 On 3/26/21 10:35 PM, Chris wrote: > My understanding is that retpoline is really only of interest if your > box might > accessed *locally* by *untrusted* individuals. Thanks. Does an user on a guest VM qualifies as *untrusted*? Or does a closed-source software on such VM? In any case, if RETpoline is so, then is IBRS. The comparison would still be interesting to me.