[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Drop privileges for udhcp
From: Steffen Nurpmeso <steffen () sdaoden ! eu>
Date: 2022-02-23 20:19:13
Message-ID: 20220223201913.s9Kg_%steffen () sdaoden ! eu
[Download RAW message or body]
Bobby Mah wrote in
<CALCTmMvnBJFaZ5_x9hAf72-roHPtX0Z67qrD=YxR+O2ez0zgeg@mail.gmail.com>:
|Hello folks!
|
|I would like udhcp to use setuid so that it can drop privileges after the
|server socket is built. However, the server socket is inside a loop and is
|re-created every time there's a bad packet.
|
|I am proposing moving the server socket out of the loop and letting udhcp
|die when a bad packet arrives. This way I can add the ability to drop the
|privileges after the server socket is created.
|
|Is there a reason to continue re-creating the server socket after a bad
|packet arrives? If not, then will the change I propose be deemed accepta\
|ble?
Ah and if you only could do something against the sleeps.
That would be a miracle.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic