From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262646AbVAPWXt (ORCPT ); Sun, 16 Jan 2005 17:23:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262633AbVAPWRM (ORCPT ); Sun, 16 Jan 2005 17:17:12 -0500 Received: from clock-tower.bc.nu ([81.2.110.250]:46469 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S262632AbVAPWPa (ORCPT ); Sun, 16 Jan 2005 17:15:30 -0500 Subject: Re: permissions of /proc/tty/driver From: Alan Cox To: Christoph Hellwig Cc: Thomas Viehmann , Linux Kernel Mailing List In-Reply-To: <20050116120436.GA13906@lst.de> References: <41E80535.1060309@beamnet.de> <20050116120436.GA13906@lst.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1105908524.12196.13.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sun, 16 Jan 2005 21:11:03 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sul, 2005-01-16 at 12:04, Christoph Hellwig wrote: > > (where /proc/tty/driver/serial is mentioned as leaking sensitive > > information), to me the contents of usbserial look innocent enough. > > Do you have any hints on what might be a good solution? > > The permissions on the directory look indeed too strict to me. It might > be better to just use strict permissions on /proc/tty/driver/serial > indeed. The file containts transmit and receive byte counts, which means you can both measure intercharacter delay and character count. Thats a big help to password guessers