If you expect LD_PRELOAD to incorporate code into Bash itself, then you
need to set it before you launch Bash; setting it once Bash is running is
too late.
What exactly is the LD_PRELOAD loading for you, and what does THAT do?
On Thu, 18 Aug 2022, 09:19 , wrote:
> Because I'm using Android, And
On Thu, Aug 18, 2022, 04:10 Dale R. Worley wrote:
> Sam writes:
> > You probably want to edit /etc/ld.so.conf or /etc/ld.so.conf.d/* instead.
>
> The overall concept is that you almost certainly don't want to modify
> the bash source code (and thus executable) to do this.
>
> In general, if you
Sam writes:
> You probably want to edit /etc/ld.so.conf or /etc/ld.so.conf.d/* instead.
The overall concept is that you almost certainly don't want to modify
the bash source code (and thus executable) to do this.
In general, if you want to have a particular environment variable set
"all the time
On 2022-08-17 at 10:09 +0800, b1431736...@163.com wrote:
> excuse me, how can I join the custom environment variable
> into the source code of Bash, and see this variable when execute env
You probably need to export the variable in .bash_profile or .bashrc
files. As Chet said, there would
> On 18 Aug 2022, at 00:19, b1431736...@163.com wrote:
>
> Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash,
> there is a dynamic library that fixes it, so I want to automatically add
> LD_PRELOAD before starting bash to make this dynamic library work , I want to
>
no .. i say im not good at .c yet
On Thu, Aug 18, 2022, 01:36 wrote:
> Sorry, I don't understand what you want me, you can send a .diff file
> tells me how to do?
>
> 在 2022-08-18 07:26:45,"Alex fxmbsw7 Ratchev" 写道:
>
>
>
>
> On Thu, Aug 18, 2022, 01:19 wrote:
>
> Because I'm using Android, An
Sorry, I don't understand what you want me, you can send a .diff file tells me
how to do?
在 2022-08-18 07:26:45,"Alex fxmbsw7 Ratchev" 写道:
On Thu, Aug 18, 2022, 01:19 wrote:
Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash,
there is a dynamic library that fixes
( or use the eval function ( dunno its name and usage ) and eval your two
var assignments )
On Thu, Aug 18, 2022, 01:26 Alex fxmbsw7 Ratchev wrote:
>
>
> On Thu, Aug 18, 2022, 01:19 wrote:
>
>>
>> Because I'm using Android, Android doesn't support #!/bin/sh and
>> #!/bin/bash, there is a dynam
On Thu, Aug 18, 2022, 01:19 wrote:
>
> Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash,
> there is a dynamic library that fixes it, so I want to automatically add
> LD_PRELOAD before starting bash to make this dynamic library work , I want to
> modify the source co
Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash, there is a dynamic library that fixes it, so I want to automatically add LD_PRELOAD before starting bash to make this dynamic library[https://github.com/termux/termux-exec] work , I want to modify the source code of bash
Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash,
there is a dynamic library that fixes it, so I want to automatically add
LD_PRELOAD before starting bash to make this dynamic library work , I want to
modify the source code of bash to make it effective, not the bash.b
maybe just 'eval "declare -gx var=value"' in bash.c code
On Wed, Aug 17, 2022, 17:53 Chet Ramey wrote:
> On 8/16/22 10:09 PM, b1431736...@163.com wrote:
>
> > Bash Version: 5.1
> > Patch Level: 16
> > Release Status: release
> >
> > Description:
> > excuse me, how can I join the custom
On 8/16/22 10:09 PM, b1431736...@163.com wrote:
Bash Version: 5.1
Patch Level: 16
Release Status: release
Description:
excuse me, how can I join the custom environment variable into the
source code of Bash, and see this variable when execute env
What is it you want to do? You rarely
Configuration Information: ./configure --prefix=/data/data/com.termux/files/usr
Machine: aarch64
OS: linux-gnu
Compiler: clang
Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security
uname output: Linux localhost 3.18.71-perf #1 SMP PREEMPT Wed Jul 27 22:01:17
CST 2022 aarch64 Android
Mac
14 matches
Mail list logo