xref: /netbsd-src/external/bsd/openpam/dist/doc/man/openpam_set_option.3 (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1.\"	$NetBSD: openpam_set_option.3,v 1.6 2014/10/24 18:25:14 christos Exp $
2.\"
3.\" Generated from openpam_set_option.c by gendoc.pl
4.\" Id: openpam_set_option.c 648 2013-03-05 17:54:27Z des
5.Dd September 12, 2014
6.Dt OPENPAM_SET_OPTION 3
7.Os
8.Sh NAME
9.Nm openpam_set_option
10.Nd sets the value of a module option
11.Sh LIBRARY
12.Lb libpam
13.Sh SYNOPSIS
14.In sys/types.h
15.In security/pam_appl.h
16.In security/openpam.h
17.Ft "int"
18.Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value"
19.Sh DESCRIPTION
20The
21.Fn openpam_set_option
22function sets the specified option in the
23context of the currently executing service module.
24.Sh RETURN VALUES
25The
26.Fn openpam_set_option
27function returns one of the following values:
28.Bl -tag -width 18n
29.It Bq Er PAM_BUF_ERR
30Memory buffer error.
31.It Bq Er PAM_SYSTEM_ERR
32System error.
33.El
34.Sh SEE ALSO
35.Xr openpam_get_option 3 ,
36.Xr pam 3 ,
37.Xr pam_strerror 3
38.Sh STANDARDS
39The
40.Fn openpam_set_option
41function is an OpenPAM extension.
42.Sh AUTHORS
43The
44.Fn openpam_set_option
45function and this manual page were
46developed for the
47.Fx
48Project by ThinkSec AS and Network Associates Laboratories, the
49Security Research Division of Network Associates, Inc.\& under
50DARPA/SPAWAR contract N66001-01-C-8035
51.Pq Dq CBOSS ,
52as part of the DARPA CHATS research program.
53.Pp
54The OpenPAM library is maintained by
55.An Dag-Erling Sm\(/orgrav Aq des@des.no .
56