From owner-freebsd-hackers Mon Jul 17 13: 0:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id 519D037B817; Mon, 17 Jul 2000 13:00:36 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:oIDB7bsyBCPAeFYZBodsY2wrSZ/0oE/hpQeDoOYGd1bgaCZba/VZ42A91Y55DvTl@localhost [::1]) (authenticated) by peace.mahoroba.org (8.10.2/3.7W-peace) with ESMTP id e6HK0Dh17533; Tue, 18 Jul 2000 05:00:13 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 18 Jul 2000 05:00:10 +0900 (JST) Message-Id: <20000718.050010.104040362.ume@mahoroba.org> To: imp@village.org Cc: nsayer@freebsd.org, nsayer@sftw.com, freebsd-hackers@freebsd.org Cc: ume@mahoroba.org Subject: Re: sysctl interface for apm? From: Hajimu UMEMOTO In-Reply-To: <200007171945.NAA63703@harmony.village.org> References: <39734D36.5FC7DDA@sftw.com> <200007171914.NAA63275@harmony.village.org> <200007171945.NAA63703@harmony.village.org> X-Mailer: xcite1.20> Mew version 1.95b38 on Emacs 20.6 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Mon, 17 Jul 2000 13:45:29 -0600 >>>>> Warner Losh said: imp> It is sufficient for APMIO_GETINFO, but it will introduce a security imp> hole as the apm ioctls aren't careful enough about their sanity imp> checking. I've added such sanity checking in my local copy of apm and imp> will test it tonight when I have access to my laptop. imp> The holes are introduced by the chmod 664 /dev/apm, not by doing the imp> open rdonly :-). Oh, I see. It's a security hole. imp> If you'll send me a pointer to gkrellm, I'll see about putting it up imp> on my laptop and making sure that my stuff works with it. ports/sysutils/gkrellm/ :-) -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message