Md at debian.org

tales of a debian maintainer

switchsh.c

switchsh is a tiny program which can be used to temporarily change /bin/sh only for its child processes.

It's primary use is running broken scripts using bashisms when your default /bin/sh is dash or to check that your packages are free of bashisms when your default shell is bash.

It shows how to use bind mounts, CLONE_NEWNS and the clone(2) and unshare(2) Linux system calls.

About

This is the blog of Marco d'Itri.

S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

See also:

My blogroll:


W3C HTML 4.01
W3C CSS 2.0     

Powered by Bryar.pm.