From nobody Mon May 15 07:27:18 2023 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 4QKWCp6YFCz4BHLG; Mon, 15 May 2023 07:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QKWCp5rvRz3h4k; Mon, 15 May 2023 07:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684135638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3bVbtic6gWeD59+OT5nNlYP8nn/4BnetHuxPSQ0rczQ=; b=agXQS4tRncyMtVIPwzi8kEZcBnIDCUyD4FBtQ0WGOc1Levazw67QKJOQ/wJ+pRWdqMyzD0 01sx47HyIFiRx76+zPcPdHm0zRD1Np5C9ho/H+ZnqWR9pxzP9hg3H3fazF/4Sclvn0qkNx E+zuTW3du6nLBQBuvqas+FdhGLoCUbDxmkH5NSmtu/7c+gqet7jooTjgQiM9SAbJ7YWa3Q BHxNNmkottd71OxoUrd83FyHP+Z2NuuZMHDBdcJd8TpoDEECxoq+4sOFNexsZJA5ToYqYu CKUslhvTSmqvF7edPnUC7Yr+bRMVGp1vFkCmr4KYRGHWajm+8JsKuUS9786X5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684135638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3bVbtic6gWeD59+OT5nNlYP8nn/4BnetHuxPSQ0rczQ=; b=OILZLyB+aSG3fFo8sQpjjhPdduo03eNtLcwWtusE90TlBku+id6OMXMyieej7seLiVtYok ePkTs2f3zRpgxkSd9u3iqp4q0fOkV0Lze8I3vU+raBKmfd599Ve65MrX5/SwVe4lJQkyFg 9vmWUqMPvkhEGaQKR1cl0ibeT9wMj1EU8+1VqlWCUmM++BGlurOJmIgYWGPLwnIxGoLAec TrUHBxWY8L3CIxzi0bsPTBP5SuN0RdUTvwmfZl/w/9dO8/48Mh90MDU5YIoQR105cESdaY dLVCP8NRHLzDjnGQsCrI/ODcJ0lmrj2UADrbrOWWmNtW2qcUqOPxLieL8hgptA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684135638; a=rsa-sha256; cv=none; b=pOIhLe18sPwJkOKiL72jCFxXT2WSjc1bijpmirLkF80HcARnITAxOh2obLf/L8ysqNPKUV UdeFE/Fl3MCsCW1shXTb1331UKn3j73x9JROx/wkyryrPU3aiZwyuOZCBFG48YvYysQVoU ZvRl+u4W3dyhtSx0UCV/B+kVyGpwqJ7CPBMCHGeDnHsouG7dktATgljDmB5vFTvWc93cT+ WLNCN8Qab92w00uw6Qr6OYo/k1capYx5znJ1xzTPAgcE7QVFAODZpECgWKC2gj8E4SA+Ey tQ1ITeu1ImGFKtjYA967VBJKiERNWaFBSUdypZjV/4WCEZKXmdqrzJ2r0D3G6A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QKWCp4t4lzWfr; Mon, 15 May 2023 07:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34F7RIYg052079; Mon, 15 May 2023 07:27:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34F7RIBo052078; Mon, 15 May 2023 07:27:18 GMT (envelope-from git) Date: Mon, 15 May 2023 07:27:18 GMT Message-Id: <202305150727.34F7RIBo052078@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: d2b4753f06dc - main - periodic: Use locale-agnostic (ISO 8601) timestamp format 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2b4753f06dcabc090080b8c8c91bda00fc8dac3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=d2b4753f06dcabc090080b8c8c91bda00fc8dac3 commit d2b4753f06dcabc090080b8c8c91bda00fc8dac3 Author: Michael Osipov AuthorDate: 2023-05-04 12:35:59 +0000 Commit: Baptiste Daroussin CommitDate: 2023-05-15 07:26:48 +0000 periodic: Use locale-agnostic (ISO 8601) timestamp format Instead of reyling on locale-sensitive output which can be mangled when e-mailed use consistently ISO 8601 format which contains the same information as '-T'. PR: 271240 MFC After: 3 days --- usr.sbin/periodic/etc/security/100.chksetuid | 2 +- usr.sbin/periodic/etc/security/110.neggrpperm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/periodic/etc/security/100.chksetuid b/usr.sbin/periodic/etc/security/100.chksetuid index 670ae9792021..c850f401d178 100755 --- a/usr.sbin/periodic/etc/security/100.chksetuid +++ b/usr.sbin/periodic/etc/security/100.chksetuid @@ -54,7 +54,7 @@ then }'` find -sx $MP /dev/null \( ! -fstype local \) -prune -o -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ - \( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ | + \( -perm -u+s -or -perm -g+s \) -exec ls -lid -D "%FT%T" \{\} \+ | check_diff setuid - "${host} setuid diffs:" rc=$? fi diff --git a/usr.sbin/periodic/etc/security/110.neggrpperm b/usr.sbin/periodic/etc/security/110.neggrpperm index 55974eae6345..393c83d061c6 100755 --- a/usr.sbin/periodic/etc/security/110.neggrpperm +++ b/usr.sbin/periodic/etc/security/110.neggrpperm @@ -54,7 +54,7 @@ then \( \( ! -perm +010 -and -perm +001 \) -or \ \( ! -perm +020 -and -perm +002 \) -or \ \( ! -perm +040 -and -perm +004 \) \) \ - -exec ls -liTd \{\} \+ | tee /dev/stderr | wc -l) + -exec ls -lid -D "%FT%T" \{\} \+ | tee /dev/stderr | wc -l) [ $n -gt 0 ] && rc=1 || rc=0 fi