1 '\" te 2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 6 .TH LIBBSM 3LIB "Aug 19, 2019" 7 .SH NAME 8 libbsm \- basic security library 9 .SH SYNOPSIS 10 .nf 11 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lbsm\fR [ \fIlibrary\fR... ] 12 .fi 13 14 .SH DESCRIPTION 15 Functions in this library provide basic security, library object reuse, and 16 auditing. 17 .SH INTERFACES 18 The shared object \fBlibbsm.so.1\fR provides the public interfaces defined 19 below. See \fBIntro\fR(3) for additional information on shared object 20 interfaces. 21 .sp 22 23 .sp 24 .TS 25 l l 26 l l . 27 \fBau_close\fR \fBau_open\fR 28 \fBau_preselect\fR \fBau_to_arg\fR 29 \fBau_to_arg32\fR \fBau_to_arg64\fR 30 \fBau_to_attr\fR \fBau_to_cmd\fR 31 \fBau_to_data\fR \fBau_to_groups\fR 32 \fBau_to_in_addr\fR \fBau_to_ipc\fR 33 \fBau_to_iport\fR \fBau_to_me\fR 34 \fBau_to_newgroups\fR \fBau_to_opaque\fR 35 \fBau_to_path\fR \fBau_to_process\fR 36 \fBau_to_process_ex\fR \fBau_to_return\fR 37 \fBau_to_return32\fR \fBau_to_return64\fR 38 \fBau_to_socket\fR \fBau_to_subject\fR 39 \fBau_to_subject_ex\fR \fBau_to_text\fR 40 \fBau_user_mask\fR \fBau_write\fR 41 \fBaudit\fR \fBauditon\fR 42 \fBauditsvc\fR \fBendauclass\fR 43 \fBendauevent\fR \fBgetauclassent\fR 44 \fBgetauclassent_r\fR \fBgetauclassnam\fR 45 \fBgetauclassnam_r\fR \fBgetaudit\fR 46 \fBgetaudit_addr\fR \fBgetauditflagsbin\fR 47 \fBgetauditflagschar\fR \fBgetauevent\fR 48 \fBgetauevent_r\fR \fBgetauevnam\fR 49 \fBgetauevnam_r\fR \fBgetauevnonam\fR 50 \fBgetauevnum\fR \fBgetauevnum_r\fR 51 \fBgetauid\fR \fBgetfauditflags\fR 52 \fBsetauclass\fR \fBsetauclassfile\fR 53 \fBsetaudit\fR \fBsetaudit_addr\fR 54 \fBsetauevent\fR \fBsetaueventfile\fR 55 \fBsetauid\fR \fBtestac\fR 56 .TE 57 58 .SH FILES 59 .ne 2 60 .na 61 \fB/lib/libbsm.so.1\fR 62 .ad 63 .RS 23n 64 shared object 65 .RE 66 67 .sp 68 .ne 2 69 .na 70 \fB/lib/64/libbsm.so.1\fR 71 .ad 72 .RS 23n 73 64-bit shared object 74 .RE 75 76 .SH ATTRIBUTES 77 See \fBattributes\fR(5) for descriptions of the following attributes: 78 .sp 79 80 .sp 81 .TS 82 box; 83 c | c 84 l | l . 85 ATTRIBUTE TYPE ATTRIBUTE VALUE 86 MT-Level T{ 87 See individual man page for each function. 88 T} 89 .TE 90 91 .SH SEE ALSO 92 \fBpvs\fR(1), \fBIntro\fR(3), \fBattributes\fR(5)