xref: /illumos-gate/usr/src/man/man3lib/libsecdb.3lib (revision 5400c85432c0a689ecefb8c19b8f9861809ca093)
1.\" The contents of this file are subject to the terms of the Common
2.\" Development and Distribution License (the "License").  You may not use
3.\" this file except in compliance with the License.
4.\"
5.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or
6.\" http://www.opensolaris.org/os/licensing.  See the License for the
7.\" specific language governing permissions and limitations under the
8.\" License.
9.\"
10.\" When distributing Covered Code, include this CDDL HEADER in each file
11.\" and include the License file at usr/src/OPENSOLARIS.LICENSE.  If
12.\" applicable, add the following below this CDDL HEADER, with the fields
13.\" enclosed by brackets "[]" replaced with your own identifying
14.\" information: Portions Copyright [yyyy] [name of copyright owner]
15.\"
16.\" Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved.
17.\" Copyright 2026 OmniOS Community Edition (OmniOSce) Association.
18.\"
19.Dd August 8, 2026
20.Dt LIBSECDB 3LIB
21.Os
22.Sh NAME
23.Nm libsecdb
24.Nd security attributes database library
25.Sh LIBRARY
26.Lb libsecdb
27.Sh SYNOPSIS
28.In secdb.h
29.In user_attr.h
30.In prof_attr.h
31.In exec_attr.h
32.In auth_attr.h
33.Sh DESCRIPTION
34Functions in this library provide routines for manipulation of security
35attribute databases.
36.Sh INTERFACES
37The shared object
38.Pa libsecdb.so.1
39provides the public interfaces defined below.
40See
41.Xr Intro 3
42for additional information on shared object interfaces.
43.Bl -column -offset 4n match_execattr match_execattr match_execattr match_execattr
44.It chkauthattr Ta endauthattr Ta endexecattr Ta endprofattr
45.It enduserattr Ta fgetuserattr Ta free_authattr Ta free_execattr
46.It free_profattr Ta free_proflist Ta free_userattr Ta getauthattr
47.It getauthnam Ta getexecattr Ta getexecprof Ta getexecuser
48.It getprofattr Ta getproflist Ta getprofnam Ta getuserattr
49.It getusernam Ta getuseruid Ta kva_match Ta match_execattr
50.It setauthattr Ta setexecattr Ta setprofattr Ta setuserattr
51.El
52.Sh FILES
53.Bl -tag -width /lib/64/libsecdb.so.1
54.It Pa /lib/libsecdb.so.1
55shared object
56.It Pa /lib/64/libsecdb.so.1
5764-bit shared object
58.El
59.Sh MT-LEVEL
60.Sy MT-Safe
61.Sh SEE ALSO
62.Xr Intro 3 ,
63.Xr attributes 7
64