From cb0f313df037e2dcadcbf16b4afd6a6a4bac2297 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 28 May 2007 10:50:02 +0000 Subject: [PATCH] Added check for FreeBSD > 6.0 and use sysctl for security check --- ChangeLog | 6 ++++++ TODO | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 851b076f..cff0a77d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,12 @@ v0.91.9 16-May-2007 general: Fixed building on FreeBSD, tested on 5.3 + mbpasswd: + Added check for FreeBSD > 6.0 and use sysctl for security check. + + mbuseradd: + Added check for FreeBSD > 6.0 and use sysctl for security check. + v0.91.8 26-Apr-2007 - 16-May-2007 diff --git a/TODO b/TODO index 102a8cb8..f8995bcc 100644 --- a/TODO +++ b/TODO @@ -130,12 +130,3 @@ mbsetup: format, if a filegate list is installed and the filegate switch setting is wrong, a lot of wrong areas will be created. -configure: - N: Add a test for FreeBSD to see if the sysctl function supports mib - defines KERN_PROC_ARGS and KERN_PROC_ARGV. If not, fallback to - /proc tests. Try adding a check for a mounted /proc filesystem. - We need these tests to secure mbpasswd and mbuseradd. - According to Google, FreeBSD switched to sysctl from 5.0. The - KERN_PROC_ARGV seems still not present so this is not compatible - with OpenBSD and NetBSD. OpenBSD and NetBSD are different too. -