PERFORCE change 159366 for review
Stacey Son
sson at FreeBSD.org
Tue Mar 17 22:04:40 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=159366
Change 159366 by sson at sson_amd64 on 2009/03/18 05:04:10
Remove convenience macros because of potential namespace pollution.
The convenience field macros for struct au_session could cause
problems for other code that includes bsm/audit.h.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 (text+ko) ====
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#7 $
+ * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit.h#8 $
*/
#ifndef _BSM_AUDIT_H
@@ -230,11 +230,6 @@
struct au_session {
auditinfo_addr_t *as_aia_p; /* Ptr to full audit info. */
-#define as_asid as_aia_p->ai_asid
-#define as_auid as_aia_p->ai_auid
-#define as_termid as_aia_p->ai_termid
-#define as_flags as_aia_p->ai_flags
-
au_mask_t as_mask; /* Process Audit Masks. */
};
typedef struct au_session au_session_t;
More information about the p4-projects
mailing list