]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Work around the p_comm[] size limit. If the user supplies more than
authorPeter Wemm <peter@FreeBSD.org>
Wed, 14 Feb 2001 21:56:03 +0000 (21:56 +0000)
committerPeter Wemm <peter@FreeBSD.org>
Wed, 14 Feb 2001 21:56:03 +0000 (21:56 +0000)
commit69179c143990523f91b5d7083b91de515e4a1e75
treecaf142b56d95ab2a8759edc300afd87692fc14ea
parent813ff33601ecaefb6d65231197d410a3fdd18724
Work around the p_comm[] size limit.  If the user supplies more than
16 characters, only check the first 16 since that is all the kernel
records.  This isn't ideal, but it is probably the best we can do.
Otherwise, "killall communicator-linux-4.76.bin" will not match
the process as the kernel only records "communicator-lin".
usr.bin/killall/killall.c