Author: oshogbo Date: Wed Nov 18 21:26:14 2020 New Revision: 367820 URL: https://svnweb.freebsd.org/changeset/base/367820
Log: Add CTLFLAG_MPSAFE to the suser_enabled sysctl. Pointed out by: mjg Modified: head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_priv.c ============================================================================== --- head/sys/kern/kern_priv.c Wed Nov 18 21:07:08 2020 (r367819) +++ head/sys/kern/kern_priv.c Wed Nov 18 21:26:14 2020 (r367820) @@ -107,8 +107,8 @@ sysctl_kern_suser_enabled(SYSCTL_HANDLER_ARGS) } SYSCTL_PROC(_security_bsd, OID_AUTO, suser_enabled, CTLTYPE_INT | - CTLFLAG_RWTUN | CTLFLAG_PRISON, 0, 0, &sysctl_kern_suser_enabled, "I", - "Processes with uid 0 have privilege"); + CTLFLAG_RWTUN | CTLFLAG_PRISON | CTLFLAG_MPSAFE, 0, 0, + &sysctl_kern_suser_enabled, "I", "Processes with uid 0 have privilege"); static int unprivileged_mlock = 1; SYSCTL_INT(_security_bsd, OID_AUTO, unprivileged_mlock, CTLFLAG_RWTUN, _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"