sys_rename: allow arbitrary rename
authorRonald G. Minnich <rminnich@google.com>
Sat, 26 Jul 2014 18:00:18 +0000 (18:00 +0000)
committerRonald G. Minnich <rminnich@google.com>
Sun, 27 Jul 2014 20:25:51 +0000 (20:25 +0000)
commit7c700c17f6df05ec2883c84b18335c47e0ca6cd7
tree60f2600adb186558a168b72b6ebec10ae35864d7
parente744dc67de2f2af11fcc5b297dc72d78a103fefc
sys_rename: allow arbitrary rename

This got a little tricky as we have to strip the mountpoint
base of the target file, and it was essentially impossible
to find the mountpoint after the fact. Don't know if this is the prettiest
way to do it but it works.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/include/ns.h
kern/src/net/eipconv.c
kern/src/ns/chan.c
kern/src/syscall.c