Subject: Re: p_flag in struct proc: int -> uint64_t
To: Jason Thorpe <>
From: Elad Efrat <>
List: tech-kern
Date: 10/05/2006 10:40:16
Jason Thorpe wrote:

> Ok, here is a generalized (and currently untested) "specificdata"
> implementation, based on Yamamoto-san's.  proc, lwp, and session
> specific-data could be built on top of this, a'la (note this is
> incomplete):
> [...]

This looks very useful (and a lot like fileassoc(9), actually :).

IIUC, can we use this to extend various objects in the kernel, with
a single change to their structure? I have some thoughts about using
it for extending a kauth_cred_t...


Elad Efrat