From nobody Thu Jun 5 20:37:46 2025 X-Original-To: dev-commits-src-main@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 4bCx970c4Lz5yM1k; Thu, 05 Jun 2025 20:38:03 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bCx962Tg7z3S9h; Thu, 05 Jun 2025 20:38:02 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-6071ac9dc3eso2228477a12.1; Thu, 05 Jun 2025 13:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749155880; x=1749760680; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pywf0pzjKBkZsHRNzan14nzP1MXAtQ7ZoUtlmuT2CTw=; b=R57hSBALCCkLYsSKm3lqBFn0pwBhZpxntCMBwUop3flytyvwhlb+YH1Heqt+w1V0bL NnwQRG2n2me299VjCiAWRczwckL/H5mDsWOctjFHV/ZfKnhPAYDGt9H3IVBB3k5/vS7T SA5SCPDHnkaCkpGzDQsg3lQXWMGLhn55y6rjjJ8280ly4qDsz5Fy7C3YsfnruId+TBXQ 7sN5CF9Uvv1rtc9nul2Xci3334WeUt2d87gr1AJ+rv/9wJy7dM7N9ztaWVHpN/wjquYM eN+25uYNpqmq8CmeFOrRwPjYS1AKeulq2EQ5XtBM2fGJjJtUrxhZ12KgmdhfrXb64PuH pCfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749155880; x=1749760680; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pywf0pzjKBkZsHRNzan14nzP1MXAtQ7ZoUtlmuT2CTw=; b=gABVB9zG09khUDJ0dHlFaTBoK6j22EDxeci8uQrG5dbQKHErVDsdlGKVf+ECQig7yT 45VAzpDbzHwCivguLyhicO4J/HJ8Iz212h3U6EM4fGF8R/g/8T4Errrf6Uk6QE5zP5aD CWpfXkFwLStGACuTNpOYXlhTmyvhvIu4Nk/S3cIiqiG37z6pTxmaKzVwvOqgceAShXDr ox31fQBn3+CxoCLgwWoITLfosoosEBlDNBYvJwG1uqFzeLJY8N+zag68t2fuJ9CQCJdy B2Q5R3UqLGsz573ZtJ+YCHPNUmmOdYTN8q62/NvyGOPN3WMBe1xhhUUehyXUNskK8Lbb poTw== X-Forwarded-Encrypted: i=1; AJvYcCUmV6j6MIZywc0otMtIL1Swmzlj0yuPh1RBlLI0XHl9bscO8xTeUc89xssY2SysQCP7/WjoTyyIuk1+8lMB3rZn3K/nKcE=@freebsd.org, AJvYcCWUtwgH0RDGQ/5hKirNqrRT3GlWswxbM4KRDWvQksyZQt72um9W8+ZXNosC65FR9kuGJPWOJiAotcHSRy40Y00=@freebsd.org, AJvYcCX/ymE24//eOLy2BMcGLtPtNKiFNyI+gCJEx7cNEH6RKIoT7d/hLgNzmEhvQRec8HGo0QGZvSW98uyne26poOdFOeZG@freebsd.org X-Gm-Message-State: AOJu0YyFop2NudCsw3ecws3tntn56khxcT5KuT1VaJHFRoYEPafgf3u0 aCOhn9kkJUBr4WLID57tuwIuP52wOX/iYXv68tHX1vnrfvxvWFsPujI8ns/h+4E1C/HtKZUr7/b NWGdPK10k7N6D2FHpR0IseKvd9aZfVzqJQQTm3ycx X-Gm-Gg: ASbGncuX58wO35BA1PzDsvYNuhhalUKNGY4C33AearQQv/YjKrvIFxwtGJxAdMvBg4M kKAhIR78XBaFo6pzEExHsMhT8GAODzPS+j3Y0zheZIcyNbd+OdWBI4/+1hq5/axHhjGU+DMQd0Z QzyeHZe22aYNe1a7pIL5fjhSr1pxq1y8x0NgH4PCB+Wdfz4taBKzlEGO+0bEYz90e+vH0bvDoby p0= X-Google-Smtp-Source: AGHT+IHPJSbA/P2m4YWPPCHC/MOFeP9Mj8/Lskam3y5wCdyStcMDBDUN6k8EtHecVOETrzOQpISDADdNnfaKdyrboRs= X-Received: by 2002:a05:6402:34cd:b0:607:4500:2862 with SMTP id 4fb4d7f45d1cf-60773ed2c0bmr610303a12.15.1749155879470; Thu, 05 Jun 2025 13:37:59 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <202506042253.554MrDgZ093573@gitrepo.freebsd.org> In-Reply-To: From: Rick Macklem Date: Thu, 5 Jun 2025 13:37:46 -0700 X-Gm-Features: AX0GCFtYtNhCdzeUFNcDUuV7domwscneVtmo_hbYfALyoV3kRsBWE58ttGzE1KE Message-ID: Subject: Re: git: 6b6542ec8446 - main - open.2: Document the O_NAMEDATTR flag To: Brooks Davis Cc: Rick Macklem , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bCx962Tg7z3S9h X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] On Thu, Jun 5, 2025 at 9:45=E2=80=AFAM Brooks Davis wr= ote: > > CAUTION: This email originated from outside of the University of Guelph. = Do not click links or open attachments unless you recognize the sender and = know the content is safe. If in doubt, forward suspicious emails to IThelp@= uoguelph.ca. > > On Wed, Jun 04, 2025 at 10:53:13PM +0000, Rick Macklem wrote: > > The branch main has been updated by rmacklem: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D6b6542ec84462c9d1fceb43b= ffb832e0fd556661 > > > > commit 6b6542ec84462c9d1fceb43bffb832e0fd556661 > > Author: Rick Macklem > > AuthorDate: 2025-06-04 22:50:16 +0000 > > Commit: Rick Macklem > > CommitDate: 2025-06-04 22:50:16 +0000 > > > > open.2: Document the O_NAMEDATTR flag > > > > Commit 2ec2ba7e232d added support for the O_NAMEDATTR flag to > > the open(2) and openat(2) syscalls for main. > > I must confess I'm quite concernted that we added this when it seems to > be unique to FreeBSD. We've very short of O_ bits and when we're out, > we're out. I'm not sure we should be adding anything that isn't at > least in Linux. Well, it's in Solaris as O_XATTR. (I chose a different name to try and avoid confusion with the extended attributes mechanism already in place in FreeBSD for Linux style extended attributes.) Bash is an example of an application that has support for O_XATTR. Is Linux more important than Solaris these days? (I guess so.) The alternative would be some kind of ioctl() interface, but that wouldn't look anything like what Solaris provides. rick > > -- Brooks