Re: faq/current.html: Mention sudo removal

2015-07-07 Thread sven falempin
On Mon, Jul 6, 2015 at 8:14 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: On Sun, Jul 05, 2015 at 05:52:54PM -0600, Theo de Raadt wrote: Why is sudo being removed from base? It is pretty useful. I imagine many use sudo Sorry, we are making room in the tree so that lynx can come

Re: [patch] vi: fix file modified more recently than this copy ... error

2015-07-07 Thread Todd C. Miller
I prefer this diff instead. - todd Index: usr.bin/vi/common/exf.c === RCS file: /cvs/src/usr.bin/vi/common/exf.c,v retrieving revision 1.36 diff -u -p -u -r1.36 exf.c --- usr.bin/vi/common/exf.c 24 Apr 2015 21:48:31 -

Re: Small in6_addr2scopeid() tweak

2015-07-07 Thread Todd C. Miller
On Tue, 07 Jul 2015 15:56:35 +0200, Martin Pieuchot wrote: Now that packet headers include the interface index of their receiving interface, pass it directly to in6_addr2scopeid(). This does not change anything with regards to the scopeid hack but it reduces the number of if_get(). OK, but

Kill arp_ifinit()?

2015-07-07 Thread Martin Pieuchot
Maybe not yet but at least I'd like to do the ARP request a bit later. We create a RTF_LOCAL route entry for every configured address. So use this information to emit a who-has for the configured address. This also has the advantage of *not* sending an ARP request if something wrong happens

Re: unwritable PKG_CACHE directory

2015-07-07 Thread Craig Skinner
On 2015-07-06 Mon 23:08 PM |, Chris Bennett wrote: If you want to have a writable PKG_CACHE, why not do something simple like /home/dude/pkg_cache? $ printenv PKG_CACHE /var/cache/pkgs $ ls -lod /var/cache /var/cache/pkgs drwxr-xr-x 8 root wheel nodump 512 May 28 21:57 /var/cache/

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Sebastien Marie
On Tue, Jul 07, 2015 at 10:37:34AM +0200, Stefan Sperling wrote: On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. Yes,

[patch] unsync between ctype and wctype

2015-07-07 Thread Sebastien Marie
Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. The problem is _C_ctype_ (in gen/ctype_.c) and _DefaultRuneLocale (in locale/runetable.c) define differently characters class for char = 0x80. After

Re: [patch] vi: fix file modified more recently than this copy ... error

2015-07-07 Thread patrick keshishian
ping? On 6/9/15, patrick keshishian sids...@boxsoft.com wrote: Hi, Noticed a regression with vi and recent changes to timespec data types. To reproduce, run vi without a file name to edit. Try save buffer via :w and you'll be presented by following message: file modified more recently

regress locale/check_isw

2015-07-07 Thread Sebastien Marie
Hi, While working on regress test for locale, I saw check_isw regress test have same message for isgraph/islower ('6'). Discriminate the both, and renumerate tests. Comments ? OK ? Please note the regress test is currently failing. I hope to fix it soon. -- Sebastien Marie Index:

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Stefan Sperling
On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Hi, _C_ctype_ (ctype) and _DefaultRuneLocale.rl_runetype (wctype) are currently unsynced, resulting regress/lib/libc/locale/check_isw to failed. The problem is _C_ctype_ (in gen/ctype_.c) and _DefaultRuneLocale (in

Re: [patch] vi: fix file modified more recently than this copy ... error

2015-07-07 Thread patrick keshishian
On 7/7/15, Todd C. Miller todd.mil...@courtesan.com wrote: I prefer this diff instead. Thanks. I too like this better. --patrick - todd Index: usr.bin/vi/common/exf.c === RCS file: /cvs/src/usr.bin/vi/common/exf.c,v

Re: unwritable PKG_CACHE directory

2015-07-07 Thread Marc Espie
On Mon, Jul 06, 2015 at 07:15:06PM -0600, Dale Lindskog wrote: It is discouraged but possible to run pkg_add(1) with -n or -s as a user other than root. However, if pkg_add(1) does not have write permission to $PKG_CACHE, then unclear error messages are produced. For example: $ ls -ld

Re: Pure L2TP client upload performance

2015-07-07 Thread Sergey Ryazanov
2015-06-26 9:20 GMT+03:00 Claudio Jeker cje...@diehard.n-r-g.com: On Fri, Jun 26, 2015 at 04:59:32AM +0300, Sergey Ryazanov wrote: Hello, during building l2tp tunnel with xl2tpd-1.3.1 I was faced with its too low upload performance. When download, the speed is 20 mbit/s at nearly

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Todd C. Miller
On Tue, 07 Jul 2015 10:51:22 +0200, Sebastien Marie wrote: New patch with lines removed. Makes sense. OK millert@ - todd

Re: unifdef IN6_IFSTAT_STRICT

2015-07-07 Thread Todd C. Miller
On Tue, 07 Jul 2015 15:51:12 +0200, Martin Pieuchot wrote: I'd like to remove this 16 years old define. We always used the correct behavior. My goal is to reduce the uses of if_get(). Ok? I'm in favor of fewer useless knobs. OK millert@. - todd

Re: [libressl] Improve XMPP protocol support for starttls on s_client

2015-07-07 Thread Stuart Henderson
On 2015/07/06 13:40, Landry Breuil wrote: Hi, i'm not an ssl hacker at all, but while debugging openssl -starttls issues against an xmpp server, i stumbled upon https://rt.openssl.org/Ticket/Display.html?id=2860user=guestpass=guest which fixes some issue with -starttls xmpp and adds the

Re: Fix some titles

2015-07-07 Thread Pavel Plamenov
Updated patch, paying more attention to style. Index: plus52.html === RCS file: /cvs/www/plus52.html,v retrieving revision 1.11 diff -u -p -r1.11 plus52.html --- plus52.html 2 Jul 2015 05:49:04 - 1.11 +++ plus52.html 7 Jul

Fix some titles

2015-07-07 Thread Pavel Plamenov
Fix some titles and make others more descriptive. Index: plus52.html === RCS file: /cvs/www/plus52.html,v retrieving revision 1.11 diff -u -p -r1.11 plus52.html --- plus52.html 2 Jul 2015 05:49:04 - 1.11 +++ plus52.html 7

Re: [patch] unsync between ctype and wctype

2015-07-07 Thread Roland Kammerer
On Tue, Jul 07, 2015 at 09:25:30AM +0200, Sebastien Marie wrote: Note I am unsure on a point: the array is defined to be _CACHED_RUNES (18 = 256) elements in size. Here the initialisation is for 128 elements. int tab[256] = {0, 1, 2, ..., 126, 127}; Should the rest of the array be

Re: Fix some titles

2015-07-07 Thread Nick Holland
On 07/07/15 06:34, Pavel Plamenov wrote: Updated patch, paying more attention to style. Index: plus52.html ... yep, I like those. Thanks! Nick. === RCS file: /cvs/www/plus52.html,v retrieving revision 1.11 diff -u -p -r1.11

Re: unwritable PKG_CACHE directory

2015-07-07 Thread Chris Bennett
On Mon, Jul 06, 2015 at 10:15:20PM -0600, Dale Lindskog wrote: On Mon, 6 Jul 2015, Chris Bennett wrote: If you don't have root access, should you really be installing packages? It is impossible to install packages when you are not root. pkg_add won't let you. This isn't about

unifdef IN6_IFSTAT_STRICT

2015-07-07 Thread Martin Pieuchot
I'd like to remove this 16 years old define. We always used the correct behavior. My goal is to reduce the uses of if_get(). Ok? Index: netinet6/frag6.c === RCS file: /cvs/src/sys/netinet6/frag6.c,v retrieving revision 1.60 diff

Re: nsd.conf in /etc/changelist

2015-07-07 Thread Antoine Jacoutot
On Sun, May 17, 2015 at 11:42:24AM +0200, Tim van der Molen wrote: nsd.conf may contain keys, so store its checksum only. Also update the path to unbound's root.key. Thanks Tim, committed. I did change /var/unbound/db/root.key to be stored as a checksum as well. Index: changelist

Small in6_addr2scopeid() tweak

2015-07-07 Thread Martin Pieuchot
Now that packet headers include the interface index of their receiving interface, pass it directly to in6_addr2scopeid(). This does not change anything with regards to the scopeid hack but it reduces the number of if_get(). Ok? Index: netinet/udp_usrreq.c

Re: [libressl] Improve XMPP protocol support for starttls on s_client

2015-07-07 Thread Landry Breuil
On Tue, Jul 07, 2015 at 01:35:00PM +0100, Stuart Henderson wrote: On 2015/07/06 13:40, Landry Breuil wrote: Hi, i'm not an ssl hacker at all, but while debugging openssl -starttls issues against an xmpp server, i stumbled upon