1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Apply a vendor patch that corrects over-zealous rejection of open file

listing when no options are specificed to lsof and lsof security options
are enabled.

PR:		ports/128538
Submitted by:	Larry Rosenman <ler@lerctr.org> (maintainer)
This commit is contained in:
Wesley Shields 2008-11-02 20:06:43 +00:00
parent 749cd85c1a
commit 23131ae2f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222336
2 changed files with 20 additions and 0 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= lsof
PORTVERSION= 4.81
PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= sysutils
MASTER_SITES= http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \

View File

@ -0,0 +1,19 @@
*** /tmp/T0fSaqTh Sun Nov 2 07:48:14 2008
--- proc.c Sun Nov 2 07:44:24 2008
***************
*** 841,847 ****
{
if (Lf->sf & SELEXCLF)
return;
! if (((Selflags & SELNET) == SELNET) && !(Lf->sf & SELNET))
return;
Lp->pss |= PS_SEC;
if (Plf)
--- 841,847 ----
{
if (Lf->sf & SELEXCLF)
return;
! if ((Selflags == SELNET) && !(Lf->sf & SELNET))
return;
Lp->pss |= PS_SEC;
if (Plf)