Received: by mail.netbsd.org (Postfix, from userid 605) id 7A82A84D3B; Sat, 19 Aug 2017 05:03:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 04BAA84D34 for ; Sat, 19 Aug 2017 05:03:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id s72CM0SJqUam for ; Sat, 19 Aug 2017 05:03:57 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9BC0484D2E for ; Sat, 19 Aug 2017 05:03:57 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8E169FAD0; Sat, 19 Aug 2017 05:03:57 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 19 Aug 2017 05:03:57 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-6-0] src/sys/compat/linux/common To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170819050357.8E169FAD0@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: snj Date: Sat Aug 19 05:03:57 UTC 2017 Modified Files: src/sys/compat/linux/common [netbsd-6-0]: linux_time.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1489): sys/compat/linux/common/linux_time.c: 1.38-1.39 via patch Only let the superuser set the compat_linux timezone. Not really keen to invent a new kauth cookie for this useless purpose. From Ilja Van Sprundel. -- Put suser check in the right function: settimeofday, not gettimeofday. While here, remove wrong comment. Noted by kre@. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.35.12.1 src/sys/compat/linux/common/linux_time.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.