From 896cb72512a7ab541e30124fe74b1b761d996c40 Mon Sep 17 00:00:00 2001 From: sbd Date: Fri, 30 Apr 2010 06:57:35 +0000 Subject: Remove LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS variables and add option descriptions for lsof-more-secure and lsof-less-secure-sockets. --- mk/defaults/mk.conf | 16 +--------------- mk/defaults/options.description | 2 ++ 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'mk') diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 6dd6c6450ee..5628b2327c9 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.188 2010/03/18 10:49:32 wiz Exp $ +# $NetBSD: mk.conf,v 1.189 2010/04/30 06:57:35 sbd Exp $ # # This file provides default values for variables that may be overridden @@ -1220,20 +1220,6 @@ LINUX_LOCALES?= \ # ru sk sl sr sv th tr uk vi wa zh # Default: all languages -LSOF_MORE_SECURE?= 0 -# Used in lsof to specify that non-root users can only view their own files -# Possible: 0 (allow non-root users to view all open files), or -# 1 (only allow root to view all open files) -# Default: 0 - -LSOF_LESS_SECURE_SOCKETS?= 0 -# Used in lsof to specify that non-root users should still be able to view -# all open sockets even if LSOF_MORE_SECURE is set. If LSOF_MORE_SECURE is -# not set (ie, is zero), this option has no effect. -# Possible: 0 (don't allow non-root users to see sockets they don't own) -# 1 (allow all sockets to be viewed at all times) -# Default: 0 - MAILAGENT_DOMAIN?= example.com MAILAGENT_EMAIL?= testuser@example.com MAILAGENT_FQDN?= test.example.com diff --git a/mk/defaults/options.description b/mk/defaults/options.description index 0973d776f05..186be894e99 100644 --- a/mk/defaults/options.description +++ b/mk/defaults/options.description @@ -293,6 +293,8 @@ links-zlib Enable zlib support for the links WWW browser. live Enable live555 support. lprng-priv-ports Connections must be made from privileged ports. lprng-suid Install LPRng executables setuid root. +lsof-more-secure Only allow root to view all open files with lsof. +lsof-less-secure-sockets If 'lsof-more-secure' is set, allow all sockets to be viewed at all times. lua Enable Lua support. lynx Use and enable support for the lynx browser. lzma Enable LZMA (de)compression support. -- cgit v1.2.3