There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once...
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 3 Aug 2007 18:11:10 +0000 (18:11 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Fri, 3 Aug 2007 18:11:10 +0000 (18:11 +0000)
commit5f167675beabb9f55df5fe8a579f87763764cb08
tree8c754827c29eb485f19f33411ba848f39f56152c
parent8da5f1d22cdae462733c7b844aed6e09ddde02f5
There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once after.
Refuse creating new contexts, NodeManager should be creating them.
src/vsh.c