Submit #2574

fix token usage for process credential

Added by jorisgio over 1 year ago. Updated about 1 year ago.

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

0%

Category:-
Target version:-

Description

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

History

#1 Updated by jorisgio over 1 year ago

Fix a mis-placed token release

#2 Updated by jorisgio over 1 year ago

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

#3 Updated by jorisgio about 1 year ago

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

fixed by b22b6ecd66ef2104abc07ae243f04125b30aa38d

Also available in: Atom PDF