Date: Wed, 13 Dec 2000 12:22:27 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linprocfs linprocfs_misc.c Message-ID: <200012132022.eBDKMR322254@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2000/12/13 12:22:27 PST Modified files: sys/compat/linprocfs linprocfs_misc.c Log: 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) Revision Changes Path 1.16 +130 -108 src/sys/compat/linprocfs/linprocfs_misc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012132022.eBDKMR322254>