fix token usage for process credential
p_ucred structure accesses are still protected proc_token in kern_prot.c which is incorrect. This patch convert the various functions to p_token.
I've not really audited all the uses of p_ucred in the kernel, because there are a lot of them.
#1 Updated by jorisgio over 4 years ago
Fix a mis-placed token release