Set the sgid kmem bit by default.

"no objections" sthen@, ok pval@ (maintainer)
This commit is contained in:
ajacoutot 2010-12-02 09:14:53 +00:00
parent 7f4aca029a
commit 4973830405
4 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.75 2010/11/22 20:10:54 jasper Exp $
# $OpenBSD: Makefile,v 1.76 2010/12/02 09:14:53 ajacoutot Exp $
COMMENT= list information about open files
VERSION= 4.83
DISTNAME= lsof_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}
REVISION= 1
REVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.mirrorservice.org/sites/vic.cc.purdue.edu/pub/tools/unix/lsof/OLD/ \
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \

View File

@ -4,5 +4,8 @@ special file, a character special file, an executing text reference, a
library, a stream or a network file (Internet socket, NFS file or Unix domain
socket).
lsof(8) runs sgid kmem. However, the code has NOT been audited... you
have been warned.
Main use of lsof will be for writing cross-platforms scripts.
OpenBSD includes fstat(1), which serves the same basic purpose.

View File

@ -1,3 +0,0 @@
If you wish to allow lsof to be used by other than root you must
make it sgid to the group kmem. However, the code has NOT been
audited... you have been warned.

View File

@ -1,8 +1,10 @@
@comment $OpenBSD: PLIST,v 1.11 2010/04/19 05:56:44 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.12 2010/12/02 09:14:53 ajacoutot Exp $
@man man/cat8/lsof.0
@group kmem
@mode 2555
@bin sbin/lsof
@group
@mode
share/lsof/
share/lsof/00MANIFEST
share/lsof/00README