]> Zhao Yanbai Git Server - minix.git/commit
iskernelp() and isuserp() test pointers
authorTomas Hruby <tom@minix3.org>
Tue, 15 Sep 2009 09:58:46 +0000 (09:58 +0000)
committerTomas Hruby <tom@minix3.org>
Tue, 15 Sep 2009 09:58:46 +0000 (09:58 +0000)
commit71077d122806f5a323de31cf1caa13cff8ff6e01
tree38b0aead469ab835a0df1ebbb53c87e74ffc2071
parent78793f4f38790ab6a2c43a97de0ad877f68ce55c
iskernelp() and isuserp() test pointers

- we may test even not fully initialized entries, e.g. during boot
  crash

- is we know the process number we should use iskerneln
  and isusern
kernel/proc.h