From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45D1D27B4E1 for ; Fri, 7 Nov 2025 16:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762531488; cv=none; b=rQPeCJ+sg/KPXfj12GhsS/EIB6H7aPAbDuSMBGzWD+SKDwJ72t18kHLvkHAuRaJs4ftIFVo4Chwb0y16qBKYIPNRrPCbWyFjDNX2gozr+aUq/vnU0ajua9BB4vVO7uMasTzbw+m4L6XwMBhAerIh94r/WVAR7xwWMo1yiaXL8vI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762531488; c=relaxed/simple; bh=mWSWeTxsNPtt87sfhhqiGcOugBU5Hq49nrEWxTTlOoc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EoqsoM4+gG2wddlcifY4cNCPXpQLndY2p9OdJfP2bB59qM3WNLw3uh4uO1R/NDuETlr3FRVWmzSD6fTbR/30adnOHaxAT6rg46Y1Ep6Q3q45nR98PVAup8Ls0z+nwvHJqVO+qCmP7hDFl8sOyTE+EdBn9//xozp0B2C7ijQL8i0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QfxMMBWm; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QfxMMBWm" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-294fe7c2e69so10107725ad.0 for ; Fri, 07 Nov 2025 08:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762531486; x=1763136286; darn=vger.kernel.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=mWSWeTxsNPtt87sfhhqiGcOugBU5Hq49nrEWxTTlOoc=; b=QfxMMBWmM04oUyTSRK8qeh18CKJmoPlTo7hqExNvB/m1vXugacen5xL2O1oFtXP0AZ F/DQq4hr3GdBLUDaczi1lBpF6BTUlr/bNI2VCcP0hmTVfSAZGkY01WDr72lopA3kLL9Y paRya4N4oteGiJKwlW/a8GQPKoRCI3LHSEOznBKs0CXbihmnuFQXFIRmK+3yUtjB2SJ3 LytmBEjY0ubgSOAQNYIp5dFo3NOw+xwZwQXl1eJyql/wCy+NUCnmKvashX3K61wJNAy0 7GRccmOqVO+SDj+I4Qio7Jgz4ssqCFsoxX0pYQFTnohMrmdtyNCi9NrvS6iteeK62gVn xkxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762531486; x=1763136286; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=mWSWeTxsNPtt87sfhhqiGcOugBU5Hq49nrEWxTTlOoc=; b=dQyozk022PmBB7L4Ej5y+v0K26g6xrqzQbbK5dRKoODG+M3Ct5SQdHVEMhyTENI3EX kaJOWuwzCI7IbFOxtu0UN1/h84SLhef+jlrvzMuDwfDswA2UXx0NaBZOciEJ/YBjYbH+ o1eu+a04mgkvABV5+olbeFFdRbDBW7l7nczyVz4n8eAqn0mmOeGGMOYNPw2r84HsYPCr Y5QDtoDZxM/L0/GjzbMwybAPxJuubnez1YLPWRcx6kIJJ/yu+BW8urTRW9PyakWm2DCt dD1+XOuPcT5kIZh1n4+cRBqL9G4ntST4fHW2bq+RqBgi7VMloMVPRHhBfah/ompucUKk eDKw== X-Forwarded-Encrypted: i=1; AJvYcCXQaQ+Y5qVaeTZ9SIKob+EDj0iq3jr4V0p5JEYwvEvXQFX6bSyjbxGntOfdfQGXnVq9Aw3DWqAefwqv4Rj7Dy9UhA==@vger.kernel.org X-Gm-Message-State: AOJu0Yx02JUMQF4GT7czkAfobWAkt9M8tmjudgmqHTvZLg1UiCN6dyfE 1Vn0NfFEiHJVASoSmZokGowb+WaPJzx+13QhdEy9Vg3KR7M8tET6TGMlmzy8b1w1N7WAo/Hnkxz KR6I93ba1r3idQ2/MI+wKUaxFaM/ORXg= X-Gm-Gg: ASbGncvM4XuXdRNPNwJdbTmmyL9XWIYO5ThC/foRXNmvjD+KmWAA5fk+GQFD83V9Xrh PAoxDJ0GhBqhPkylnGnhSMfmzkxQI6vUU5mJ24cunYeMkHz5dTpcH7y4U9iNb+6fu9DNcoFp1Aw uG/5fYuh4kXWE9v9cYuIkp6ngX0x8UwgH0NiA94o85ZkjTADULzjTM4IqkAKWYCqXHQmePuTVDr YpG0pruXoLBWgqZlCt1JYNMNMK61Z24WltcWYF2SSH4ibdtI407U2eY6EiBY+Nt+TohN3Y= X-Google-Smtp-Source: AGHT+IHg9a8XJ07ch6HSMoeb29qmmcl2+04EJZBy9yE4WBvz8lSMF1oel5zt0CrbOBwsVEH0WAulcj+Sj63I/jhuzbo= X-Received: by 2002:a17:903:3b86:b0:293:623:3260 with SMTP id d9443c01a7336-297c0470aaemr46222695ad.57.1762531486292; Fri, 07 Nov 2025 08:04:46 -0800 (PST) Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20251104205236.60931-1-jwcart2@gmail.com> <20251104205236.60931-2-jwcart2@gmail.com> In-Reply-To: From: Stephen Smalley Date: Fri, 7 Nov 2025 11:04:35 -0500 X-Gm-Features: AWmQ_bkbzb56zqm8VJzCMlL-kt4C-4i7XOFIcDmUUPNFXOuwEk44CKWoqJ_B0RI Message-ID: Subject: Re: [PATCH 2/2] checkpolicy/tests: Modify tests to check handling of initial sids To: James Carter Cc: selinux@vger.kernel.org, russell@coker.com.au, Chris PeBenito , selinux-refpolicy@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 5, 2025 at 2:00=E2=80=AFPM Stephen Smalley wrote: > > On Tue, Nov 4, 2025 at 3:52=E2=80=AFPM James Carter w= rote: > > > > For policy_allonce.conf and policy_allonce_xen.conf declare the > > first three initial sids, but only assign a context to the first > > and third. This will cause the second initial sid to be dropped > > from the binary policy and cause the handling of a gap in the > > initial sids to be tested. > > > > Update the expected and expected_opt policies to reflect the new > > expected resulting policies. > > > > Signed-off-by: James Carter > > Acked-by: Stephen Smalley > Tested-by: Stephen Smalley Thanks, both patches now applied.