Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 09/07/2005 15:11:54
Module Name:	src
Committed By:	elad
Date:		Wed Sep  7 15:11:54 UTC 2005

Modified Files:
	src/sys/sys: ucred.h

Log Message:
Introduce CURTAIN(user_id, object_id) - a macro that essentially checks
if user_id is either 0 or equals to object_id. We don't always have a
struct ucred to use, so we need this at the very basic level.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/sys/ucred.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.