Date: Sun, 02 Nov 2008 08:07:17 -0600 From: Larry Rosenman <ler@lerctr.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128538: [MAINTAINER] sysutils/lsof: Apply vendor patch Message-ID: <E1Kwdbp-000Kpq-8V@thebighonker.lerctr.org> Resent-Message-ID: <200811021410.mA2EA1BA033209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128538 >Category: ports >Synopsis: [MAINTAINER] sysutils/lsof: Apply vendor patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 02 14:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Larry Rosenman >Release: FreeBSD 7.0-STABLE amd64 >Organization: LERCTR Consulting >Environment: System: FreeBSD thebighonker.lerctr.org 7.0-STABLE FreeBSD 7.0-STABLE #14: Sat Aug 9 09:47:30 CDT >Description: Apply the following vendor patch: --- A patch to lsof 4.81 is now available that corrects over-zealous rejection of open file listing when no options are specified to lsof and lsof security options are enabled. For example, an lsof compiled with HASSECURITY and HASNOSOCKSECURITY options enabled will produce little or no output when run without options. --- Added file(s): - files/patch-proc.c Bump PORTREVISION Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- lsof-4.81_1,3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/lsof/Makefile /home/ler/ports/sysutils/lsof/Makefile --- /usr/ports/sysutils/lsof/Makefile 2008-11-02 08:02:45.595799109 -0600 +++ /home/ler/ports/sysutils/lsof/Makefile 2008-11-02 08:05:39.065212104 -0600 @@ -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/ \ diff -ruN --exclude=CVS /usr/ports/sysutils/lsof/files/patch-proc.c /home/ler/ports/sysutils/lsof/files/patch-proc.c --- /usr/ports/sysutils/lsof/files/patch-proc.c 1969-12-31 18:00:00.000000000 -0600 +++ /home/ler/ports/sysutils/lsof/files/patch-proc.c 2008-11-02 07:57:09.266300848 -0600 @@ -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) --- lsof-4.81_1,3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Kwdbp-000Kpq-8V>