Re: AR8161 patch

2015-03-30 Thread Jonathan Gray
On Mon, Mar 30, 2015 at 09:52:49PM +0300, Atanas Vladimirov wrote: > Hi, > This is based on work of o...@openbsd.se and I send it to tech@ by request > from Alexey Suslikov. > As a result my "Attansic Technology AR8161" works as it should. > For more information see: > https://www.marc.info/?t=1414

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-30 Thread Theo de Raadt
>Theo de Raadt, 15 Mar 2015 12:15: >> > Yes I do. when I install machines that I dump/restore clone, I do >> > not use DUID's. it's very nice to make a system without DUID's in >> > that case. >> >> I'm sorry, but I don't understand the usage case here which blocks >> DUIDS, so let's see a better

Re: sort output file permissions

2015-03-30 Thread Alexander Bluhm
On Mon, Mar 30, 2015 at 02:29:51PM -0600, Todd C. Miller wrote: > On Mon, 30 Mar 2015 20:05:38 +0200, Alexander Bluhm wrote: > > > If an outfile exists but is not an infile, permissions are preserved. > > If an outfile exists and is also an infile, it gets 666 & ~umask. > > Do we want this inconsi

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-30 Thread Abel Abraham Camarillo Ojeda
On Mon, Mar 30, 2015 at 4:04 PM, frantisek holop wrote: > Theo de Raadt, 15 Mar 2015 12:15: >> > Yes I do. when I install machines that I dump/restore clone, I do >> > not use DUID's. it's very nice to make a system without DUID's in >> > that case. >> >> I'm sorry, but I don't understand the usa

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-30 Thread frantisek holop
Theo de Raadt, 15 Mar 2015 12:15: > > Yes I do. when I install machines that I dump/restore clone, I do > > not use DUID's. it's very nice to make a system without DUID's in > > that case. > > I'm sorry, but I don't understand the usage case here which blocks > DUIDS, so let's see a better explan

Re: sort output file permissions

2015-03-30 Thread Todd C. Miller
On Mon, 30 Mar 2015 20:05:38 +0200, Alexander Bluhm wrote: > If an outfile exists but is not an infile, permissions are preserved. > If an outfile exists and is also an infile, it gets 666 & ~umask. > Do we want this inconsistency? That's what the old sort did. It looks like GNU sort preserves t

AR8161 patch

2015-03-30 Thread Atanas Vladimirov
Hi, This is based on work of o...@openbsd.se and I send it to tech@ by request from Alexey Suslikov. As a result my "Attansic Technology AR8161" works as it should. For more information see: https://www.marc.info/?t=14148214521&r=1&w=2 https://www.marc.info/?l=openbsd-misc&w=2&r=1&s=Atheros+

Re: sort output file permissions

2015-03-30 Thread Alexander Bluhm
On Mon, Mar 30, 2015 at 10:20:33AM -0600, Todd C. Miller wrote: > I like this even better as it gets rid of the predictable temp file > name. I also removed some useless dynamic allocations. The temp > file handling in sort is still rather bad but at least this fixes > the -o flag. If an outfile

Re: ehci(4) Full-speed isochronous transfers support

2015-03-30 Thread Alexandre Ratchov
On Sat, Mar 28, 2015 at 11:29:11AM +0100, Martin Pieuchot wrote: > With the increasing number of machines shipping with rate-matching > hubs instead of companion controllers to support USB Full and Low- > speed devices, a number of people asked me if it was possible to > add support for Full-speed

libtls manpage diff

2015-03-30 Thread Tim van der Molen
- Correct title. - tls_accept_socket() also may return TLS_{READ,WRITE}_AGAIN. Index: tls_init.3 === RCS file: /cvs/src/lib/libtls/tls_init.3,v retrieving revision 1.18 diff -u -r1.18 tls_init.3 --- tls_init.3 22 Feb 2015 15:09:54 -0

tls_accept_socket() error message

2015-03-30 Thread Tim van der Molen
httpd/server.c contains the following: ret = tls_accept_socket(srv->srv_tls_ctx, &clt->clt_tls_ctx, clt->clt_s); [...] } else if (ret != 0) { log_warnx("%s: TLS accept failed - %s", __func__, tls_error(srv->srv_tls_ctx));

Re: sort output file permissions

2015-03-30 Thread Todd C. Miller
I like this even better as it gets rid of the predictable temp file name. I also removed some useless dynamic allocations. The temp file handling in sort is still rather bad but at least this fixes the -o flag. - todd Index: usr.bin/sort/sort.c =

Re: Proposed small change for ping(8) -- updated diff

2015-03-30 Thread Gregory Edigarov
Hi, After discussing with Sven Falempin changed the message to "Packet timed out" to be more exact updated diff: Index: ping.8 === RCS file: /cvs/src/sbin/ping/ping.8,v retrieving revision 1.52 diff -u -r1.52 ping.8 --- ping.8

Re: sort output file permissions

2015-03-30 Thread Todd C. Miller
How about this instead? It is more or less equivalent to what the old sort did. - todd Index: file.c === RCS file: /cvs/src/usr.bin/sort/file.c,v retrieving revision 1.3 diff -u -r1.3 file.c --- file.c 20 Mar 2015 00:26:38 -00

Re: sort output file permissions

2015-03-30 Thread Otto Moerbeek
On Mon, Mar 30, 2015 at 04:48:55PM +0200, Alexander Bluhm wrote: > On Mon, Mar 30, 2015 at 08:59:16AM +0200, Otto Moerbeek wrote: > > If you call umask(2), it's better to reset it to the old value after > > you're done. > > I reset the umask immediately after reading it. I only need the > curre

Re: sort output file permissions

2015-03-30 Thread Alexander Bluhm
On Mon, Mar 30, 2015 at 08:59:16AM +0200, Otto Moerbeek wrote: > If you call umask(2), it's better to reset it to the old value after > you're done. I reset the umask immediately after reading it. I only need the current value to use it in chmod. > But it's likely better to fchmod the file whil

Re: Remove useless lock around opendir/readdir

2015-03-30 Thread Brent Cook
> On Mar 30, 2015, at 12:11 AM, Philip Guenther wrote: > > On Fri, Mar 27, 2015 at 2:50 AM, Carlos Martín Nieto wrote: >> A call to opendir thread-safe and the readdir calls only share the buffer >> within the same directory stream, >> which is local to this function. Therefore this lock does

Re: the libressl wikipedia article is awful.

2015-03-30 Thread Jiří Navrátil
Thank you Joel. Platforms were updated by user Bspil. > 26. 3. 2015 v 14:05, Joel Sing : > > The current list of platforms supported by LibreSSL portable is available at: > > http://www.libressl.org/releases.html > >> I can also add list of removed operating systems in the text, if someone >>

Re: Proposed small change for ping(8)

2015-03-30 Thread Gregory Edigarov
ping? or no interest in this? On 03/26/2015 02:34 PM, Gregory Edigarov wrote: Hello, This makes ping -v really verbose, telling about lost packets as they progress. Index: ping.8 === RCS file: /cvs/src/sbin/ping/ping.8,v retriev

Re: sort output file permissions

2015-03-30 Thread Otto Moerbeek
On Sun, Mar 29, 2015 at 09:50:48PM +0200, Alexander Bluhm wrote: > Hi, > > While doing make makesum in the ports framework, I realized that > the distinfo file always gets permissions 0600. It uses sort -o > in a way that the output file will overwrite the input file. In > this case, sort creat