Searched refs:imageDir (Results 1 – 3 of 3) sorted by relevance
/external/syzkaller/vm/gvisor/ |
D | gvisor.go | 44 imageDir string member 80 imageDir := filepath.Join(workdir, "image") 84 osutil.MkdirAll(imageDir) 93 vmConfig := fmt.Sprintf(configTempl, imageDir, caps) 101 if err := osutil.CopyFile(bin, filepath.Join(imageDir, "init")); err != nil { 121 imageDir: imageDir, 225 if err := osutil.CopyFile(hostSrc, filepath.Join(inst.imageDir, fname)); err != nil { 228 if err := os.Chmod(inst.imageDir, 0777); err != nil {
|
/external/syzkaller/syz-ci/ |
D | manager.go | 339 func (mgr *Manager) testImage(imageDir string, info *BuildInfo) error { 341 mgrcfg, err := mgr.createTestConfig(imageDir, info) 380 if err := mgr.reportBuildError(rep, info, imageDir); err != nil { 399 func (mgr *Manager) reportBuildError(rep *report.Report, info *BuildInfo, imageDir string) error { 405 build, err := mgr.createDashboardBuild(info, imageDir, "error") 422 func (mgr *Manager) createTestConfig(imageDir string, info *BuildInfo) (*mgrconfig.Config, error) { 427 mgrcfg.Workdir = filepath.Join(imageDir, "workdir") 428 if err := instance.SetConfigImage(mgrcfg, imageDir); err != nil { 471 func (mgr *Manager) uploadBuild(info *BuildInfo, imageDir string) (string, error) { 481 build, err := mgr.createDashboardBuild(info, imageDir, "normal") [all …]
|
/external/syzkaller/pkg/instance/ |
D | instance.go | 83 imageDir := filepath.Join(cfg.Workdir, "image") 85 cfg.KernelSrc, imageDir, compilerBin, userspaceDir, 89 return SetConfigImage(cfg, imageDir) 92 func SetConfigImage(cfg *mgrconfig.Config, imageDir string) error { 93 cfg.KernelObj = filepath.Join(imageDir, "obj") 94 cfg.Image = filepath.Join(imageDir, "image") 95 if keyFile := filepath.Join(imageDir, "key"); osutil.IsExist(keyFile) { 99 kernel := filepath.Join(imageDir, "kernel") 103 initrd := filepath.Join(imageDir, "initrd")
|