patch: unveil: remove some leftover of UNVEIL_INSPECT usage with ni_unveil

2021-03-11 Thread Sebastien Marie
Hi, The following diff is a cleanup to remove two leftover checks, which were used when ni_unveil was used with UNVEIL_INSPECT: it was used by: - readlink(2) - removed 2019-08-31 Make readlink require UNVEIL_READ instead of UNVEIL_INSPECT only since realpath() is now a system call - stat(

Re: Remove booting from kernels in raw/qcow2 images in vmd(8)

2021-03-11 Thread Theo Buehler
On Thu, Mar 11, 2021 at 08:40:46PM -0800, Mike Larkin wrote: > On Thu, Mar 11, 2021 at 06:11:03PM -0500, Dave Voutila wrote: > > tl;dr: tedu vmboot.{c,h}, ufs.c from vmd(8) to remove broken ability to > > exract and boot a kernel image from a raw or qcow2 disk image > > > > The following diff remov

Re: Remove booting from kernels in raw/qcow2 images in vmd(8)

2021-03-11 Thread Mike Larkin
On Thu, Mar 11, 2021 at 06:11:03PM -0500, Dave Voutila wrote: > tl;dr: tedu vmboot.{c,h}, ufs.c from vmd(8) to remove broken ability to > exract and boot a kernel image from a raw or qcow2 disk image > > The following diff removes the ability to boot directly from a disk > image containing a FFS fi

Re: net80211: new Tx rate adaptation module (iwn + iwm)

2021-03-11 Thread Aaron Miller
On Thu, 2021-03-11 at 10:58 +0100, Stefan Sperling wrote: > Generally, iwm tends to prefer 5 GHz for me in most locations, > but > there are heuristics involved in selecting the band. You could > try > tweaking these values in ieee80211_var.h to see if it you can > manage > to tip iwm over into the

Re: net80211: new Tx rate adaptation module (iwn + iwm)

2021-03-11 Thread Darren VanBuren
On Tue, Mar 9, 2021 at 5:56 AM Stefan Sperling wrote: > > This implements a new rate adaptation module for net80211, called "RA", > which resulted from a long discussion and exchanges of various diffs > between Christian Ehrhardt and myself, targeting problems with MiRA. > > Tests with any of the

Re: ksh vi.c: define CTRL locally

2021-03-11 Thread Todd C . Miller
On Thu, 11 Mar 2021 12:44:18 +0100, Benjamin Baier wrote: > lets's sync up vi.c with emacs.c and define CTRL locally. > Makes the portable version work on FreeBSD https://github.com/ibara/oksh/issu > es/59 > And as a bonus makes ksh -DSMALL compile with -DVI. Thanks, I committed this without the

Re: More arm64 memory

2021-03-11 Thread Klemens Nanni
On Thu, Mar 11, 2021 at 11:36:26PM +0100, Mark Kettenis wrote: > The UEFI standard indicates that the EfiBootServicesCode and > EfiBootServicesData memory types are available for general use after > ExitBootServices() has been called. So unless the firmware is really > really buggy, this should be

Remove booting from kernels in raw/qcow2 images in vmd(8)

2021-03-11 Thread Dave Voutila
tl;dr: tedu vmboot.{c,h}, ufs.c from vmd(8) to remove broken ability to exract and boot a kernel image from a raw or qcow2 disk image The following diff removes the ability to boot directly from a disk image containing a FFS filesystem. No new functionality is added. It's still possible to boot vi

More arm64 memory

2021-03-11 Thread Mark Kettenis
The UEFI standard indicates that the EfiBootServicesCode and EfiBootServicesData memory types are available for general use after ExitBootServices() has been called. So unless the firmware is really really buggy, this should be safe and give us a bit more memory. Tested this on three different UE

Re: net80211: new Tx rate adaptation module (iwn + iwm)

2021-03-11 Thread Uwe Werler
On 09 Mar 14:48, Stefan Sperling wrote: > This implements a new rate adaptation module for net80211, called "RA", > which resulted from a long discussion and exchanges of various diffs > between Christian Ehrhardt and myself, targeting problems with MiRA. > > Tests with any of the various iwn(4) a

Re: allow xlock -dpms* values < 30 and > 0

2021-03-11 Thread Alex Raschi
Ping There was an extra space after 'noff', below is the updated patch. On Tue, Feb 23, 2021 at 11:11:21AM +0100, Alex Raschi wrote: > Hi, > > I noticed that xlock does not allow values between 30 and 0 for options > -dpms{standby,suspend,off}, the man page suggests that all values >= 0 > are ac

ksh vi.c: define CTRL locally

2021-03-11 Thread Benjamin Baier
Hi, lets's sync up vi.c with emacs.c and define CTRL locally. Makes the portable version work on FreeBSD https://github.com/ibara/oksh/issues/59 And as a bonus makes ksh -DSMALL compile with -DVI. Greetings Ben Index: vi.c === RCS

Re: ifconfig.8: document veb(4)

2021-03-11 Thread David Gwynne
> On 11 Mar 2021, at 8:06 pm, Klemens Nanni wrote: > > On Thu, Mar 11, 2021 at 01:46:34PM +1000, David Gwynne wrote: > >>> +.It Cm link0 >>> +Disable the filtering of 802.1Q VLAN and QinQ SVLAN packets. >>> +.It Cm -link0 >>> +Enable the filtering of 802.1Q VLAN and QinQ SVLAN packets. >>> +P

Re: ifconfig.8: document veb(4)

2021-03-11 Thread Klemens Nanni
On Thu, Mar 11, 2021 at 01:46:34PM +1000, David Gwynne wrote: > > +.It Cm link0 > > +Disable the filtering of 802.1Q VLAN and QinQ SVLAN packets. > > +.It Cm -link0 > > +Enable the filtering of 802.1Q VLAN and QinQ SVLAN packets. > > +Packets will appear to enter or leave the member port interface

Re: net80211: new Tx rate adaptation module (iwn + iwm)

2021-03-11 Thread Stefan Sperling
On Wed, Mar 10, 2021 at 08:35:37PM -0800, Aaron Miller wrote: > On Tue, 2021-03-09 at 14:48 +0100, Stefan Sperling wrote: > > This implements a new rate adaptation module for net80211, called > > "RA", > > which resulted from a long discussion and exchanges of various > > diffs > > between Christia

Re: apmd: use unveil(2)

2021-03-11 Thread Klemens Nanni
On Wed, Jul 24, 2019 at 09:46:09PM +0200, Klemens Nanni wrote: > Pledge is not possible due to the ioctls, but as it hoists both the > control socket and apm device early at startup and only ever possibly > executes scripts under /etc/apm/, hiding the rest of the filesystem > becomes easy. > > Tec