K 10 svn:author V 3 mjg K 8 svn:date V 27 2015-06-10T10:43:59.934252Z K 7 svn:log V 428 Generalised support for copy-on-write structures shared by threads. Thread credentials are maintained as follows: each thread has a pointer to creds and a reference on them. The pointer is compared with proc's creds on userspace<->kernel boundary and updated if needed. This patch introduces a counter which can be compared instead, so that more structures can use this scheme without adding more comparisons on the boundary. END