• Mike Hibler's avatar
    Change of strategy: don't pass realpath-ed path to client side. · 67039354
    Mike Hibler authored
    We still use realpath to validate the path up front, but we pass the
    original (DB) path on to the client-side. Passing the resolved path was
    wrong anyway for clients that write images across NFS, because the path
    the client uses could be different than that computed on the server
    (e.g., /proj/foo vs. /.amd_mnt/ops/proj/foo) due to the way mounts are
    done. Note that the server will again validate the client-provided path,
    so if someone were to mess with a symlink in the path between when
    create_image verifies it and when it gets used, there is still no danger.
    
    This will probably eliminate the need for the AMD hack, but I'll leave
    it just to be safe.
    67039354
Name
Last commit
Last update
..
logparse Loading commit data...
nsgen Loading commit data...
GNUmakefile.in Loading commit data...
GrubConf.rb Loading commit data...
addblob.in Loading commit data...
addexternalnetwork.in Loading commit data...
addservers.in Loading commit data...
addspecialdevice.in Loading commit data...
addspecialiface.in Loading commit data...
addvpubaddr.in Loading commit data...
anonsendmail.in Loading commit data...
approvelease.in Loading commit data...
archive-expinfo.in Loading commit data...
archive_list.in Loading commit data...
backupswitches.in Loading commit data...
biosgrabber.pl Loading commit data...
check-shared-bw.in Loading commit data...
checkquota.in Loading commit data...
clone_image.in Loading commit data...
create_image.in Loading commit data...
createdataset.in Loading commit data...
createlease.in Loading commit data...
ctrladdr.in Loading commit data...
cvsinit.in Loading commit data...
cvsupd.pl.in Loading commit data...
daemon_wrapper.in Loading commit data...
delay_config.in Loading commit data...
delete_image.in Loading commit data...
deletelease.in Loading commit data...
deletenode.in Loading commit data...
dumpdescriptor.in Loading commit data...
ec2import-image.pl.in Loading commit data...
ec2import.proxy.in Loading commit data...
elabplab_dongleconfig.py Loading commit data...
emulabfeature.in Loading commit data...
epmodeset.in Loading commit data...
eventping.in Loading commit data...
export-template-remote.rb Loading commit data...
export_tables.in Loading commit data...
extendlease.in Loading commit data...
fillwires.pl Loading commit data...
firstuser.in Loading commit data...
fixexpinfo.in Loading commit data...
fixrootcert.in Loading commit data...
getimages.in Loading commit data...
gettimezone.pl Loading commit data...
grabswitchconfig.in Loading commit data...
grabwebcams.in Loading commit data...
grantfeature.in Loading commit data...
grantimage.in Loading commit data...
grantnodetype.in Loading commit data...
image_import.in Loading commit data...
imagehash.in Loading commit data...
imageinfo.in Loading commit data...
imagerelease.in Loading commit data...
imagevalidate.in Loading commit data...
import_commitlog.in Loading commit data...
link_config.in Loading commit data...
linkmon_ctl.in Loading commit data...
localize_mfs.in Loading commit data...
loghole.1 Loading commit data...
loghole.in Loading commit data...
macgrabber.pl Loading commit data...
management_iface.in Loading commit data...
managetaint.in Loading commit data...
merge-build Loading commit data...
mkblob.in Loading commit data...
mktestbedtest.in Loading commit data...
modlease.in Loading commit data...
newnode.in Loading commit data...
node_admin.in Loading commit data...
node_exclude.in Loading commit data...
node_statewait.in Loading commit data...
node_testsuite Loading commit data...
node_traffic.in Loading commit data...
opsdb_control.in Loading commit data...
opsdb_control.proxy.in Loading commit data...
opsreboot.in Loading commit data...
osstuff.sh Loading commit data...
plabmsrenew.pl.in Loading commit data...
poolmonitor.in Loading commit data...
prereserve.in Loading commit data...
prereserve_check.in Loading commit data...
process-acl Loading commit data...
readblob.in Loading commit data...
remove_old_www.in Loading commit data...
rmblob.in Loading commit data...
rpcgrab.sh Loading commit data...
runsonxen.in Loading commit data...
schemadiff Loading commit data...
setbuildinfo.in Loading commit data...
setdest.in Loading commit data...
sharevlan.in Loading commit data...
showlease.in Loading commit data...
shutdown-shared.in Loading commit data...
sitecheckin.in Loading commit data...
sitecheckin_client.in Loading commit data...
sitevarsdiff Loading commit data...
snmp-if-deref.sh Loading commit data...
spewconlog.in Loading commit data...
spewevents.in Loading commit data...
spewimage.in Loading commit data...
spewleds.in Loading commit data...
spewsource.in Loading commit data...
sshtb.in Loading commit data...
subboss_tftpboot_sync.in Loading commit data...
suchown.in Loading commit data...
switch_traffic.in Loading commit data...
tbbuildkernels Loading commit data...
tcppd.in Loading commit data...
template_record.in Loading commit data...
testbed-control.in Loading commit data...
unelvin.pl Loading commit data...
update_sitevars.in Loading commit data...
vlandiff.in Loading commit data...
vlansync.in Loading commit data...
wanodecheckin.in Loading commit data...
wanodecreate.in Loading commit data...
wbts_dump.in Loading commit data...
webcopy.in Loading commit data...
webcvsweb.in Loading commit data...
webviewvc.in Loading commit data...
withadminprivs Loading commit data...
xlogin.in Loading commit data...