Re: doas: add optional timeout to persist directive
"Theo de Raadt" <[email protected]> Sat, 01 Aug 2026 14:21:39 -0600
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <[email protected]> |
+ yylval.timeout = (int)timeout; On a 64-bit architecture what happens if someone passes a 2147483680 I don't like what you are doing here. I honestly don't see a reason to allow configurable amount of time here. The original discussion for 5 minutes was "approximately how long before someone forgets about this persistance which could hurt them".