Re: another look at macOS SIP - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: another look at macOS SIP
Date
Msg-id 15ef6231-cda6-f8a4-4d7b-8a5260e1aa38@2ndquadrant.com
Whole thread Raw
In response to Re: another look at macOS SIP  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pglz performance
Next
From: Tom Lane
Date:
Subject: Re: Create collation reporting the ICU locale display name