mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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)
This commit is contained in:
parent
12c0025123
commit
ed9214cdb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230450
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= lsof
|
||||
PORTVERSION= 4.82C
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.SpringDaemons.com/stas/ \
|
||||
|
@ -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
|
||||
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user