Is there a program that can run a program as normal but intercept `open()`/`stat()` calls for a specific path and make it look like there's nothing there?
-
Is there a program that can run a program as normal but intercept `open()`/`stat()` calls for a specific path and make it look like there's nothing there?
I don't want to go full `guix shell --container` or use Docker or anything unless I really need to.
-
@noracodes Vague memories of assorted
LD_PRELOAD
nonsense from the bad old days but thankfully the names are lost to me -
@jordan This is such a retired wizard thing to say
-
Tchoo Tchoooo :trainsgender:replied to !!__NORA__!! last edited by
@noracodes (I assume the question is for linux)
bubblewrap is probably the simplest:
bwrap --dev-bind / / --tmpfs $PATH_TO_HIDE $PRGM
-
!!__NORA__!!replied to Tchoo Tchoooo :trainsgender: last edited by
@dlatchx Gorgeous, thank you!
Copyright © 2024 NodeBB | Contributors