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
--00000000000027024205f1f126b2
Content-Type: text/plain; charset="UTF-8"

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

--00000000000027024205f1f126b2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"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 wha=
t was done for eventfd. This is my first time implementing</div><div>a sysc=
all, so I have been following the eventfd implementation as a</div><div>ref=
erence. I noticed that the eventfd syscall entries are absent from</div><di=
v>sys/kern/syscalls.master and I am not sure why. Was eventfd never<br></di=
v><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 a=
m</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 yo=
u,</div><div>Jake Freeland</div></div>

--00000000000027024205f1f126b2--



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