summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-12-13 20:22:24 +0000
committerdes <des@FreeBSD.org>2000-12-13 20:22:24 +0000
commitfc2494740f443d959920eb9a734c040cdeb04bb1 (patch)
tree478de88e7050df1c218d6ddab5a4e232b0833462 /sys/kern/kern_mutex.c
parent7016d6317c84b89303171153ebfd4ac063b7c1c0 (diff)
downloadFreeBSD-src-fc2494740f443d959920eb9a734c040cdeb04bb1.zip
FreeBSD-src-fc2494740f443d959920eb9a734c040cdeb04bb1.tar.gz
Use kinfo_proc instead of eproc (which Kirk deep-sixed earlier this week)
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)
Diffstat (limited to 'sys/kern/kern_mutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud