ryanchapman / chroot_before_main Goto Github PK
View Code? Open in Web Editor NEWRun any program in a change root without having to copy in the program and the libraries it depends on
License: Other
Run any program in a change root without having to copy in the program and the libraries it depends on
License: Other
chroot_before_main 1.0.0 - A method of executing dynamically linked executables inside a change root without copying the dynamic libraries into change root. ------------------------------------------------------------------------------- chroot_before_main is a combination of a shared library and accompanying binary which provides a method for executing a program inside a change root directory without having to copy in all libraries that the program depends on. This is accomplished by placing a hook into the program just before main() is called. This hook performs the chroot() call. The dynamic library loader (ld.so) provides a mechanism called LD_AUDIT which allows for a function callback after all dynamic libraries have been loaded, but before the main() function is called. In the case of chroot_before_main, the library chroot_before_main.so contains a function called la_preinit(). la_preinit is where a chroot() is called to place the program in a chroot jail. The program can be further locked down by disallowing the chrooted program to call chroot() itself, which is a known exploit for breaking out of a jail. Ryan Chapman, [email protected] Sun Jun 3 15:24:09 MDT 2012
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.