Re: on-line kernel debugging

2018-02-01 Thread David Gwynne
> On 28 Jan 2018, at 04:07, bijan wrote: > > Thank you (for the quick response) and sorry if I was not as clear > as I should have been! what I meant and was hoping to find was > a source code debugger support, like gdb[1], where one can debug > a running kernel with full access to the source co

Re: base system multi-booting in MBR

2018-02-01 Thread Damien Miller
On Wed, 31 Jan 2018, Alexei Malinin wrote: > Hello. > > If the base system supported multi-booting in MBR would the community be > interested in it? Doesn't it already? "machine boot sd0X"

ether_input: more goto dropanyway

2018-02-01 Thread Michele Curti
Hi, this diff makes more use of the goto dropanyway instead of repeating m_freem() and return. Also change the sizeof(etherbroadcastaddr) with ETHER_ADDR_LEN for consistency with the other memcmps. Regards, Michele Index: sys/net/if_ethersubr.c ==

Re: ifconfig: actually enable WPA if 802.1x is requested

2018-02-01 Thread Mike Larkin
On Thu, Feb 01, 2018 at 09:50:09PM +0100, Stefan Sperling wrote: > mlarkin found the hard way that 'ifconfig iwn0 wpaakms 802.1x' doesn't > actually enable WPA, which means instead people need to type this to > make it work: ifconfig iwn0 wpa wpaakms 802.1x > > This diff saves 802.1x users 4 keyst

ifconfig: actually enable WPA if 802.1x is requested

2018-02-01 Thread Stefan Sperling
mlarkin found the hard way that 'ifconfig iwn0 wpaakms 802.1x' doesn't actually enable WPA, which means instead people need to type this to make it work: ifconfig iwn0 wpa wpaakms 802.1x This diff saves 802.1x users 4 keystrokes and some head scratching wondering why it won't work. ok? Index: if

Re: sleep(1): support longer naps

2018-02-01 Thread Jeremie Courreges-Anglas
On Thu, Feb 01 2018, Scott Cheloha wrote: > On Wed, Jan 31, 2018 at 07:25:58AM +, Jason McIntyre wrote: >> On Wed, Jan 31, 2018 at 05:52:35AM +0100, Theo Buehler wrote: >> > On Thu, Jan 25, 2018 at 09:35:33PM -0600, Scott Cheloha wrote: >> > > [...] >> > > >> > > I'm not sure whether the larg

Re: sleep(1): support longer naps

2018-02-01 Thread Scott Cheloha
On Wed, Jan 31, 2018 at 07:25:58AM +, Jason McIntyre wrote: > On Wed, Jan 31, 2018 at 05:52:35AM +0100, Theo Buehler wrote: > > On Thu, Jan 25, 2018 at 09:35:33PM -0600, Scott Cheloha wrote: > > > [...] > > > > > > I'm not sure whether the larger range is actually an extension to the > > > sta

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Todd C. Miller
OK millert@ for that version. - todd

Re: base system multi-booting in MBR

2018-02-01 Thread Alexei Malinin
Very interesting. Thanks for the information. -- Alexei Malinin On 02/01/18 04:39, YASUOKA Masahiko wrote: > On Wed, 31 Jan 2018 17:05:57 -0500 > Bryan Steele wrote: >> On Wed, Jan 31, 2018 at 10:41:48PM +0100, Christian Weisgerber wrote: >>> Alexei Malinin: >>> If the base system support

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Landry Breuil
On Thu, Feb 01, 2018 at 02:26:16PM +0100, Alexander Bluhm wrote: > On Thu, Feb 01, 2018 at 09:08:04AM +0100, Landry Breuil wrote: > > > # Log everything coming from host bastion to a separate file > > > ++bastion /var/log/bastion > > > *.* > > > +* > > > > w

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Alexander Bluhm
On Thu, Feb 01, 2018 at 09:08:04AM +0100, Landry Breuil wrote: > > # Log everything coming from host bastion to a separate file > > ++bastion /var/log/bastion > > *.* > > +* > > well maybe that's clearer, but the version without *.* works here.. i > dont h

Re: tcpdump(8) USB support

2018-02-01 Thread David Gwynne
> On 31 Jan 2018, at 12:39 am, Martin Pieuchot wrote: > > On 30/01/18(Tue) 16:37, David Gwynne wrote: >>> [...] >>> bpfsdetach takes the reference to a bpf interface that bpfsattach >>> returns. the manpage likely isnt clear. the diff below fixes it. >>> >>> ive also added a bpf_tap_hdr funct

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Landry Breuil
On Wed, Jan 31, 2018 at 03:06:13PM -0700, Todd C. Miller wrote: > On Wed, 31 Jan 2018 20:44:10 +0100, Landry Breuil wrote: > > > the default etc/syslog.conf has a commented out example for by-prog > > logging, but nothing for by-host logging. I fighted a bit with it; so > > why not providing an ex