mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 15:24:40 -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.c | ||
| linprocfs.h | ||
| linprocfs_misc.c | ||
| linprocfs_subr.c | ||
| linprocfs_vfsops.c | ||
| linprocfs_vnops.c | ||