Re: [Easyb2k-devel] Security problem
Status: Pre-Alpha
Brought to you by:
wyrm
From: Daniel R. <dr...@gm...> - 2007-10-31 18:39:53
|
2007/10/31, Marcos <ma...@un...>: > It is not that simple. > > We must drop privileges before running user code. > So we must drop privileges before loading any glue. > So we must attach to the USB port before loading any plugin. > So we can not attach to a newly plugged device after any plugin has been loaded. You still didnt got the most important point.. _one daemon instance for each device_. 1. The first thing that we will do is attach to the usb port. We need it to get the serial number, so the daemon can decide which .conf file to use and/or which plugins to load. :) 2. When you unplug the device, his controlling daemon exits. 3. When you plug another device, a new daemon is called. Daemon is kind of a bad term. It is more a hotplug loaded driver, and *not* an always running daemon. -- Daniel Ribeiro |