audit.c (195925) | audit.c (219028) |
---|---|
1/*- 2 * Copyright (c) 1999-2005 Apple Inc. 3 * Copyright (c) 2006-2007 Robert N. M. Watson 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999-2005 Apple Inc. 3 * Copyright (c) 2006-2007 Robert N. M. Watson 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/security/audit/audit.c 195925 2009-07-28 21:39:58Z rwatson $"); | 32__FBSDID("$FreeBSD: head/sys/security/audit/audit.c 219028 2011-02-25 10:11:01Z netchild $"); |
33 34#include <sys/param.h> 35#include <sys/condvar.h> 36#include <sys/conf.h> 37#include <sys/file.h> 38#include <sys/filedesc.h> 39#include <sys/fcntl.h> 40#include <sys/ipc.h> --- 26 unchanged lines hidden (view full) --- 67#include <netinet/in.h> 68#include <netinet/in_pcb.h> 69 70#include <security/audit/audit.h> 71#include <security/audit/audit_private.h> 72 73#include <vm/uma.h> 74 | 33 34#include <sys/param.h> 35#include <sys/condvar.h> 36#include <sys/conf.h> 37#include <sys/file.h> 38#include <sys/filedesc.h> 39#include <sys/fcntl.h> 40#include <sys/ipc.h> --- 26 unchanged lines hidden (view full) --- 67#include <netinet/in.h> 68#include <netinet/in_pcb.h> 69 70#include <security/audit/audit.h> 71#include <security/audit/audit_private.h> 72 73#include <vm/uma.h> 74 |
75FEATURE(audit, "BSM audit support"); 76 |
|
75static uma_zone_t audit_record_zone; 76static MALLOC_DEFINE(M_AUDITCRED, "audit_cred", "Audit cred storage"); 77MALLOC_DEFINE(M_AUDITDATA, "audit_data", "Audit data storage"); 78MALLOC_DEFINE(M_AUDITPATH, "audit_path", "Audit path storage"); 79MALLOC_DEFINE(M_AUDITTEXT, "audit_text", "Audit text storage"); 80MALLOC_DEFINE(M_AUDITGIDSET, "audit_gidset", "Audit GID set storage"); 81 82SYSCTL_NODE(_security, OID_AUTO, audit, CTLFLAG_RW, 0, --- 618 unchanged lines hidden --- | 77static uma_zone_t audit_record_zone; 78static MALLOC_DEFINE(M_AUDITCRED, "audit_cred", "Audit cred storage"); 79MALLOC_DEFINE(M_AUDITDATA, "audit_data", "Audit data storage"); 80MALLOC_DEFINE(M_AUDITPATH, "audit_path", "Audit path storage"); 81MALLOC_DEFINE(M_AUDITTEXT, "audit_text", "Audit text storage"); 82MALLOC_DEFINE(M_AUDITGIDSET, "audit_gidset", "Audit GID set storage"); 83 84SYSCTL_NODE(_security, OID_AUTO, audit, CTLFLAG_RW, 0, --- 618 unchanged lines hidden --- |