Tale of OpenBSD secure memory allocator internals - malloc(3)

Hi there, It’s been a long time since I have written anything, so, continuing with the journey of reading and exloring the OpenBSD source codes with my friend debugger. This time it is about OpenBSD malloc(3), secure memory allocator I will try to keep it as n part series due to length of the blog post and this series will be mostly focussed on user-space code of malloc(3) and friends
Read more →

OpenBSD - short intro on “execpromises” in the pledge(2)

Hi there, Today, we will be looking at the update for pledge(2) on OpenBSD and also about howto and usecase. In the previous post about pledge(2), we understood the implementation and some internal working of pledge(2) On 11 December 2017, **Theo de Raadt** said: List: openbsd-tech Subject: pledge execpromises From: Theo de Raadt Date: 2017-12-11 21:20:51 Message-ID: 6735.1513027251 () cvs ! openbsd ! org This will probably be committed in the next day or so.
Read more →

pledge(2): OpenBSD’s defensive approach to OS Security

Hello there, I would like to introduce you all to the pledge(2) which is used to restrict the system operations and supported only on OpenBSD at the time of writing the blog. I am learning about OpenBSD kernel internals and development and would like to share some tips on how to learn about OpenBSD kernel internals and development. Following materials I followed while learning about BSD kernel internals: the book “The design and implementation of the BSD operating system” by Kirk McKusick OpenBSD source code man pages and few presentations-papers on OpenBSD ask in mailing lists and OpenBSD Facebook group.
Read more →