]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This is
authorBruce Evans <bde@FreeBSD.org>
Wed, 16 Dec 1998 17:34:05 +0000 (17:34 +0000)
committerBruce Evans <bde@FreeBSD.org>
Wed, 16 Dec 1998 17:34:05 +0000 (17:34 +0000)
commitd529713846512a05f3da1b426700ec5b513a1f28
tree77429024505bdcf5b3ea04f27a0c0119bd322a59
parentdc1ab7da4167c29b61adc54c84b99eeece76ff30
Adjust for kern.ps_strings and PS_STRINGS not being a pointer.  This is
an unimprovement here.  I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.

Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.
lib/libc/gen/setproctitle.c
lib/libutil/setproctitle.c