libbsm.h (156283) | libbsm.h (159248) |
---|---|
1/* 2 * Copyright (c) 2004 Apple Computer, 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 Apple Computer, 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/bsm/libbsm.h#18 $ | 29 * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#20 $ |
30 */ 31 32#ifndef _LIBBSM_H_ 33#define _LIBBSM_H_ 34 35/* 36 * NB: definitions, etc., marked with "OpenSSH compatibility" were introduced 37 * solely to allow OpenSSH to compile; Darwin/Apple code should not use them. --- 652 unchanged lines hidden (view full) --- 690 au_kevent_t kevent; 691 au_invalid_t invalid; 692 au_trailer_t trail; 693 } tt; /* The token is one of the above types */ 694}; 695 696typedef struct tokenstr tokenstr_t; 697 | 30 */ 31 32#ifndef _LIBBSM_H_ 33#define _LIBBSM_H_ 34 35/* 36 * NB: definitions, etc., marked with "OpenSSH compatibility" were introduced 37 * solely to allow OpenSSH to compile; Darwin/Apple code should not use them. --- 652 unchanged lines hidden (view full) --- 690 au_kevent_t kevent; 691 au_invalid_t invalid; 692 au_trailer_t trail; 693 } tt; /* The token is one of the above types */ 694}; 695 696typedef struct tokenstr tokenstr_t; 697 |
698int audit_submit(short au_event, au_id_t auid, 699 char status, int reterr, const char *fmt, ...); 700 |
|
698/* 699 * Functions relating to querying audit class information. 700 */ 701void setauclass(void); 702void endauclass(void); 703struct au_class_ent *getauclassent(void); 704struct au_class_ent *getauclassent_r(au_class_ent_t *class_int); 705struct au_class_ent *getauclassnam(const char *name); --- 471 unchanged lines hidden --- | 701/* 702 * Functions relating to querying audit class information. 703 */ 704void setauclass(void); 705void endauclass(void); 706struct au_class_ent *getauclassent(void); 707struct au_class_ent *getauclassent_r(au_class_ent_t *class_int); 708struct au_class_ent *getauclassnam(const char *name); --- 471 unchanged lines hidden --- |