Linux-PAM_ADG.txt (Linux-PAM-1.5.1-docs.tar.xz) | : | Linux-PAM_ADG.txt (Linux-PAM-1.5.2-docs.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 323 | skipping to change at line 323 | |||
longer valid and all memory associated with it will be invalid. | longer valid and all memory associated with it will be invalid. | |||
The pam_status argument should be set to the value returned to the application | The pam_status argument should be set to the value returned to the application | |||
by the last PAM library call. | by the last PAM library call. | |||
The value taken by pam_status is used as an argument to the module specific | The value taken by pam_status is used as an argument to the module specific | |||
callback function, cleanup() (See pam_set_data(3) and pam_get_data(3)). In this | callback function, cleanup() (See pam_set_data(3) and pam_get_data(3)). In this | |||
way the module can be given notification of the pass/fail nature of the | way the module can be given notification of the pass/fail nature of the | |||
tear-down process, and perform any last minute tasks that are appropriate to | tear-down process, and perform any last minute tasks that are appropriate to | |||
the module before it is unlinked. This argument can be logically OR'd with | the module before it is unlinked. This argument can be logically OR'd with | |||
PAM_DATA_SILENT to indicate to indicate that the module should not treat the | PAM_DATA_SILENT to indicate that the module should not treat the call too | |||
call too seriously. It is generally used to indicate that the current closing | seriously. It is generally used to indicate that the current closing of the | |||
of the library is in a fork(2)ed process, and that the parent will take care of | library is in a fork(2)ed process, and that the parent will take care of | |||
cleaning up things that exist outside of the current process space (files | cleaning up things that exist outside of the current process space (files | |||
etc.). | etc.). | |||
This function free's all memory for items associated with the pam_set_item(3) | This function free's all memory for items associated with the pam_set_item(3) | |||
and pam_get_item(3) functions. Pointers associated with such objects are not | and pam_get_item(3) functions. Pointers associated with such objects are not | |||
valid anymore after pam_end was called. | valid anymore after pam_end was called. | |||
3.1.2.2. RETURN VALUES | 3.1.2.2. RETURN VALUES | |||
PAM_SUCCESS | PAM_SUCCESS | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |