Re: ure(4): add support for rtl8153b

2019-08-26 Thread Jason McIntyre
On Tue, Aug 27, 2019 at 10:50:05AM +0800, Kevin Lo wrote: > Hi, > > The diff below adds support for RTL8153B to ure(4). > Tested on Totolink u1003. > morning. the changes for ure.4 are fine, but can you adjust the entry in usb.4 accordingly too, please? thanks, jmc > Index:

Re: ure(4): add support for rtl8153b

2019-08-26 Thread Kevin Lo
On Tue, Aug 27, 2019 at 12:34:55PM +0800, Kevin Lo wrote: > On Tue, Aug 27, 2019 at 10:50:05AM +0800, Kevin Lo wrote: > > > > Hi, > > > > The diff below adds support for RTL8153B to ure(4). > > Tested on Totolink u1003. > > I should mention that it's based on Linux r8152 driver.

Re: ure(4): add support for rtl8153b

2019-08-26 Thread Kevin Lo
On Tue, Aug 27, 2019 at 10:50:05AM +0800, Kevin Lo wrote: > > Hi, > > The diff below adds support for RTL8153B to ure(4). > Tested on Totolink u1003. I should mention that it's based on Linux r8152 driver.

ure(4): add support for rtl8153b

2019-08-26 Thread Kevin Lo
Hi, The diff below adds support for RTL8153B to ure(4). Tested on Totolink u1003. Index: share/man/man4/ure.4 === RCS file: /cvs/src/share/man/man4/ure.4,v retrieving revision 1.5 diff -u -p -u -p -r1.5 ure.4 ---

Re: unveil vmd(8)'s priv process

2019-08-26 Thread Bryan Steele
On Mon, Aug 26, 2019 at 11:01:26AM +0100, Ricardo Mestre wrote: > Hi, > > Currently vmd(8) has 3 processes that run under chroot(2)/chdir(2), namely > control, vmm and priv. From these both control and vmm already run under > different pledge(2)s but without any filesystem access, priv in the

Re: Make filter line handling more developer friendly

2019-08-26 Thread Martijn van Duren
On 8/26/19 11:42 AM, Sebastien Marie wrote: > On Sun, Aug 25, 2019 at 07:01:01AM +0200, Martijn van Duren wrote: >> Right now all we get is "Misbehaving filter", which doesn't tell the >> developer a lot. >> >> Diff below does the following: >> - Make the register_hooks actually fail on

unveil vmd(8)'s priv process

2019-08-26 Thread Ricardo Mestre
Hi, Currently vmd(8) has 3 processes that run under chroot(2)/chdir(2), namely control, vmm and priv. From these both control and vmm already run under different pledge(2)s but without any filesystem access, priv in the other hand cannot use pledge due to forbidden ioctls. That being said the

Re: Make filter line handling more developer friendly

2019-08-26 Thread Sebastien Marie
On Sun, Aug 25, 2019 at 07:01:01AM +0200, Martijn van Duren wrote: > Right now all we get is "Misbehaving filter", which doesn't tell the > developer a lot. > > Diff below does the following: > - Make the register_hooks actually fail on misbehaviour. > - Change some *ep = 0 to a more semantically

Re: Make filter line handling more developer friendly

2019-08-26 Thread Peter Varga
On Mon, Aug 26, 2019, at 00:30, gil...@poolp.org wrote: > 25 août 2019 07:01 "Martijn van Duren" a > écrit: > > Right now all we get is "Misbehaving filter", which doesn't tell the > > developer a lot. > > > > Indeed > > > > Diff below does the following: > > - Make the register_hooks

Re: Make filter line handling more developer friendly

2019-08-26 Thread gilles
25 août 2019 07:01 "Martijn van Duren" a écrit: > Right now all we get is "Misbehaving filter", which doesn't tell the > developer a lot. > Indeed > Diff below does the following: > - Make the register_hooks actually fail on misbehaviour. > - Change some *ep = 0 to a more semantically