From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 829E918134CD for ; Thu, 9 May 2024 20:53:10 -0400 (EDT) (envelope-from sommerfeld@hamachi.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 85A36620246; Thu, 9 May 2024 20:53:10 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1715302390; b=x+7Br8OiUamgNLDXHNnj1WyokNn33G2WNSsCY+JL/JJjEiu/d0 9Sf7MpReGd/PbIrna+txtKj1C8kI7arxTk8PCnjnGaJS0fXNnPrfTPXRYss4m21e 4CA/k0C16LPeKCbAjOGasszaiUkLaw3q/Uyg+hI5tuNa9q2blK4ot5ags1A9notX EB5903DtaLhvgu1R/aA4A/XuTwMEvkkR/lW/4SpumEbb1oB4koSh9HVqhpc1hXtA Ed4mlzjoSJqHYlsTzMGYulV7F+tw2S2pkp1W7j4notQZib+12eVVkO+o5KoxIHWr btZwlBU7raTC7QU/N+0s6QhbFW56rpFbA+3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:to:subject:from :content-type:content-transfer-encoding; s=arcseal; t= 1715302390; bh=dGz/NOScgr6PgvbmNMukXtEmuEah9Dl14YodkT2UFRA=; b=J //QB4tTNM58hj5+Nr/NGh7JBpseYJX1Pob/YW9Zhtbwd6h8Mwc/lvDM7vS/hgyEC W2c477yeFpPQRdt/DeSYuRmDswsRaSzQQo3/y/b1pH2RkR3jAmxoml23D4zslxp0 8axrHruODAtt+5gSnvWr5r7D9oLYuAa1EOuBtdDirPi333gxJ8vHJXeuwRBARCXu j7zTfUgI0JkUHfmM3p4pG9ztNLQ4fMRKJRUWiCN4vWuqwnv6I5UFv+AgRBDFN87D HbE63FmTBYjjJO53sG2PgMijZF3MalN+2yGP+8FvQc5KXwuevjI34DoFQYXKeMQY iJKoCz52VHJ+xmsc5cCbQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=pass (2048-bit rsa key sha256) header.d=hamachi.org header.i=@hamachi.org header.b=GPn9IWJq header.a=rsa-sha256 header.s=hamachi-202405 x-bits=2048; dmarc=pass policy.published-domain-policy=reject policy.applied-disposition=none policy.evaluated-disposition=none (p=reject,d=none,d.eval=none) policy.policy-from=p header.from=hamachi.org; iprev=pass smtp.remote-ip=173.11.94.225 (the-governor.hamachi.org); spf=pass smtp.mailfrom=sommerfeld@hamachi.org smtp.helo=the-governor.hamachi.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=the-governor.hamachi.org policy.ptr=the-governor.hamachi.org; x-return-mx=pass header.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org); x-return-mx=pass smtp.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=pass (2048-bit rsa key sha256) header.d=hamachi.org header.i=@hamachi.org header.b=GPn9IWJq header.a=rsa-sha256 header.s=hamachi-202405 x-bits=2048; dmarc=pass policy.published-domain-policy=reject policy.applied-disposition=none policy.evaluated-disposition=none (p=reject,d=none,d.eval=none) policy.policy-from=p header.from=hamachi.org; iprev=pass smtp.remote-ip=173.11.94.225 (the-governor.hamachi.org); spf=pass smtp.mailfrom=sommerfeld@hamachi.org smtp.helo=the-governor.hamachi.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=the-governor.hamachi.org policy.ptr=the-governor.hamachi.org; x-return-mx=pass header.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org); x-return-mx=pass smtp.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrvdefgedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fvuffhtgfgsehtjeertddtvdejnecuhfhrohhmpeeuihhllhcuufhomhhmvghrfhgvlhgu uceoshhomhhmvghrfhgvlhgusehhrghmrggthhhirdhorhhgqeenucggtffrrghtthgvrh hnpeeuudekueeiueehieeiudelkeetveelieefgeduheethfeufffhudeludfguefgueen ucffohhmrghinhepihhllhhumhhoshdrohhrghenucfkphepudejfedruddurdelgedrvd dvhedpvdeitdefmeeftddvgeemvgdtheemrggstddtmeemfeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepihhnvghtpedujeefrdduuddrleegrddvvdehpdhhvghloh epthhhvgdqghhovhgvrhhnohhrrdhhrghmrggthhhirdhorhhgpdhmrghilhhfrhhomhep oehsohhmmhgvrhhfvghlugeshhgrmhgrtghhihdrohhrgheqpdhnsggprhgtphhtthhope dupdhrtghpthhtohepoeguvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdho rhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamachi.org: 173.11.94.225 is authorized to use 'sommerfeld@hamachi.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="sommerfeld@hamachi.org"; helo=the-governor.hamachi.org; client-ip=173.11.94.225 Received: from the-governor.hamachi.org (the-governor.hamachi.org [173.11.94.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Thu, 9 May 2024 20:53:09 -0400 (EDT) (envelope-from sommerfeld@hamachi.org) Received: from [IPV6:2603:3024:e05:ab00::3] (hydra.hamachi.org [IPv6:2603:3024:e05:ab00::3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sommerfeld) by the-governor.hamachi.org (Postfix) with ESMTPSA id 979A338B1; Thu, 9 May 2024 17:53:08 -0700 (PDT) Authentication-Results: the-governor.hamachi.org; auth=pass; dkim=pass (2048-bit rsa key sha256) header.d=hamachi.org header.i=@hamachi.org header.b=GPn9IWJq header.a=rsa-sha256 header.s=hamachi-202405; x-aligned-from=pass (Address match); x-return-mx=pass header.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org); x-return-mx=pass smtp.domain=hamachi.org policy.is_org=yes (MX Records found: the-governor.hamachi.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hamachi.org; s=hamachi-202405; t=1715302388; bh=dGz/NOScgr6PgvbmNMukXtEmuEah9Dl14YodkT2UFRA=; h=Date:To:Subject:From; b=GPn9IWJqzygF3c+HBZmq3yH7fIlPWm/05YUlg4gXKbSz0q9982vAZJQx9wEKP0lib S0MHLK1JZLAHvXik3SI4DCjlfuz0lCc6cTtOod20jPrptlRQW7r43gwtzeMXdAgbxt +HhffBrl6w+AW4L6GpnXRtJW+1L2h2OcLYTMJXJF21oNRE0Gw0A6I95yIA7734d8pP doUoMQslElCy00pezfoKnXYWl8gAs9ioRu0Vd7onB3qnFmRk++TuY8m0Rh2+goMekZ dGUg6rM6nZ85e2AG+LepUhRYKLakJedA4rBcn1BVq0i20BUJX5dkbxQSVmnueyyLOK zYMvw27/sd5aQ== Message-ID: Date: Thu, 9 May 2024 17:53:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: developer@lists.illumos.org Subject: [REVIEW] 16546 The find command should be able to find SIDs Content-Language: en-US From: Bill Sommerfeld Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: af52a2f4-0e67-11ef-803e-1d410a8c7b06 Issue: https://www.illumos.org/issues/16546 CR: https://code.illumos.org/c/illumos-gate/+/3469 Diff: https://code.illumos.org/~diff/6a1e01c8161ed7e03ff8dbae7d62702efa2aec4a Last year I noticed a few odd SID-based file ownerships and acls in an smb-exported filesystem. To help clean it up, I implemented four new predicates/options for the find command, which let it select files by SID; the implementation is pretty simple (map the SID to an ephemeral ID and map the predicate to the corresponding uid/gid based predicate). I'd like to integrate this into illumos-gate. Thanks in advance for your review. - Bill