Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-19 Thread Alon Ziv
H. Peter Anvin zytor.com> writes: > > It is a bit more indirect, but also in practice it's a bit trickier than > > that. We need to ensure the memory doesn't change underneath us and > > stays attached to that fd. I can easily see that code slipping and > > ending in an exploit. > > > > But

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-19 Thread Alon Ziv
H. Peter Anvin hpa at zytor.com writes: It is a bit more indirect, but also in practice it's a bit trickier than that. We need to ensure the memory doesn't change underneath us and stays attached to that fd. I can easily see that code slipping and ending in an exploit. But that may

[PATCH] Try harder to probe some finicky mice

2007-07-28 Thread Alon Ziv
From: Alon Ziv <[EMAIL PROTECTED]> Some rodents appear to be extra-finicky, and require both a PSMOUSE_RESET_DIS and a PSMOUSE_RESET_BAT before they are unconfused enough to be probed. Signed-off-by: Alon Ziv <[EMAIL PROTECTED]> --- drivers/input/mouse/psmouse-base.c |1 + 1 f

[PATCH] Try harder to probe some finicky mice

2007-07-28 Thread Alon Ziv
From: Alon Ziv [EMAIL PROTECTED] Some rodents appear to be extra-finicky, and require both a PSMOUSE_RESET_DIS and a PSMOUSE_RESET_BAT before they are unconfused enough to be probed. Signed-off-by: Alon Ziv [EMAIL PROTECTED] --- drivers/input/mouse/psmouse-base.c |1 + 1 files changed, 1

Re: light weight user level semaphores

2001-04-23 Thread Alon Ziv
From: "David Howells" <[EMAIL PROTECTED]> > David Woodhouse <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] said: > > > [BTW, another solution is to truly support opaque "handles" to kernel > > > objects; I believe David Howells is already working on something like > > > this for Wine? > > Yes.

Re: light weight user level semaphores

2001-04-23 Thread Alon Ziv
From: David Howells [EMAIL PROTECTED] David Woodhouse [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] said: [BTW, another solution is to truly support opaque handles to kernel objects; I believe David Howells is already working on something like this for Wine? Yes. However, it uses a

Re: light weight user level semaphores

2001-04-22 Thread Alon Ziv
() is a 'timed-wait' waitable by poll() :-) ] -az - Original Message - From: "Alexander Viro" <[EMAIL PROTECTED]> To: "Alon Ziv" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Alan Cox" <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001

Re: light weight user level semaphores

2001-04-22 Thread Alon Ziv
to include poll(), but it sure looks like a kludge... -az - Original Message - From: "Alan Cox" <[EMAIL PROTECTED]> To: "Alon Ziv" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, April 22, 2001 14:44 Subject: Re: light weight user level sema

Re: light weight user level semaphores

2001-04-22 Thread Alon Ziv
to include poll(), but it sure looks like a kludge... -az - Original Message - From: "Alan Cox" [EMAIL PROTECTED] To: "Alon Ziv" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 22, 2001 14:44 Subject: Re: light weight user level semaphores All of this

Re: light weight user level semaphores

2001-04-22 Thread Alon Ziv
() is a 'timed-wait' waitable by poll() :-) ] -az - Original Message - From: "Alexander Viro" [EMAIL PROTECTED] To: "Alon Ziv" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; "Alan Cox" [EMAIL PROTECTED] Sent: Sunday, April 22, 2001 16:31 Subject: Re: light weight user le

Re: light weight user level semaphores

2001-04-19 Thread Alon Ziv
Hmm... I already started (long ago, and abandoned since due to lack of time :-( ) down another path; I'd like to resurrect it... My lightweight-semaphores were actually even simpler in userspace: * the userspace struct was just a signed count and a file handle. * Uncontended case is exactly like

Re: light weight user level semaphores

2001-04-19 Thread Alon Ziv
Hmm... I already started (long ago, and abandoned since due to lack of time :-( ) down another path; I'd like to resurrect it... My lightweight-semaphores were actually even simpler in userspace: * the userspace struct was just a signed count and a file handle. * Uncontended case is exactly like

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alon Ziv
The best solution to the sound driver issue, IMHO, is still entirely userspace--- just no-one has written it yet. What we should do: 1. Before auto-unload of the driver, run a small utility which will read mixer settings and save them somewhere 2. When auto-loading the driver, use driver

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Alon Ziv
The best solution to the sound driver issue, IMHO, is still entirely userspace--- just no-one has written it yet. What we should do: 1. Before auto-unload of the driver, run a small utility which will read mixer settings and save them somewhere 2. When auto-loading the driver, use driver

Re: thread group comments

2000-09-03 Thread Alon Ziv
I find I have to comment... although I haven't had access to my Linux box for a while (Real Life is taking too much of my time ;-) I, for one, am _not_ in favor of the tgid approach. I believe it is _far_ too complex a solution. And, yes, I do have a better (IMNSHO) approach. I just didn't get

Re: thread group comments

2000-09-03 Thread Alon Ziv
a test8-pre1, rip out the silly tgid stuff, and code my idea?!? -az Alon Ziv <mailto:[EMAIL PROTECTED]> System Architect (Client Team) Zapper Technologies Inc. <http://www.zapper.com/> Tel +972-3-6949226 BEGIN:VCARD VERSION:2.1 N:Ziv;Alon FN:Alon Ziv ORG:Zapper Technologies

Re: thread group comments

2000-09-03 Thread Alon Ziv
a test8-pre1, rip out the silly tgid stuff, and code my idea?!? -az Alon Ziv mailto:[EMAIL PROTECTED] System Architect (Client Team) Zapper Technologies Inc. http://www.zapper.com/ Tel +972-3-6949226 BEGIN:VCARD VERSION:2.1 N:Ziv;Alon FN:Alon Ziv ORG:Zapper Technologies Inc.;Client

Re: SCO: "thread creation is about a thousand times faster than on

2000-08-29 Thread Alon Ziv
From: "David Howells" <[EMAIL PROTECTED]> > > Would it be possible to make fork() or clone() from a process whose tgid!=pid > reparent the child to the thread group leader automatically? Thus, when the > creating thread goes away, the child is still a child of the "process", and > SIGCHLD is