Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 15:51:07 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342047 - stable/12/sys/kern
Message-ID:  <201812131551.wBDFp7LT063244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Dec 13 15:51:07 2018
New Revision: 342047
URL: https://svnweb.freebsd.org/changeset/base/342047

Log:
  MFC r341638:
  Let kern.trap_enotcap be set as a tunable.

Modified:
  stable/12/sys/kern/sys_capability.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/sys_capability.c
==============================================================================
--- stable/12/sys/kern/sys_capability.c	Thu Dec 13 13:25:37 2018	(r342046)
+++ stable/12/sys/kern/sys_capability.c	Thu Dec 13 15:51:07 2018	(r342047)
@@ -86,7 +86,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 
 bool __read_frequently trap_enotcap;
-SYSCTL_BOOL(_kern, OID_AUTO, trap_enotcap, CTLFLAG_RW, &trap_enotcap, 0,
+SYSCTL_BOOL(_kern, OID_AUTO, trap_enotcap, CTLFLAG_RWTUN, &trap_enotcap, 0,
     "Deliver SIGTRAP on ENOTCAPABLE");
 
 #ifdef CAPABILITY_MODE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812131551.wBDFp7LT063244>