Commit Graph

1216 Commits

Author SHA1 Message Date
Andrey Konovalov
02f480cc26 Update linux_kernel_reporting_bugs.md 2017-06-21 12:06:27 +02:00
Dmitry Vyukov
6573032fff syz-ci: add continuous integration system 2017-06-20 19:59:55 +02:00
Dmitry Vyukov
fea266b33f pkg/osutil: add FilesExist/CopyFiles/LinkFiles functions
Will be required by the new build system.
2017-06-20 19:59:47 +02:00
Dmitry Vyukov
e39114dc0c pkg/kernel: move partial config functionality into a separate function
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.
2017-06-20 19:59:42 +02:00
Dmitry Vyukov
5cc5b2714e pkg/fileutil: improve CopyFile
Make CopyFile atomic and preserve permissions.
2017-06-20 19:53:13 +02:00
Dmitry Vyukov
99d2454c57 pkg/git: improve Poll
Support changing repo/branch and force pushes.
2017-06-20 19:52:50 +02:00
Dmitry Vyukov
653ec8a64a dashboard: add New function 2017-06-20 19:52:50 +02:00
Andrey Konovalov
7a3201d2ad Update found_bugs.md 2017-06-20 17:16:23 +02:00
Dmitry Vyukov
cc4c8e16f2 Merge pull request #240 from daveti/master
arm64 doc update
2017-06-20 08:42:23 +02:00
daveti
a958ca9369 arm64 doc update 2017-06-19 20:43:45 -04:00
Andrey Konovalov
13bb219fe8 Merge pull request #235 from jbcayrou/ethtool
sys: Add ETHTOOL ioctl in socket.txt
2017-06-19 20:12:49 +02:00
JB Cayrou
9108e3257e sys: add ETHTOOL ioctl in socket.txt
Add ioctl$sock_SIOCETHTOOL and ETHTOOL structures defined in uapi/linux/ethtool.h

http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/ethtool.h
2017-06-19 16:49:10 +00:00
Dmitry Vyukov
f94617a321 pkg/kernel: reduce Build parallelism
NumCPU*2 can create excessive number of subprocesses
in the case machine is busy with other things as well.
2017-06-19 16:48:46 +02:00
Dmitry Vyukov
9dcb6799c7 pkg/kernel: fix CreateImage
- Move does not work across filesystems (i.e. tmpfs->disk)
- set proper permissions for ssh key
2017-06-19 16:47:42 +02:00
Dmitry Vyukov
4799d21e01 pkg/osutil: fix IsExist
Currently it returns true for "/some/existing/file/foo"
because that returns ENOTDIR.
2017-06-19 16:44:39 +02:00
Dmitry Vyukov
b6e969be7a pkg/osutil: add helper function for SIGINT handling 2017-06-19 16:43:23 +02:00
Dmitry Vyukov
a89409fa44 pkg/log: add Fatal function
Replacement for Fatalf("%v", err).
2017-06-19 16:38:38 +02:00
Dmitry Vyukov
98bf8f451c pkg/git: check origin repo in Poll 2017-06-19 16:37:31 +02:00
Dmitry Vyukov
7e63cfac7f pkg/fileutil: improve CopyFile
- check Close error
- preserve modification time
2017-06-19 16:35:52 +02:00
Dmitry Vyukov
261cdc2564 pkg/config: add SaveFile function 2017-06-19 16:34:59 +02:00
Andrey Konovalov
81990cb633 repro: small log fix 2017-06-19 15:31:06 +02:00
Andrey Konovalov
a1e85a5688 repro: try more programs with short duration 2017-06-19 15:19:10 +02:00
Andrey Konovalov
864a841818 repro: split ctx.repro() into smaller methods 2017-06-19 14:51:53 +02:00
Andrey Konovalov
02483b6e8e repro: move duration to Result 2017-06-19 14:23:17 +02:00
Dmitry Vyukov
98877a11dd vm/gce: fix image archive creation
See the added comment.
2017-06-17 18:30:12 +02:00
Dmitry Vyukov
6611b23392 syz-gce: create image dir
kernel.CreateImage does not create output dir.
2017-06-17 18:27:36 +02:00
Dmitry Vyukov
e130d95518 vm/gce: accept un-tar-ed image
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.
2017-06-17 17:06:29 +02:00
Dmitry Vyukov
de258e6d7e tools/create-gce-image.sh: don't use verbose output for tar invocation 2017-06-17 15:25:29 +02:00
Dmitry Vyukov
97b58e7eae syz-manager/mgrconfig: move sshkey from vm config to manager config
Sshkey is a property of image, which is in manager config.
Move sshkey to the same location as image.

The motivation for the move is as follows.
Continuous build produces an image and the key,
both need to be passed manager instance.
Continuous build system should not distinguish
different VM types and mess with their configs.

NOTE FOR USERS: this breaks manager configs again.
Hopefully the last time for now. Docs are updated.
2017-06-17 15:02:58 +02:00
Dmitry Vyukov
260cdaa2b2 syz-manager/mgrconfig: remove output param
It was useful only for vm/local which was removed.
The param wasn't documented and if one tries to change it,
it will break manager in obscure way (i.e. spurious
"test machine is not executing programs" crashes).
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
d5406e5fba delete .clang-format.email
The format is present in pkg/csource and we generally use that.
.clang-format.email is unused as far as i know, delete it.
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
c9ee712bc8 sys/syz-extract: move from syz-extract 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
6828dc3a61 sys/syz-sysgen: from from sysgen 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
2007005ac3 sys/sysparser: move from sysparser 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
017b5dea53 pkg/symbolizer: move from symbolizer 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
949ccff832 pkg/rpctype: from from rpctype 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
68621900a3 pkg/report: move from report 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
e8e63830a6 pkg/ipc: move from ipc 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
baad3b4b02 pkg/csource: move from csource 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
ec95d17c32 pkg/cover: move from cover 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
6fd7a75a91 pkg/repro: move from pkg 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
4b2a9e225c pkg/host: move from host 2017-06-17 14:41:15 +02:00
Dmitry Vyukov
a853b91c58 syz-manager/mgrconfig: allow loading from memory
Allow loading manager config from memory.
Follow pkg/config naming convention,
i.e. LoadFile/LoadData instead of Parse.
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
75c73461d8 syz-manager/config: rename to syz-manager/mgrconfig
We have 2 packages with the same name: pkg/config and syz-manager/config.
This leads to constant clashes. We either rename one to pkgconfig or
another to mgrconfig. This is not good and will become worse when/if
we have another program-specific config in a separate package.

Rename manager config to mgrconfig.
Other program-specific configs can use the same convention
in future -- fooconfig.
2017-06-17 14:41:10 +02:00
Dmitry Vyukov
4cc7e08628 all: use osutil.IsExist instead of os.Stat 2017-06-17 12:23:52 +02:00
Dmitry Vyukov
13c5bfcc6e pkg/osutil: add IsExist helper function 2017-06-17 12:11:24 +02:00
Dmitry Vyukov
3e647c3552 Merge pull request #236 from xairy/up-better-guilty
repro: better guilty file detection
2017-06-17 10:43:40 +02:00
Dmitry Vyukov
9c23d9dfe4 Merge pull request #237 from daveti/master
fix the ssh port option in the doc
2017-06-17 08:57:48 +02:00
daveti
a409f5ad50 fix the ssh port option in the doc 2017-06-16 16:58:44 -04:00
Andrey Konovalov
3c0b93c7e6 repro: better guilty file detection 2017-06-16 20:59:44 +02:00