Thanks Serge, you're right, my /tmp/bash tests indicate that the fork() + execve() works properly.
Load this profile, cd /tmp ; ./bash -- and then "echo *". You should see a "*". /tmp/bash { /tmp/bash rmix, /lib/** rm, /dev/tty rw, }
Now load this profile: /tmp/bash { /tmp/bash rmix, /lib/** rm, /dev/tty rw, /tmp/ r, }
"echo *" still shows "*". I'd expect the list of files in the /tmp/ directory.
Restart /tmp/bash. "echo *" will now show the files in the /tmp/ directory.
Thanks Serge, you're right, my /tmp/bash tests indicate that the fork() + execve() works properly.
Load this profile, cd /tmp ; ./bash -- and then "echo *". You should see a "*".
/tmp/bash {
/tmp/bash rmix,
/lib/** rm,
/dev/tty rw,
}
Now load this profile:
/tmp/bash {
/tmp/bash rmix,
/lib/** rm,
/dev/tty rw,
/tmp/ r,
}
"echo *" still shows "*". I'd expect the list of files in the /tmp/ directory.
Restart /tmp/bash. "echo *" will now show the files in the /tmp/ directory.