gaming extensions to the kernel

2021-06-03 Thread Alessandro Pistocchi
Hi all, I have managed to create some exciting, gaming-specific extensions to the OpenBSD kernel, specifically for an arm64 raspberry pi 4. I would like to turn this into a product that people enjoy if possible and I would be happy to make something that benefits the OpenBSD community as well

allocating contiguous memory in user space

2021-05-15 Thread Alessandro Pistocchi
Hi all, is there any way in openbsd to allocate contiguous memory pages in user space? Thanks, A

Fwd: rethinking terminal login with security in mind

2021-05-04 Thread Alessandro Pistocchi
, A -- Forwarded message - From: Alessandro Pistocchi Date: Wed, May 5, 2021 at 1:39 AM Subject: rethinking terminal login with security in mind To: OpenBSD misc Hi all, I am a new user. I have been using openbsd for the last few weeks on a raspberry pi 4. I have used other unix flavours

rethinking terminal login with security in mind

2021-05-04 Thread Alessandro Pistocchi
Hi all, I am a new user. I have been using openbsd for the last few weeks on a raspberry pi 4. I have used other unix flavours in the past. I was wondering, what about changing how echoing of characters work when logging in from the terminal? Every unix I tried, including openbsd, asks for the

Re: Fwd: umm_map returns unaligned address?

2021-04-23 Thread Alessandro Pistocchi
at 2:32 AM Theo de Raadt wrote: > Alessandro Pistocchi wrote: > > > During the syscall I allocate some memory that I want to share between > the > > kernel and the calling process. > > When you get the mapping working, it will not work as well as you like. > &g

Re: umm_map returns unaligned address?

2021-04-23 Thread Alessandro Pistocchi
Fri, Apr 23, 2021 at 3:13 PM Alessandro Pistocchi < > apukbusin...@gmail.com> wrote: > >> -- Forwarded message - >> From: Alessandro Pistocchi >> Date: Fri, Apr 23, 2021 at 1:55 PM >> Subject: umm_map returns unaligned address? >> To: >>

Fwd: umm_map returns unaligned address?

2021-04-23 Thread Alessandro Pistocchi
-- Forwarded message - From: Alessandro Pistocchi Date: Fri, Apr 23, 2021 at 1:55 PM Subject: umm_map returns unaligned address? To: Hi all, I am fairly new to openbsd so if this is something obvious that I missed please be understanding. I am adding a syscall to openbsd 6.8

accessing user memory from kernel

2021-04-19 Thread Alessandro Pistocchi
Hi all, I am playing around with openbsd kernel source code. Is there any clean way of accessing a process' memory from inside the kernel? Thanks, Alessandro

adding a syscall to openbsd

2021-04-16 Thread Alessandro Pistocchi
Hi all, I am trying to figure out how to add a syscall to openbsd 6.8. I am following "OpenBSD Kernel Internals - The Hitchhiker's Guide" by Vladimir Kirillov. (https://atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf). I could successfully add my syscall and call it by using