aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-20 06:27:55 +0800
committerpav <pav@FreeBSD.org>2009-03-20 06:27:55 +0800
commit5186d6de4c6217baf54dfb9c0e6273fd596bc8ce (patch)
tree4ba0e7d7035b7cb25813799684f83b672eb2bedb /sysutils
parent1e8a231348af08482d925f1336631b4998a5d669 (diff)
downloadfreebsd-ports-gnome-5186d6de4c6217baf54dfb9c0e6273fd596bc8ce.tar.gz
freebsd-ports-gnome-5186d6de4c6217baf54dfb9c0e6273fd596bc8ce.tar.zst
freebsd-ports-gnome-5186d6de4c6217baf54dfb9c0e6273fd596bc8ce.zip
The lsof port has a patch that turns HASSECURITY on. However, thanks to the
security.bsd.see_other_uids sysctl feature, a lsof binary that was built without HASSECURITY does not report any additional information whensecurity.bsd.see_other_uids is set to 0. It would be nice to get rid of this since enabling HASSECURITY has the nasty side effect that non-root users cannot use lsof to look at processes other than their own even if they a member of group kmem. PR: ports/132557 Submitted by: Craig Leres <leres@ee.lbl.gov> Approved by: maintainer, so (cperciva)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile1
-rw-r--r--sysutils/lsof/files/patch-aa11
2 files changed, 1 insertions, 11 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 1d83e2fb60db..6724ec630366 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -8,6 +8,7 @@
PORTNAME= lsof
PORTVERSION= 4.82C
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.SpringDaemons.com/stas/ \
diff --git a/sysutils/lsof/files/patch-aa b/sysutils/lsof/files/patch-aa
deleted file mode 100644
index 35522688c2c7..000000000000
--- a/sysutils/lsof/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- dialects/freebsd/machine.h.orig Fri Jan 17 23:15:41 1997
-+++ dialects/freebsd/machine.h Tue Feb 4 17:23:58 1997
-@@ -291,7 +291,7 @@
- * (the one that its user logged on with) of the lsof process.
- */
-
--/* #define HASSECURITY 1 */
-+#define HASSECURITY 1
-
-
- /*