Module Name: src Committed By: pooka Date: Thu Feb 17 12:23:58 UTC 2011
Modified Files: src/lib/librumphijack: hijack.c Log Message: Hijack pathname-based system calls. Now all paths starting with /rump are hijacked to go to the rump server. So you can e.g. start a hijacked shell and cd to /rump: $ cd /rump $ pwd /rump $ ls -l dev/null crwxr-xr-x 1 root wheel 2, 2 Feb 17 12:35 dev/null $ ls -l /dev/null crw-rw-rw- 1 root wheel 2, 2 Dec 22 2009 /dev/null $ chmod 0 /dev/null chmod: /dev/null: Operation not permitted $ chmod 0 dev/null $ ls -l /rump/dev/null c--------- 1 root wheel 2, 2 Feb 17 12:35 /rump/dev/null (of course the rump server must have vfs loaded for that to work) To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/lib/librumphijack/hijack.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.