Re: [PATCH 2.4] usb serial write fix

From: Paul Fulghum
Date: Tue Nov 02 2004 - 10:40:03 EST


On Tue, 2004-11-02 at 08:03, Paul Fulghum wrote:
> On Mon, 2004-11-01 at 21:36, Pete Zaitcev wrote:
> > Why testing for signals? Do you expect any?
>
> post_helper can run in a user process as well
> as keventd. The user process can get a signal
> like HUP to pppd.

This brings up a question.

post_helper is using a single list to queue
write requests from all user processes.

A write request on the list can be processed
in a user process different than the submitting process.

Signals sent to one user process can interfere with
the processing of write requests from a different process.

Is this not a security problem?

--
Paul Fulghum
paulkf@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/