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