tech-kern archive

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

Re: Testing Emulation Syscalls



> Date: Mon, 31 Jul 2023 22:29:29 +0100
> From: Robert Swindells <rjs%fdy2.co.uk@localhost>
> 
> Theodore Preduta <theo%pta.gg@localhost>  wrote:
> > This comes somewhat as a "part 2" to
> > https://mail-index.netbsd.org/tech-kern/2023/06/21/msg028926.html
> >
> > Given the responses to that thread, I decided to add native stubs
> > for epoll (the fact epoll is widespread alone justifies it, but it has
> > already had some negative side effects, see:
> > https://mail-index.netbsd.org/source-changes-d/2023/07/30/msg013999.html).
> 
> What is wrong with the suggestion in the thread on tech-userlevel@ to
> just rename the header so that userland won't find it when configuring
> packages?

It is necessary but not sufficient.

Autoconf and other things will check for the symbol in libc,
irrespective of whether there is a header file or a declaration in a
header file.

We need to remove the symbol in libc too.


Home | Main Index | Thread Index | Old Index