Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 19:46:56 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336210 - stable/11/sys/security/audit
Message-ID:  <201807111946.w6BJkuV2007505@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Wed Jul 11 19:46:56 2018
New Revision: 336210
URL: https://svnweb.freebsd.org/changeset/base/336210

Log:
  MFC r334403:
  
  #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
  Sponsored by:	Google, Inc. (GSoC 2018)
  Differential Revision:	https://reviews.freebsd.org/D15561

Modified:
  stable/11/sys/security/audit/audit_ioctl.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/security/audit/audit_ioctl.h
==============================================================================
--- stable/11/sys/security/audit/audit_ioctl.h	Wed Jul 11 19:42:57 2018	(r336209)
+++ stable/11/sys/security/audit/audit_ioctl.h	Wed Jul 11 19:46:56 2018	(r336210)
@@ -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?201807111946.w6BJkuV2007505>