From owner-trustedbsd-cvs@FreeBSD.ORG Thu Oct 5 19:57:50 2006 Return-Path: X-Original-To: trustedbsd-cvs@freebsd.org Delivered-To: trustedbsd-cvs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A08F16A412 for ; Thu, 5 Oct 2006 19:57:50 +0000 (UTC) (envelope-from owner-perforce@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5042A43D45 for ; Thu, 5 Oct 2006 19:57:47 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by cyrus.watson.org (Postfix) with ESMTP id 6E4E346C0F for ; Thu, 5 Oct 2006 15:57:46 -0400 (EDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 8090856132; Thu, 5 Oct 2006 19:57:43 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 7998416A415; Thu, 5 Oct 2006 19:57:43 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CD5416A403 for ; Thu, 5 Oct 2006 19:57:43 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB73443D45 for ; Thu, 5 Oct 2006 19:57:42 +0000 (GMT) (envelope-from ru@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k95Jvg8U059735 for ; Thu, 5 Oct 2006 19:57:42 GMT (envelope-from ru@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k95JvgTa059723 for perforce@freebsd.org; Thu, 5 Oct 2006 19:57:42 GMT (envelope-from ru@freebsd.org) Date: Thu, 5 Oct 2006 19:57:42 GMT Message-Id: <200610051957.k95JvgTa059723@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ru@freebsd.org using -f From: Ruslan Ermilov To: Perforce Change Reviews Cc: Subject: PERFORCE change 107329 for review X-BeenThere: trustedbsd-cvs@FreeBSD.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TrustedBSD CVS and Perforce commit message list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 19:57:50 -0000 http://perforce.freebsd.org/chv.cgi?CH=107329 Change 107329 by ru@ru_edoofus on 2006/10/05 19:57:21 Fix function prototypes by compiling SYNOPSIS. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/au_class.3#6 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#8 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_event.3#7 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_free_token.3#6 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_io.3#5 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_mask.3#6 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_open.3#8 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#11 edit .. //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#7 edit .. //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#11 edit .. //depot/projects/trustedbsd/openbsm/libbsm/libbsm.3#11 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/au_class.3#6 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_class.3#5 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_class.3#6 $ .\" .Dd April 19, 2005 .Dt AU_CLASS 3 @@ -39,7 +39,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft "struct au_class_ent *" .Fn getauclassent void .Ft "struct au_class_ent *" ==== //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#8 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#7 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#8 $ .\" .Dd April 19, 2005 .Dt AU_CONTROL 3 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft void .Fn setac void .Ft void ==== //depot/projects/trustedbsd/openbsm/libbsm/au_event.3#7 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_event.3#6 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_event.3#7 $ .\" .Dd April 19, 2005 .Dt AU_EVENT 3 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft void .Fn setauevent void .Ft void @@ -54,17 +54,17 @@ .Ft "struct au_event_ent *" .Fn getauevent_r "struct au_event_ent *e" .Ft "struct au_event_ent *" -.Fn getauevnam "char *name" +.Fn getauevnam "const char *name" .Ft "struct au_event_ent *" -.Fn getauevnam_r "struct au_event_ent *e" "char *name" +.Fn getauevnam_r "struct au_event_ent *e" "const char *name" .Ft "struct au_event_ent *" .Fn getauevnum "au_event_t event_number" .Ft "struct au_event_ent *" .Fn getauevnum_r "struct au_event_ent *e" "au_event_t event_number" .Ft "au_event_t *" -.Fn getauevnonam "char *event_name" +.Fn getauevnonam "const char *event_name" .Ft "au_event_t *" -.Fn getauevnonam_r "au_event_t *ev" "char *event_name" +.Fn getauevnonam_r "au_event_t *ev" "const char *event_name" .Sh DESCRIPTION These interfaces may be used to look up information from the .Xr audit_event 5 ==== //depot/projects/trustedbsd/openbsm/libbsm/au_free_token.3#6 (text+ko) ==== @@ -27,7 +27,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_free_token.3#5 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_free_token.3#6 $ .\" .Dd April 19, 2005 .Dt AU_FREE_TOKEN 3 @@ -38,7 +38,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft void .Fn au_free_token "token_t *tok" .Sh DESCRIPTION ==== //depot/projects/trustedbsd/openbsm/libbsm/au_io.3#5 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_io.3#4 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_io.3#5 $ .\" .Dd April 19, 2005 .Dt AU_IO 3 @@ -36,11 +36,13 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft int .Fn au_fetch_tok "tokenstr_t *tok" "u_char *buf" "int len" .Ft void -.Fn au_print_tok "FILE outfp" "tokenstr_t *tok" "char *del" "char raw" "char sfrm" +.Fo au_print_tok +.Fa "FILE *outfp" "tokenstr_t *tok" "char *del" "char raw" "char sfrm" +.Fc .Ft int .Fn au_read_rec "FILE *fp" "u_char **buf" .Sh DESCRIPTION ==== //depot/projects/trustedbsd/openbsm/libbsm/au_mask.3#6 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_mask.3#5 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_mask.3#6 $ .\" .Dd April 19, 2005 .Dt AU_MASK 3 @@ -36,7 +36,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft int .Fn au_preselect "au_event_t event" "au_mask_t *mask_p" "int sorf" "int flag" .Ft int ==== //depot/projects/trustedbsd/openbsm/libbsm/au_open.3#8 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_open.3#7 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_open.3#8 $ .\" .Dd March 4, 2006 .Dt AU_OPEN 3 @@ -38,7 +38,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft int .Fn au_open void .Ft int ==== //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#11 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#10 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#11 $ .\" .Dd April 19, 2005 .Dt AU_TOKEN 3 @@ -77,7 +77,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft "token_t *" .Fn au_to_arg32 "char n" "char *text" "u_int32_t v" .Ft "token_t *" @@ -111,7 +111,7 @@ .Ft "token_t *" .Fn au_to_iport "u_int16_t iport" .Ft "token_t *" -.Fn au_to_opaque "char *data" "u_int64_t bytes" +.Fn au_to_opaque "char *data" "u_int16_t bytes" .Ft "token_t *" .Fn au_to_file "char *file" "struct timeval tm" .Ft "token_t *" @@ -119,13 +119,25 @@ .Ft "token_t *" .Fn au_to_path "char *text" .Ft "token_t *" -.Fn au_to_process32 "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_process32 +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_process64 "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_process64 +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_process32_ex "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fo au_to_process32_ex +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_process64_ex "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fo au_to_process64_ex +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fc .Ft "token_t *" .Fn au_to_return32 "char status" "u_int32_t ret" .Ft "token_t *" @@ -141,17 +153,35 @@ .Ft "token_t *" .Fn au_to_sock_int "struct sockaddr_in *so" .Ft "token_t *" -.Fn au_to_subject32 "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_subject32 +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_subject64 "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_subject64 +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_subject "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_subject +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_subject32_ex "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_t *tid" +.Fo au_to_subject32_ex +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_subject64_ex "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fo au_to_subject64_ex +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fc .Ft "token_t *" -.Fn au_to_subject_ex "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fo au_to_subject_ex +.Fa "au_id_t auid" "uid_t euid" "gid_t egid" "uid_t ruid" +.Fa "gid_t rgid" "pid_t pid" "au_asid_t sid" "au_tid_addr_t *tid" +.Fc .Ft "token_t *" .Fn au_to_me void .Ft "token_t *" ==== //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#7 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#6 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_user.3#7 $ .\" .Dd April 19, 2005 .Dt AU_USER 3 @@ -41,7 +41,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Ft void .Fn setauuser void .Ft void @@ -57,7 +57,9 @@ .Ft int .Fn au_user_mask "char *username" "au_mask_t *mask_p" .Ft int -.Fn getfauditflags "au_mask_t *usremask" "au_mask_t *usrdmask" "au_mask_t *lastmask" +.Fo getfauditflags +.Fa "au_mask_t *usremask" "au_mask_t *usrdmask" "au_mask_t *lastmask" +.Fc .Sh DESCRIPTION These interfaces may be used to look up information from the .Xr audit_user 5 ==== //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#11 (text+ko) ==== @@ -27,7 +27,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#10 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#11 $ .\" .Dd May 29, 2006 .Dt audit_submit 3 @@ -38,7 +38,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In stdio.h +.In bsm/libbsm.h .Ft int .Fo audit_submit .Fa "short au_event" "au_id_t auid" "char status" ==== //depot/projects/trustedbsd/openbsm/libbsm/libbsm.3#11 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/libbsm.3#10 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/libbsm.3#11 $ .\" .Dd April 19, 2005 .Dt LIBBSM 3 @@ -34,7 +34,7 @@ .Sh LIBRARY .Lb libbsm .Sh SYNOPSIS -.In libbsm.h +.In bsm/libbsm.h .Sh DESCRIPTION The .Nm