From owner-freebsd-hackers Thu Apr 6 00:25:09 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA13431 for hackers-outgoing; Thu, 6 Apr 1995 00:25:09 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA13370 ; Thu, 6 Apr 1995 00:22:42 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA15505; Thu, 6 Apr 1995 09:21:43 +0200 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id JAA10938; Thu, 6 Apr 1995 09:21:42 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA09093; Thu, 6 Apr 1995 08:51:58 +0200 From: J Wunsch Message-Id: <199504060651.IAA09093@uriah.heep.sax.de> Subject: Re: lsof 3.25 now available for fbsd 2.0 To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Thu, 6 Apr 1995 08:51:57 +0200 (MET DST) Cc: ports@FreeBSD.org In-Reply-To: <9504052316.AA99715@slate.Mines.Colorado.EDU> from "Ade Barkah" at Apr 5, 95 05:16:22 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 444 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Ade Barkah wrote: > > > ... The > version uploaded was compiled with -DHASSECURITY which restricts > non-priviledged users from listing other people's open files. Does this make sense? I'm perfectly able to look at any open file with fstat(1). So why restrict lsof to less than fstat can do? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)