Received: by mail.netbsd.org (Postfix, from userid 605) id 9279084DCC; Wed, 5 Dec 2018 18:16:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A0AE484DCB for ; Wed, 5 Dec 2018 18:16:52 +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 ipQnYOer5lAZ for ; Wed, 5 Dec 2018 18:16:52 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0C7D584C77 for ; Wed, 5 Dec 2018 18:16:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CE374FAD6; Wed, 5 Dec 2018 18:16:51 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 5 Dec 2018 13:16:51 -0500 From: "Christos Zoulas" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20181205181651.CE374FAD6@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: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: christos Date: Wed Dec 5 18:16:51 UTC 2018 Modified Files: src/share/man/man7: sysctl.7 src/sys/dev: mm.c src/sys/kern: init_sysctl.c kern_proc.c src/sys/miscfs/procfs: procfs_linux.c src/sys/sys: param.h proc.h sysctl.h Log Message: As discussed in tech-kern: - make sysctl kern.expose_address tri-state: 0: no access 1: access to processes with open /dev/kmem 2: access to everyone defaults: 0: KASLR kernels 1: non-KASLR kernels - improve efficiency by calling get_expose_address() per sysctl, not per process. - don't expose addresses for linux procfs - welcome to 8.99.27, changes to fill_*proc ABI To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/share/man/man7/sysctl.7 cvs rdiff -u -r1.22 -r1.23 src/sys/dev/mm.c cvs rdiff -u -r1.220 -r1.221 src/sys/kern/init_sysctl.c cvs rdiff -u -r1.221 -r1.222 src/sys/kern/kern_proc.c cvs rdiff -u -r1.73 -r1.74 src/sys/miscfs/procfs/procfs_linux.c cvs rdiff -u -r1.571 -r1.572 src/sys/sys/param.h cvs rdiff -u -r1.349 -r1.350 src/sys/sys/proc.h cvs rdiff -u -r1.228 -r1.229 src/sys/sys/sysctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.