pub const fn timestamp_timeout_value(choice: SudoTimestampChoice) -> i32Expand description
What: Map a wizard choice to the sudoers timestamp_timeout value.
Inputs:
choice: User-selected duration.
Output:
- Minutes as a positive integer, or
-1for no expiry in the session (persudoers(5)).
Details:
-1behavior depends on sudo version/policy; document in UI copy.