Re: [Patch]: Create Global Privilege

2003-12-07 Thread Corinna Vinschen
On Fri, Dec 05, 2003 at 09:29:17PM -0500, Pierre A. Humblet wrote: Sure, here it is. BTW, F_SETLKW is yucky, at least on NT4. Not only the fcntl call isn't interruptible but the process itself can't be killed with kill -9 while waiting. The sig thread itself waits during the close() call in

patch for audio recording with /dev/dsp

2003-12-07 Thread Gerd Spalink
Hi, This patch changes the device /dev/dsp so that audio recording works. I have tested it with cp /dev/dsp test.wav (stop by hitting ctrl-C) and subsequent playback with cp test.wav /dev/dsp I also tested successfully with bplay of the gramofile package (with some hangups that I link to

Re: [Patch]: Fixing the PROCESS_DUP_HANDLE security hole (part 1).

2003-12-07 Thread Pierre A. Humblet
At 05:40 PM 12/7/2003 -0500, Christopher Faylor wrote: On Mon, Sep 29, 2003 at 09:55:25PM -0400, Pierre A. Humblet wrote: Here is a patch that allows to open master ttys without giving full access to the process, at least for access to the ctty. It works by snooping the ctty pipe handles and

Re: patch for audio recording with /dev/dsp

2003-12-07 Thread Christopher Faylor
On Mon, Dec 08, 2003 at 03:37:19AM +0100, Gerd Spalink wrote: Hi, This patch changes the device /dev/dsp so that audio recording works. I have tested it with cp /dev/dsp test.wav (stop by hitting ctrl-C) and subsequent playback with cp test.wav /dev/dsp I also tested successfully with