tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: p_flag bits?



On Tue, Oct 07, 2025 at 09:05:02AM -0400, Mouse wrote:
> Looking at sys/proc.h, the PK_* bits are scattered around oddly within
> the p_flag field (true of 5.2 and 9.1; since the two use the same set
> of names with the same values, I suspect also true of everything in
> between).
> 
> But I also haven't been able to find anything that uses the p_flag bits
> other than the 0x800e4307 bits.
> 
> Are the other 22 bits unused?  If not, what am I missing?

The P_ defines were renamed to PK_ in revision 1.237.

Various P_ flags were removed in revision 1.233.

Revision 1.232 has all bits defined, some as unused.

Practically all of the bits were used at some point.  Revision 1.214 has
meaningful definitions for 25, for example.


Home | Main Index | Thread Index | Old Index