Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 21:50:23 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334403 - head/sys/security/audit
Message-ID:  <201805302150.w4ULoNEq014955@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Wed May 30 21:50:23 2018
New Revision: 334403
URL: https://svnweb.freebsd.org/changeset/base/334403

Log:
  #include <bsm/audit.h> in security/audit/audit_ioctl.h
  
  security/audit/audit_ioctl.h uses a type from bsm/audit.h, so needs to
  include it.  And it needs to know the type's size, so it can't just
  forward-declare.
  
  PR:		228470
  Submitted by:	aniketp
  MFC after:	2 weeks
  Sponsored by:	Google, Inc. (GSoC 2018)
  Differential Revision:	https://reviews.freebsd.org/D15561

Modified:
  head/sys/security/audit/audit_ioctl.h

Modified: head/sys/security/audit/audit_ioctl.h
==============================================================================
--- head/sys/security/audit/audit_ioctl.h	Wed May 30 21:46:10 2018	(r334402)
+++ head/sys/security/audit/audit_ioctl.h	Wed May 30 21:50:23 2018	(r334403)
@@ -31,6 +31,8 @@
 #ifndef _SECURITY_AUDIT_AUDIT_IOCTL_H_
 #define	_SECURITY_AUDIT_AUDIT_IOCTL_H_
 
+#include <bsm/audit.h>
+
 #define	AUDITPIPE_IOBASE	'A'
 
 /*



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