Submit #2574

fix token usage for process credential

Added by jorisgio about 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:07/30/2013
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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.

0002-kernel-change-proc_token-by-per-process-token-to-pro.patch Magnifier (7.33 KB) jorisgio, 07/31/2013 05:54 AM


#1 Updated by jorisgio about 3 years ago

Fix a mis-placed token release

#2 Updated by jorisgio about 3 years ago

  • File deleted (0001-kernel-change-proc_token-by-per-process-token-to-pro.patch)

#3 Updated by jorisgio almost 3 years ago

  • Description updated (diff)
  • Status changed from New to Closed

fixed by b22b6ecd66ef2104abc07ae243f04125b30aa38d

Also available in: Atom PDF