Relative Content

Tag Archive for csocketskernelopenbsd

Can anyone explain to me SCM_RIGHTS in openbsd-7.5?

I was tasked with an assignment to implement something similar to SCM_RIGHTS in openbsd-7.5. My understanding is that SCM_RIGHTS isn’t really a block of code, its more of a macro that is used with cmsg_type. So I was wondering that, if I had to implement something similar to SCM_RIGHTS, what file(s) would I look at in the kernel? Where should I start my code? What file(s) do I have to modify?