auditreduce.c (185573) | auditreduce.c (186647) |
---|---|
1/*- 2 * Copyright (c) 2004-2008 Apple Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2004-2008 Apple Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * |
29 * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#28 $ | 29 * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#29 $ |
30 */ 31 32/* 33 * Tool used to merge and select audit records from audit trail files 34 */ 35 36/* 37 * XXX Currently we do not support merging of records from multiple --- 524 unchanged lines hidden (view full) --- 562 } 563 return (0); 564} 565 566/* 567 * The -o option has the form object_type=object_value. Identify the object 568 * components. 569 */ | 30 */ 31 32/* 33 * Tool used to merge and select audit records from audit trail files 34 */ 35 36/* 37 * XXX Currently we do not support merging of records from multiple --- 524 unchanged lines hidden (view full) --- 562 } 563 return (0); 564} 565 566/* 567 * The -o option has the form object_type=object_value. Identify the object 568 * components. 569 */ |
570void | 570static void |
571parse_object_type(char *name, char *val) 572{ 573 if (val == NULL) 574 return; 575 576 if (!strcmp(name, FILEOBJ)) { 577 p_fileobj = val; 578 parse_regexp(val); --- 222 unchanged lines hidden --- | 571parse_object_type(char *name, char *val) 572{ 573 if (val == NULL) 574 return; 575 576 if (!strcmp(name, FILEOBJ)) { 577 p_fileobj = val; 578 parse_regexp(val); --- 222 unchanged lines hidden --- |