comparison src/libpam/handle.rs @ 191:e915c54097d6

Clean up docs and link versions to the right place.
author Paul Fisher <paul@pfish.zone>
date Sat, 02 Aug 2025 19:01:21 -0400
parents fb8b547b36b7
children
comparison
equal deleted inserted replaced
190:995aca290452 191:e915c54097d6
279 not(pam_impl = "LinuxPam"), 279 not(pam_impl = "LinuxPam"),
280 doc = "Exactly equivalent to [`Self::end`], except on Linux-PAM." 280 doc = "Exactly equivalent to [`Self::end`], except on Linux-PAM."
281 )] 281 )]
282 #[cfg_attr( 282 #[cfg_attr(
283 pam_impl = "LinuxPam", 283 pam_impl = "LinuxPam",
284 doc = "Ends the transaction \"quietly\", reporting `error_code` to cleanup callbacks." 284 doc = "Ends the transaction \"quietly\", reporting the given result."
285 )] 285 )]
286 /// 286 ///
287 /// On Linux-PAM only, this sets the 287 /// On Linux-PAM only, this sets the `PAM_DATA_SILENT` flag on the value
288 /// [`PAM_DATA_SILENT`](libpam_sys::PAM_DATA_SILENT) flag on the flags
289 /// passed to the cleanup callbacks. This conventionally means that this 288 /// passed to the cleanup callbacks. This conventionally means that this
290 /// `pam_end` call is occurring on a forked process, and that a session 289 /// `pam_end` call is occurring on a forked process, and that a session
291 /// may still be open on the parent process, and modules "should not treat 290 /// may still be open on the parent process, and modules "should not treat
292 /// the call too seriously". 291 /// the call too seriously".
293 /// 292 ///