FreeBSD/contrib/openbsm/bin/auditreduce/auditreduce.c
/*
 * Check if the given ruid matches the selection criteria.
 */
Check if the given ruid matches the selection criteria.
Check if the given ruid matches the selection criteria .
static int
select_ruid(int user)
{
	if (ISOPTSET(opttochk, OPT_r)) {
		if (user != p_ruid)
			return (0);
	}
	return (1);
}
static int select_ruid ( int user ) { if ( ISOPTSET ( opttochk , OPT_r ) ) { if ( user != p_ruid ) return ( 0 ) ; } return ( 1 ) ; }
Check if the given ruid matches the selection criteria.
Check if the given ruid matches the selection criteria .
/* Check if we want to select on rgid. */