aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/kernel/kernel.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/kernel: sandbox make invocationDmitry Vyukov2017-11-171-9/+18
|
* pkg/osutil: don't leace runaway processesDmitry Vyukov2017-11-161-6/+8
| | | | | | When manager is stopped there are sometimes runaway qemu processes still running. Set PDEATHSIG for all subprocesses. We never need child processes outliving parents.
* pkg/kernel: remove unused functionDmitry Vyukov2017-08-181-21/+0
|
* pkg/kernel: actually pass cmdline/sysctl files to the build scriptDmitry Vyukov2017-07-171-1/+6
|
* syz-ci: allow to specify cmdline/sysctlsDmitry Vyukov2017-07-171-1/+3
| | | | | Allow to specify per-kernel command line and sysctl values to more closely mimic the target kernel.
* all: use consistent file permissionsDmitry Vyukov2017-07-031-6/+5
| | | | | | | | | | | | | | | | Currently we have unix permissions for new files/dirs hardcoded throughout the code base. Some places use 0644, some - 0640, some - 0600 and a variety of other constants. Introduce osutil.MkdirAll/WriteFile that use the default permissions and use them throughout the code base. This makes permissions consistent and also allows to easily change the permissions later if we change our minds. Also merge pkg/fileutil into pkg/osutil as they become dependent on each other. The line between them was poorly defined anyway as both operate on files.
* pkg/kernel: move partial config functionality into a separate functionDmitry Vyukov2017-06-201-22/+30
| | | | | | Move partial config functionality into BuildWithPartConfig. It is used only for syz-gce which will be removed soon. Provide a better interface for new continuous build system.
* pkg/kernel: reduce Build parallelismDmitry Vyukov2017-06-191-1/+1
| | | | | NumCPU*2 can create excessive number of subprocesses in the case machine is busy with other things as well.
* pkg/kernel: fix CreateImageDmitry Vyukov2017-06-191-2/+6
| | | | | - Move does not work across filesystems (i.e. tmpfs->disk) - set proper permissions for ssh key
* vm/gce: accept un-tar-ed imageDmitry Vyukov2017-06-171-6/+8
| | | | | | | | | | vm/gce differs from other VM types in that it accepts image in a weird, GCE-specific format (namely, image named disk.raw is put into .tar.gz file). This makes it impossible to write generic code that creates images for any VM types. Make vm/gce accept just image like e.g. vm/qemu and handle own specifics internally.
* pkg/kernel: add an option to provide full config for buildDmitry Vyukov2017-06-151-15/+23
| | | | | Normally config is applied on top of defconfig+kvmconfig. This allows to provide full config that is used unmodified.
* pkg/kernel: add CompilerIdentity functionDmitry Vyukov2017-06-031-0/+12
|
* pkg/kernel: add new packageDmitry Vyukov2017-06-031-0/+74
Move functionality to build kernel/image from syz-gce to a separate package.