mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 07:14:14 -05:00
Generate a version string that looks just like a real Linux one - almost :) Use sbufs everywhere instead of sprintf(). Note that this is still imperfect, as the code does not check whether the sbuf overflowed - but it'll still work better than before, since if the sbuf overflows, the code now simply copies out 0 bytes instead of causing a trap (or worse, corrupting kernel structures) |
||
|---|---|---|
| .. | ||
| linprocfs | ||
| linux | ||
| netbsd | ||
| svr4 | ||