From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BEB9C4167B for ; Wed, 4 May 2022 17:42:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356388AbiEDRqB (ORCPT ); Wed, 4 May 2022 13:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376470AbiEDRpD (ORCPT ); Wed, 4 May 2022 13:45:03 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 98ED05E766 for ; Wed, 4 May 2022 10:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651684076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JU5OwpyGv01qWElbVdG+Fmdkgzlnlhw3iKgd+Zcxjv8=; b=XnLRAjmc8C7z7762gic1Fm6vfdSjVnVLC4SoFrg97v2R8AqueakI7fyDaIxwjXmUUmaTjs Jo4bU+GRZIFoIKoSS4Z6UZFrYh4wra0TzcSWmQVw2LU7by/msuU0rPJcwlwA0yEh0fz0Vc at9bwM3YlGpVYwtSBIl+ebJko6CBOaI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-517-X1xa8uUyOjSMuQNEIiSCUA-1; Wed, 04 May 2022 13:07:55 -0400 X-MC-Unique: X1xa8uUyOjSMuQNEIiSCUA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4E6BF29ABA06 for ; Wed, 4 May 2022 17:07:55 +0000 (UTC) Received: from localhost (unknown [10.40.195.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id EDBA341373D; Wed, 4 May 2022 17:07:54 +0000 (UTC) From: Petr Lautrbach To: SELinux List , Laszlo Ersek Cc: "Richard W.M. Jones" Subject: Re: [PATCH v2 0/5] selinux_restorecon(3), setfiles(8): skip relabeling errors In-Reply-To: References: Date: Wed, 04 May 2022 19:07:54 +0200 Message-ID: <87czgt8bv9.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Petr Lautrbach writes: > Laszlo Ersek writes: > >> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1794518 >> v1: https://lore.kernel.org/selinux/20220428065354.27605-1-lersek@redhat.com/ >> >> In version 2, I've picked up Daniel Burgener's R-b for patch#3, and >> moved the new symbol "selinux_restorecon_get_skipped_errors" to section >> LIBSELINUX_3.4 of "libselinux.map" in patch#4, according to Petr's >> feedback. >> >> Please CC me on all replies to the series; I'm not subscribed to the >> SELinux mailing list. ("CONTRIBUTING.md" does not say that subscribing >> is a requirement.) >> >> Cc: "Richard W.M. Jones" >> Cc: Petr Lautrbach >> > > > For all 5 > > Acked-by: Petr Lautrbach > And merged. Thanks! > >> Thanks, >> Laszlo >> >> Laszlo Ersek (5): >> setfiles: fix up inconsistent indentation >> setfiles: remove useless assignment and comment (after RHBZ#1926386) >> setfiles: remove useless "iamrestorecon" checks in option parsing >> selinux_restorecon: introduce SELINUX_RESTORECON_COUNT_ERRORS >> setfiles: introduce the -C option for distinguishing file tree walk >> errors >> >> libselinux/include/selinux/restorecon.h | 15 ++++++++ >> libselinux/man/man3/selinux_restorecon.3 | 22 +++++++++++- >> libselinux/man/man3/selinux_restorecon_get_skipped_errors.3 | 28 +++++++++++++++ >> libselinux/src/libselinux.map | 1 + >> libselinux/src/selinux_restorecon.c | 34 +++++++++++++++--- >> policycoreutils/setfiles/restore.c | 8 +++-- >> policycoreutils/setfiles/restore.h | 4 ++- >> policycoreutils/setfiles/setfiles.8 | 22 ++++++++++++ >> policycoreutils/setfiles/setfiles.c | 36 +++++++++----------- >> 9 files changed, 141 insertions(+), 29 deletions(-) >> create mode 100644 libselinux/man/man3/selinux_restorecon_get_skipped_errors.3 >> >> >> base-commit: 2a167d1156578fc29541f6fb60af65452f431aae >> -- >> 2.19.1.3.g30247aa5d201