Page MenuHomeFreeBSD

timeout.1: Add a STANDARDS section
Needs ReviewPublic

Authored by gbe on Jun 22 2024, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 4 2025, 12:22 PM
Unknown Object (File)
Jan 27 2025, 12:33 PM
Unknown Object (File)
Jan 20 2025, 8:56 AM
Unknown Object (File)
Jan 2 2025, 6:17 PM
Unknown Object (File)
Nov 20 2024, 3:37 PM
Unknown Object (File)
Nov 18 2024, 7:22 PM
Unknown Object (File)
Nov 18 2024, 5:07 PM
Unknown Object (File)
Nov 11 2024, 9:02 AM

Details

Summary

timeout(1) is now defined in IEEE Std 1003.1-2024 ("POSIX.1")
and is complaint with the specification.

Since our mandoc version is lacking the new specification,
add it to it.

Obtained from: OpenBSD
MFC after: 1 week

Test Plan

build world following 'mandoc -Tlint checks' and mandoc output review

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gbe requested review of this revision.Jun 22 2024, 8:23 AM

I like this. Please 40m42.

Edit: for st.c, sorry!

bcr added a subscriber: bcr.

Looks good to me, thanks!

This revision is now accepted and ready to land.Jun 27 2024, 6:56 PM
bin/timeout/timeout.1
201

Don't we need the more vague
"is expected to comply with the"
since we've not even run the certification tests on it yet, let alone gone for the Open Source cert program?

This revision was automatically updated to reflect the committed changes.
aly_aaronly.me added a subscriber: aly_aaronly.me.

Hello.

Well, you cannot just declare timeout(1) is compliant with (or even is expected to conform to) the POSIX.1-2024 Standard without actually updating it.
Actually, the current version has several behaviors (e.g., signal catching, signal propagation) that don't comply with the Standard.

So I've put quite some efforts into making timeout(1) to conform to the Standard, and I've just pushed the code in the DragonFly BSD codebase. See commits from c9f09d1fdc1a39eec5047998927cf09ee14e5251 to 694b470d432b40a430fa1f075b0c4a40ac1df553.
Please take a look and hope it's helpful.

Standard spec: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/timeout.html