> On 27. Oct 2017, at 11:59, Utkarsh Anand <utkarsh...@netbsd.org> wrote: > > Module Name: src > Committed By: utkarsh009 > Date: Fri Oct 27 09:59:17 UTC 2017 > > Modified Files: > src/sys/arch/x86/x86: intr.c > src/sys/ddb: db_interface.h db_panic.c > src/sys/kern: init_main.c subr_autoconf.c subr_disk.c subr_prf.c > vfs_subr.c vfs_wapbl.c > src/sys/sys: systm.h > src/sys/ufs/ufs: ufs_lookup.c > > Log Message: > [syzkaller] Attempted fix for https://github.com/google/syzkaller/issues/399 > > syzkaller was failing to extract constants because of the above mentioned > issue so I had to redeclare printf in sys/sys/systm.h > For more information on syzkaller, visit: https://github.com/google/syzkaller
This looks wrong: kernel printf != userland printf If we were to go this route the return value should match userland, either -1 on error or number of characters printed. The other kernel printf variants should be changed too. It needs a kernel version bump. -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)