You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netbsd.md: Changes made in file about missing clarity (google#535)
* Changes made in the netbsd.md file, syzkaller made easier to install
* Name added to list of contributors
* Added name to CONTRIBUTORS file
* Changes in file regarding format issues
Then, copy out the binary back to host into `bin/netbsd_amd64` dir.
29
+
30
+
"scp host@ip:/directory-of-source /directory-of-destination" command can be used to copy the files from the host to the guest.
31
+
32
+
4. Then, copy out the binary back to host into `bin/netbsd_amd64` dir.(Inside the syzkaller directory)
14
33
15
34
Building/running on a NetBSD host should work as well, but currently our `Makefile` does not work there, so you will need to do its work manually.
16
35
17
-
Then, you need a NetBSD image with root ssh access with a key. General instructions can be found here [qemu instructions](https://wiki.qemu.org/Hosts/BSD).
36
+
(Anita steps are optional if the NetBSD OS is up and running, which it already is..)
37
+
38
+
5. Then, you need a NetBSD image with root ssh access with a key. General instructions can be found here [qemu instructions](https://wiki.qemu.org/Hosts/BSD).
18
39
19
-
To prepare the image, use `anita`. (You need the python module `pexpect` installed, for using Anita)
40
+
6.To prepare the image, use `anita`. (You need the python module `pexpect` installed, for using Anita)
@@ -70,11 +101,15 @@ If all of the above worked, `poweroff` the VM and create `netbsd.cfg` config fil
70
101
}
71
102
}
72
103
```
104
+
(Above directories have to be specified to the exact locations and the ssh keys must be in a separate directory with chmod 700 permissions set to that directory and chmod 600 permissions to the files in both the guest and the host.)
105
+
73
106
74
-
Then, start `syz-manager` with:
107
+
13.Then, start `syz-manager` with: (Inside the syzkaller folder where the netbsd.cfg file also exists)
75
108
```
76
109
bin/syz-manager -config netbsd.cfg
77
110
```
111
+
Also, append ```PermitRootLogin without-password``` to .ssh/sshd_config in guest.
112
+
78
113
It should start printing output along the lines of:
0 commit comments