RE: [Sisuite-devel] which

2004-01-16 Thread Lombard, David N
From: Sean Dague; Friday, January 16, 2004 9:58 AM > > My original intent was not perfect emulation of the existing which > command, > but the ability to figure out if a command was available for running > without > dumping out to a shell, and without hardcoding the path to the command. > > Is th

Re: [Sisuite-devel] which

2004-01-16 Thread Sean Dague
On Fri, Jan 16, 2004 at 09:25:42AM -0800, Lombard, David N wrote: > > I'm on the fence here - anyone else have an opinion? > > Sean - I think you originally introduced this into SIS - did you > > intentionally > > exclude this property of which, or were you oblivious about it as I > was? > > At

RE: [Sisuite-devel] which

2004-01-16 Thread Lombard, David N
From: dann frazier; Sent: Friday, January 16, 2004 8:35 AM > > my worry now becomes one of security - if somehow root's path is set > with a NULL component, and root decides to run a SIm command from /tmp, > then there's potential for a local (in some cases a remote) user to > get some code execut

Re: [Sisuite-devel] which

2004-01-16 Thread dann frazier
On Tue, Jan 13, 2004 at 10:07:39AM -0800, Lombard, David N wrote: > You put the 'return "ERROR\n"; line *inside* the foreach loop, you want > it after the loop. With that mod, it works as expected... gotcha. my worry now becomes one of security - if somehow root's path is set with a NULL compone

RE: [Sisuite-devel] which

2004-01-13 Thread Lombard, David N
From: dann frazier; Wednesday, January 07, 2004 11:18 PM > > On Tue, Dec 30, 2003 at 10:51:36AM -0800, Lombard, David N wrote: > > Standard UNIX semantics for PATH interpret null components as the > > current working directory. > > > > The attached patch does that for the several instances of whic

Re: [Sisuite-devel] which

2004-01-08 Thread dann frazier
On Tue, Dec 30, 2003 at 10:51:36AM -0800, Lombard, David N wrote: > Standard UNIX semantics for PATH interpret null components as the > current working directory. > > The attached patch does that for the several instances of which. thanks David, but this doesn't seem to work for me [EMAIL PROTEC

[Sisuite-devel] which

2003-12-30 Thread Lombard, David N
Standard UNIX semantics for PATH interpret null components as the current working directory. The attached patch does that for the several instances of which. -- David N. Lombard My comments represent my opinions, not those of Intel Corporation. which.patch Description: which.patch