Re: another look at macOS SIP

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: another look at macOS SIP
Date: 2019-09-12 18:59:54
Message-ID: 15ef6231-cda6-f8a4-4d7b-8a5260e1aa38@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-09-10 19:26, Tom Lane wrote:
>> I think the way forward here is to get rid of all uses of system() for
>> calling between PostgreSQL programs.
>
> We could do that perhaps, but how are you going to get make to not use
> /bin/sh while spawning subprocesses? I don't think we want to also
> reimplement make ...

make is not a problem if the DYLD_* assignments are in a makefile rule
(as currently), because then make just calls a shell with a string
"DYLD_*=foo some command", which is not affected by any filtering. It
would be a problem if you do the variable assignments in a makefile
outside a rule or outside a makefile.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-09-12 19:03:43 Re: Create collation reporting the ICU locale display name
Previous Message Alvaro Herrera 2019-09-12 18:58:18 Re: pglz performance