Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



Hi,
I’ll try doing that, but it might take some time.

Regards,
Utkarsh Anand

--
Sent from Yandex.Mail for mobile

27.10.2017, 15:46, "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>:


 On 27. Oct 2017, at 11:59, Utkarsh Anand <utkarsh009%netbsd.org@localhost> 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 - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)




Home | Main Index | Thread Index | Old Index