Re: Interface for communicating from kernel to user mode

2025-03-08 Thread Mouse
> I am trying to implement user<->kernel communication with > socketpair() in user space and then passing one of descriptors to > kernel. > I am investigating socket.h and socketvar.h > There are functions working with sockets in kernel space, they [use] > struct socket in their parameters and use

Re: What if the console device is only accessible from one CPU in a multiprocessor system?

2025-03-08 Thread Jason Thorpe
> On Mar 6, 2025, at 1:57 AM, Christoph Badura wrote: > > On Tue, Mar 04, 2025 at 01:26:42PM -0800, Jason Thorpe wrote: >> The firmware selects which CPU module gets to boot the system (the >> criteria used is unimportant here), and the UART on that module is >> connected to the console port a

Introductory email in reference to GSoC 2025 (https://wiki.netbsd.org/projects/project/swap-auto/)

2025-03-08 Thread anup parikh
Hello, My name is Anup. I'd like to participate in the project at https://wiki.netbsd.org/projects/project/swap-auto/. I'm not a student but I think I'm eligible as I've never participated in GSoC or other project based FOSS internships. I'm interested in the FOSS industry and I'd like to contribu

Re: ioctl(), passed structure zeroed

2025-03-08 Thread Martin Husemann
On Sat, Mar 08, 2025 at 03:07:25PM +0100, Peter Skvarka wrote: > Hello, > > I call ioctl() containing request code created with _IOR(..., mystruct) > and kernel module processed it. > When I create instance of mystruct, fill it's members with some values and I > pass it's pointer like third parame