Hello NetBSD community:

I'm Luis, or by nickname Yayo on irc.libera.net I'm a mexican CS student and 
I'm willing to participate in this year's GSoC program, in regards with one of 
easy projects called "Emulating missing Linux syscalls" 
(https://wiki.netbsd.org/projects/project/linux_timer/)

I've been exploring the source tree in sys/compat/linux/common/linux_time.c 
locally and conducting some experiments on NetBSD 11.99_RC2 on amd64. My skills 
on C are intermediate, but to understand the current state of the emulation, I 
built a small static C Linux binary that calls timer_create(). (I've been 
reading man 7 sigevent and man 2 timer_create for this). 

Ktrace conformed me that the syscall is being intercepted but returns EINVAL 
(errno -22)

systest  CALL  timer_create(0, 0x7f7fffffea40, 0x7f7fffffe9bc)
systest  RET   timer_create -1 errno -22 Invalid argument

I've been auditing how linux_to_native_timer_create_clockid handles the 
translation and I'm looking forward to contributing to completing this layer if 
possible.  Any guidance on where to focus first or if there are specific test 
cases the community is interested in would be greatly appreciated

I'm deeply committed to learning the internals of the NetBSD kernel alongside 
the Unix philosophy. 

Best Regards

Yayo

Reply via email to