Added check for FreeBSD > 6.0 and use sysctl for security check
This commit is contained in:
parent
87862deec0
commit
cb0f313df0
@ -6,6 +6,12 @@ v0.91.9 16-May-2007
|
|||||||
general:
|
general:
|
||||||
Fixed building on FreeBSD, tested on 5.3
|
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
|
v0.91.8 26-Apr-2007 - 16-May-2007
|
||||||
|
|
||||||
|
9
TODO
9
TODO
@ -130,12 +130,3 @@ mbsetup:
|
|||||||
format, if a filegate list is installed and the filegate switch
|
format, if a filegate list is installed and the filegate switch
|
||||||
setting is wrong, a lot of wrong areas will be created.
|
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.
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user