Re: A system without interface?

2014-10-14 Thread Martin Pieuchot
On 08/10/14(Wed) 14:29, Martin Pieuchot wrote: I'm looking after the uses of the global list of interface. These ones are pointless, you always have at least one interface on your system. Ok? Anyone? Index: netinet/raw_ip.c

Re: A system without interface?

2014-10-14 Thread Mike Belopuhov
On 14 October 2014 11:01, Martin Pieuchot mpieuc...@nolizard.org wrote: On 08/10/14(Wed) 14:29, Martin Pieuchot wrote: I'm looking after the uses of the global list of interface. These ones are pointless, you always have at least one interface on your system. Ok? Anyone? looks good to

Re: A system without interface?

2014-10-14 Thread Claudio Jeker
On Tue, Oct 14, 2014 at 11:01:46AM +0200, Martin Pieuchot wrote: On 08/10/14(Wed) 14:29, Martin Pieuchot wrote: I'm looking after the uses of the global list of interface. These ones are pointless, you always have at least one interface on your system. Ok? Anyone? OK. But we should

Make loopattach() panic [was Re: A system without interface?]

2014-10-14 Thread Martin Pieuchot
On 14/10/14(Tue) 14:18, Claudio Jeker wrote: On Tue, Oct 14, 2014 at 11:01:46AM +0200, Martin Pieuchot wrote: On 08/10/14(Wed) 14:29, Martin Pieuchot wrote: I'm looking after the uses of the global list of interface. These ones are pointless, you always have at least one interface on

Re: mpe patch: use rt_ifa_{add,del}

2014-10-14 Thread Rafael Zalamena
On Wed, Oct 08, 2014 at 06:54:14PM -0300, Rafael Zalamena wrote: On Wed, Oct 08, 2014 at 09:22:44AM +0200, Martin Pieuchot wrote: On 07/10/14(Tue) 18:44, Rafael Zalamena wrote: On Sat, Oct 04, 2014 at 07:39:03PM -0300, Rafael Zalamena wrote: On Thu, Oct 02, 2014 at 02:36:12PM +0200,

Replace LibreSSL times() call

2014-10-14 Thread Jonas 'Sortie' Termansen
Hi, I noticed libressl's apps.c is using times(3), which is among the functions I am aggressively deprecating in my personal system. This patch switches it to use the clock_gettime and getrusage instead. I pondered using CLOCK_VIRTUAL rather than getrusage, but it turned out to be not be

app_tminterval callers use redundant constants

2014-10-14 Thread Jonas 'Sortie' Termansen
Hi, The app_tminterval utility function in apps.c has a first parameter that is either TM_START or TM_STOP as defined in apps.h. The two files that use this function disregard those constants and define their own along with their own wrapper utility wrapper function. This patch keeps the wrapper

CLOCK_VIRTUAL

2014-10-14 Thread Jonas 'Sortie' Termansen
Hi, I noticed clock_gettime(2) describes a CLOCK_VIRTUAL clock that measures how long a process has run in user-space. However, it is not implemented in sys/kern/kern_time.c where it fails with EINVAL in the default switch case. It does seem to be implemented in FreeBSD and NetBSD along with a