Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2023 17:21:42 -0600
From:      Jake Freeland <jake@technologyfriends.net>
To:        freebsd-hackers@freebsd.org
Subject:   Syscalls: eventfd and timerfd
Message-ID:  <CAOgZAGbK5H=JtxY7MZKyyXa=i=CXbYtV4tCOvg6N-CRYjqJ4fQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi there,

I am currently working on moving the linux_compat implementation of
timerfd (in sys/compat/linux/linux_event.c) into its own FreeBSD syscall
similar to what was done for eventfd. This is my first time implementing
a syscall, so I have been following the eventfd implementation as a
reference. I noticed that the eventfd syscall entries are absent from
sys/kern/syscalls.master and I am not sure why. Was eventfd never
formally added as a syscall entry or am I missing something? I was
planning on adding timerfd entries to syscalls.master, but now I am
unsure how to proceed.

I apologize for my ignorance. This process is new to me.

Thank you,
Jake Freeland

[-- Attachment #2 --]
<div dir="ltr">Hi there,<br><div><br></div><div>I am currently working on moving the linux_compat implementation of</div><div>timerfd (in sys/compat/linux/linux_event.c) into its own FreeBSD syscall</div><div>similar to what was done for eventfd. This is my first time implementing</div><div>a syscall, so I have been following the eventfd implementation as a</div><div>reference. I noticed that the eventfd syscall entries are absent from</div><div>sys/kern/syscalls.master and I am not sure why. Was eventfd never<br></div><div>formally added as a syscall entry or am I missing something? I was</div><div>planning on adding timerfd entries to syscalls.master, but now I am</div><div>unsure how to proceed.</div><div><br></div><div>I apologize for my ignorance. This process is new to me.</div><div><br></div><div>Thank you,</div><div>Jake Freeland</div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgZAGbK5H=JtxY7MZKyyXa=i=CXbYtV4tCOvg6N-CRYjqJ4fQ>