Re: faketime / libfaketime equivalent in OpenBSD

2017-12-09 Thread x9p
On Sat, December 9, 2017 9:52 pm, Stuart Henderson wrote: > On 2017-12-09, Sergey Bronnikov wrote: >> AFAIK OpenBSD provides statically compiled binaries and you cannot't >> substitute functions from LD_PRELOADed lib for these binaries. >> So libfaketime is useless for releases and snapshots built

Re: faketime / libfaketime equivalent in OpenBSD

2017-12-09 Thread Stuart Henderson
On 2017-12-09, Sergey Bronnikov wrote: > AFAIK OpenBSD provides statically compiled binaries and you cannot't > substitute functions from LD_PRELOADed lib for these binaries. > So libfaketime is useless for releases and snapshots built by the project. Very few binaries are static. Many use pledge

Re: faketime / libfaketime equivalent in OpenBSD

2017-12-09 Thread Sergey Bronnikov
AFAIK OpenBSD provides statically compiled binaries and you cannot't substitute functions from LD_PRELOADed lib for these binaries. So libfaketime is useless for releases and snapshots built by the project. On 19:00 Sat 09 Dec , x9p wrote: > Hi, > > was used to play with faketime under Debian. it

faketime / libfaketime equivalent in OpenBSD

2017-12-09 Thread x9p
Hi, was used to play with faketime under Debian. it uses LD_PRELOAD to report different time to applications. Is there something equivalent, or did it need to be ported? cheers. x9p