From nobody Tue Mar 28 00:07:41 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Plqkm5nn8z42H4q for ; Tue, 28 Mar 2023 00:07:44 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Plqkm3vHnz4712 for ; Tue, 28 Mar 2023 00:07:44 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-f43.google.com with SMTP id t17-20020a05600c451100b003edc906aeeaso70537wmo.1 for ; Mon, 27 Mar 2023 17:07:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679962063; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t0Dc1Fg4Bm5RRvIbfTmuvdHPG9Pxu+X5x1kSo4TSja4=; b=mfX8fxns1oylmkh9/P4UqWAMuwoYv0vFkt77RoZlH+ojw+6EL5XPnpTr2l43+omSyI eVMesW9lSyGQuNdMpDD//+hKCCIpCbctiQ0ErEPOnIw+cegIA1ZqYTn6a0DE8BY/Qnck 2KjtmQviKV5D1oVQxwTmx9JIKRM4D/XcgQjSlKEpwAqvsFQHST7qPB3lUbQb1XADv31j 3z0CQW619o+N04i/0kt+NmUgLB7vFzziCexZtTAIFubmbqPgIOhxeuvpKS7ol9Jm+E68 HrNAdeo7RQ13ijo5fAxrXNhELjcsUDzN328BG2cNr4EDB8TFq49mTTODDpyRkitBv3uc vQ7g== X-Gm-Message-State: AO0yUKUfA6u2Fgf4fYyeNXdAPWjMpw9dDo32jeU/wvsHL4J+2jX9Nqy8 OtWXrsG4qKUbPQNNNH1mDXDWNg== X-Google-Smtp-Source: AK7set8NFsM2RFwz+gdbUNIUc5LMOlx39KBnVgkshlTMiR5Wjs2m1cTstP6N6g7K9Puihg9N/JVgJQ== X-Received: by 2002:a7b:c448:0:b0:3ef:294c:de50 with SMTP id l8-20020a7bc448000000b003ef294cde50mr10885248wmi.29.1679962062903; Mon, 27 Mar 2023 17:07:42 -0700 (PDT) Received: from smtpclient.apple (global-5-144.n-2.net.cam.ac.uk. [131.111.5.144]) by smtp.gmail.com with ESMTPSA id m1-20020a05600c4f4100b003ee1e07a14asm10402122wmq.45.2023.03.27.17.07.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2023 17:07:42 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: git: 61194e9852e6 - main - Add kqueue1() syscall From: Jessica Clarke In-Reply-To: Date: Tue, 28 Mar 2023 01:07:41 +0100 Cc: Konstantin Belousov , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <930C69C9-64E3-4399-BE35-ABB137F06EC2@freebsd.org> References: <202303272339.32RNdWPD063667@gitrepo.freebsd.org> To: Alan Somers X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Plqkm3vHnz4712 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 28 Mar 2023, at 00:45, Alan Somers wrote: >=20 > On Mon, Mar 27, 2023 at 4:39=E2=80=AFPM Konstantin Belousov = wrote: >>=20 >> The branch main has been updated by kib: >>=20 >> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D61194e9852e641d1533cd04a5679d604= 2ff975d3 >>=20 >> commit 61194e9852e641d1533cd04a5679d6042ff975d3 >> Author: Konstantin Belousov >> AuthorDate: 2023-03-25 23:39:02 +0000 >> Commit: Konstantin Belousov >> CommitDate: 2023-03-27 23:39:26 +0000 >>=20 >> Add kqueue1() syscall >>=20 >> It takes the flags argument. Immediate use is to provide the = KQUEUE_CLOEXEC >> flag for kqueue(2). >>=20 >> Reviewed by: emaste, jhb >> Sponsored by: The FreeBSD Foundation >> MFC after: 1 week >> Differential revision: https://reviews.freebsd.org/D39271 >=20 > We already have abort2(2), dup2(2), pipe2(2), and thr_kill2(2) that > are similar to other syscalls but with a flags argument. > Additionally, Linux has a renameat(2). But I'm not aware of any > syscalls named xxx1. Should we call this new one kqueue2 to follow > the existing convention? This was discussed on the linked review. Jess