Johannes Berg wrote:
Good point, that'll work. Then again, I want this to run on really
tiny architectures and I'm thinking some of them might not have
fork(), just vfork(). Hmm.
Then again, on those platforms there is no real benefit from dropping
privs, is there. Heh.
johannes
-
To unsubscr
Alexey Toptygin wrote:
Why not have the tool create a monitor interface, open it, and fork;
the child drops privileges and does the reading, and the parent
wait(2)s for the child and removes the interface once it has collected
the child?
Good point, that'll work. Then again, I want this to run
On Mon, Aug 14, 2006 at 11:05:15PM +, Alexey Toptygin wrote:
> On Mon, 14 Aug 2006, Johannes Berg wrote:
>
> >In my seemingly never-ending quest to actually use the d80211 stack for
> >something useful I just wanted to write a small setuid tool that:
> >* creates and opens a new monitor inter
On Mon, 14 Aug 2006, Johannes Berg wrote:
In my seemingly never-ending quest to actually use the d80211 stack for
something useful I just wanted to write a small setuid tool that:
* creates and opens a new monitor interface
* drops priviledges
* ... does things with received frames ... (not int
Hey,
In my seemingly never-ending quest to actually use the d80211 stack for
something useful I just wanted to write a small setuid tool that:
* creates and opens a new monitor interface
* drops priviledges
* ... does things with received frames ... (not interesting for this
discussion)
* rem