Commit 22986c7
committed
docs(spec): correct SYS_MAXSYSCALL and 13->15 syscall delta baseline (R-2026-05-28-01)
Fix factual errors in 4 spec docs based on direct grep of sys/sys/syscall.h:
- 13.0 SYS_MAXSYSCALL: 574 -> 580 (measured 420 SYS_* names)
- 15.0 SYS_MAXSYSCALL: 599 (measured 439 SYS_* names)
- 13->15 net additions: 25 -> 22, plus 3 removals newly recorded
- Drop the bogus SYS___realpathat row in 03 $2.4 (already exists in 13.0)
- 03 $1 'max syscall number' row: SYS_sigfastblock=573 -> SYS_aio_readv=579
Files changed:
- 03-freebsd-15-changes.md: 2 fixes in $1 table; $2.4 fully rewritten into
$2.4.1 (22 additions + compat shims) / $2.4.2 (3 removals) /
$2.4.3 (clarifications for syscalls already present in 13.0),
with a measurement-source footnote.
- 00-overview-and-glossary.md: SYS_MAXSYSCALL glossary row rewritten.
- 98-independent-audit-report.md: new independent audit report; P1-001
and $6.1 item 1 marked 'fixed 2026-05-28'.
- 99-review-report.md: append $12 revision log.
Measurement source:
grep '^#define[[:space:]]\+SYS_' \
freebsd-src-releng-{13.0,15.0}/sys/sys/syscall.h \
| awk '{print $2}' | sort | comm
Root cause:
Phase 2 Sub-Agent B (Analyzer-15) inferred syscall max from release
notes / partial reads instead of grepping syscall.h; Phase 4 reviewer
did not back-verify the numbers in the 4-dimension audit.
R-010 priority (P3) and constraint C-1 ('do not introduce new syscalls')
remain unchanged; only the underlying facts are corrected.
Lint: 0 diagnostics across zh_cn/.1 parent cb6f4c4 commit 22986c7
4 files changed
Lines changed: 313 additions & 21 deletions
File tree
- docs/freebsd_13_to_15_upgrade_spec/zh_cn
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
Lines changed: 48 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
76 | 104 | | |
77 | 105 | | |
78 | 106 | | |
| |||
0 commit comments