Re: PG Patch (fwd) [openserver patch followup #2]

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org, jkj(at)sco(dot)com
Subject: Re: PG Patch (fwd) [openserver patch followup #2]
Date: 2003-07-25 15:07:04
Message-ID: 200307251507.h6PF74718009@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Larry Rosenman wrote:
> > If your system is broken in that particular way, upgrade your system or
> > don't use setuid programs at all. Those are the only sane choices. It is
> > not an acceptable choice to disable all valid uses of nonabsolute sonames
> > for all users, just because some users are running on broken systems with
> > obvious security flaws.
>
> I disagree STRONGLY with what you are saying here. What harm does it do to
> add the ABILITY for a port to use a ABSOLUTE DT_SONAME?
>
> All the SYSTEM SUPPLIED .so's on UnixWare use an absolute DT_SONAME, and I
> feel
> that we should build libpq to supply same on UnixWare, and Kean suggests
> that
> the prefered, SCO recommended way on OpenServer is to do the same.
>
> I belive that the issue is not broken systems, but broken practice.

It is a broken system. Setuid shouldn't honor that environment
variable, because you are never going to be sure you catch all the
shared library file creations. Also, once we hard code it, you can't
move the library around later if you wish.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message greg 2003-07-25 15:12:13 Re: Datetime patch
Previous Message Bruce Momjian 2003-07-25 14:59:31 Re: UPDATED Patch for adding DATACUBE operator