Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 16:26:51 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 75891 for review
Message-ID:  <200504241626.j3OGQpxu092637@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=75891

Change 75891 by rwatson@rwatson_paprika on 2005/04/24 16:26:04

	Rename MAX_GROUPS to BSM_MAX_GROUPS to avoid name space pollution.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/audit_record.h#5 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#5 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#6 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/audit_record.h#5 (text+ko) ====

@@ -211,7 +211,7 @@
 #define PAD_FAILURE  0x8000   /* fail audit event */
 
 
-#define MAX_GROUPS          16
+#define BSM_MAX_GROUPS      16
 #define HEADER_VERSION      1
 #define TRAILER_PAD_MAGIC   0xB105
 

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#5 (text+ko) ====

@@ -271,7 +271,7 @@
  */
 token_t *au_to_groups(int *groups)
 {
-	return au_to_newgroups(MAX_GROUPS, groups);	
+	return au_to_newgroups(BSM_MAX_GROUPS, groups);	
 }
 
 /*

==== //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#6 (text+ko) ====

@@ -308,7 +308,7 @@
 typedef struct {
 
 	u_int16_t no;
-	u_int32_t list[MAX_GROUPS];		
+	u_int32_t list[BSM_MAX_GROUPS];		
 
 } au_groups_t;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504241626.j3OGQpxu092637>