From owner-freebsd-bugs Mon Dec 11 16:40: 9 2000 From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 11 16:40:03 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 916F537B400 for ; Mon, 11 Dec 2000 16:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBC0e2193790; Mon, 11 Dec 2000 16:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 11 Dec 2000 16:40:02 -0800 (PST) Message-Id: <200012120040.eBC0e2193790@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Maxim Konovalov Subject: Re: bin/23356: killall(1) refuses to kill root-owned SUID-binary started by non-root Reply-To: Maxim Konovalov Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/23356; it has been noted by GNATS. From: Maxim Konovalov To: freebsd-gnats-submit@FreeBSD.org, eugen@iname.com Cc: Subject: Re: bin/23356: killall(1) refuses to kill root-owned SUID-binary started by non-root Date: Tue, 12 Dec 2000 03:35:55 +0300 (MSK) Hi, There is a typo in the killall.c. Here is the patch: *** killall.c.orig Tue Dec 12 00:00:01 2000 --- killall.c Tue Dec 12 02:49:25 2000 *************** *** 248,254 **** miblen = 3; if (user && mib[2] == KERN_PROC_ALL) { ! mib[2] = KERN_PROC_UID; mib[3] = uid; miblen = 4; } --- 248,254 ---- miblen = 3; if (user && mib[2] == KERN_PROC_ALL) { ! mib[2] = KERN_PROC_RUID; mib[3] = uid; miblen = 4; } The bin/17498 is obsolete, so you can close it too. - - maxim -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message