From nobody Fri May 19 08:20:07 2023 X-Original-To: dev-commits-src-all@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 4QN0Bv53RRz4BfS4; Fri, 19 May 2023 08:20:07 +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 4QN0Bv4Hz2z4Gl4; Fri, 19 May 2023 08:20:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684484407; 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=XCjo13fgZLd1enfWB+ESvsR429S1ql/Cm72QDP++Y3U=; b=X5+7IBXOZF29H15i6LpVFcR0j8yu12/C+NS1q1PeOs9mgKDkNF1hbvIXowJK1Hk2A0xZvY G0zd9/FDYp+OjoDJQdhe2LhuC1aQLAE0zs5eiDbZUXWMVal+OdHk+mvsQW1gu6PFCpfwzT FGO7QBwOhbheDfuzta0hKC9HaOlazucZlMRStEU80pl9NJ72c5lmaqZEmoeAf1iXirqj9V 4RGAtj3cbUZ3M/8NoX3bZszGV2w8HSNQ0eIGBFXZpvD0KcnRW04A6g9W1eLnz2AOxW+jvm FA1+rQQo1f0WBU6VXLmDFjAlpaR5Gtt5RtVqG+Zgx9lNJM1d0spwviQyyPlrEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684484407; 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=XCjo13fgZLd1enfWB+ESvsR429S1ql/Cm72QDP++Y3U=; b=iTpuaE5zWE3k8PU1mfzfHgIlBScZaXSF+fLVf+aWpOqDvf3SI/DnOE7gDsxC3fQ3Uv3GJL gCgqfgCeC+oWMLNRcyevpVUDktaYCZC25eO+/hlR/mDcfjTLJt5ndXM3oxlpVETN9AxBlw Kxe11ErXwXpHEaAhFg6wNgH4j0ZjLAZXl/KGOJtmP6khH5zGlkqTy35fMQTt7pTKgKZJF+ ScL7ceJbT2I98LPB+gSYN5X4207WVPfocq5Lk+WO7xnqGanVDwdmsXqp3D2hQZBE6J3AYQ d25Uq0qKXD6GBzNXUC7pvusBTfsZdDcgdC8NqYoXVpxEQa78YQxVIhE1TG08lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684484407; a=rsa-sha256; cv=none; b=Q/eU3IVeW/GMi32kG1m8jLLGScHpGpKgldjKYp6xa6fa/SM3iqRCRCXJJwap+H0fSiNOLI GpMqStrEtbmby0N9Z8KoKQcYc83XtugNFnToWlPxJgZSvwoRFJnpUNvjgMoH38oXlyhvwG W6HSGQl3+xxnfHUS8UEFI+qraLgUecBck6sACkAO4BSEfVBNv+Z7q6xmhKGM+OqzePWrFO dHSt9ZtNF3/24spun3V4WU5LGgXlxD2qyPfUZz5lBVGqTtXZJw2LlMXGS+hx1sHJ7t+h5s Bf1EHbaoU4lQVZHCPlu6qBdbMuZ4XgfQfZqu6R80SWr3SDHNG+OrEJwMvZ2m+A== 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 4QN0Bv3C5MzLRJ; Fri, 19 May 2023 08:20:07 +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 34J8K7rF021779; Fri, 19 May 2023 08:20:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34J8K7Xm021777; Fri, 19 May 2023 08:20:07 GMT (envelope-from git) Date: Fri, 19 May 2023 08:20:07 GMT Message-Id: <202305190820.34J8K7Xm021777@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Baptiste Daroussin Subject: git: 0cf997acbf0c - stable/12 - periodic: Use locale-agnostic (ISO 8601) timestamp format List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/12 X-Git-Reftype: branch X-Git-Commit: 0cf997acbf0c68988470efcba691f87c38014872 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=0cf997acbf0c68988470efcba691f87c38014872 commit 0cf997acbf0c68988470efcba691f87c38014872 Author: Michael Osipov AuthorDate: 2023-05-04 12:35:59 +0000 Commit: Baptiste Daroussin CommitDate: 2023-05-19 08:19:55 +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 (cherry picked from commit d2b4753f06dcabc090080b8c8c91bda00fc8dac3) --- 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