]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Consistently use PROC_ASSERT_HELD() to verify that a process' hold count
authormarkj <markj@FreeBSD.org>
Sun, 8 Nov 2015 01:38:56 +0000 (01:38 +0000)
committermarkj <markj@FreeBSD.org>
Sun, 8 Nov 2015 01:38:56 +0000 (01:38 +0000)
commita7bb6eb7206346586b5a68c0fc588334dbdf1854
treebb49368f6a2c64f93c8c74bd02d3172c0b4db5d1
parenta110d65fe331434ebd1f81308283a5fe86997bea
- Consistently use PROC_ASSERT_HELD() to verify that a process' hold count
  is non-zero.
- Include the process address in the PROC_ASSERT_HELD() and
  PROC_ASSERT_NOT_HELD() assertion messages so that the corresponding
  process can be found easily when debugging.

MFC after: 1 week
sys/fs/procfs/procfs_dbregs.c
sys/fs/procfs/procfs_fpregs.c
sys/kern/sys_process.c
sys/sys/proc.h