Re: [Patch] security: check ed25519 private key

2014-04-21 Thread Jérémie Courrèges-Anglas
Loganaden Velvindron lo...@elandsys.com writes: On Mon, Apr 21, 2014 at 04:20:03PM +0200, Fritjof Bornebusch wrote: Hi tech@, here is a small diff, that checks if the ~/.ssh/id_ed25519 private key has the right permissions. That's seems good to me. But then the .ssh/id* entries aren't

Re: py-openssl breakage

2014-04-21 Thread Jérémie Courrèges-Anglas
Stuart Henderson st...@openbsd.org writes: On 2014/04/21 20:36, Jérémie Courrèges-Anglas wrote: Speaking of py-openssl, here's a diff to remove the EGD methods. OK, please go ahead. There's one test that fails, I haven't investigated

Re: [PATCH] www/faq/current.html tweak

2014-04-22 Thread Jérémie Courrèges-Anglas
Committed, thanks. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

bpf(4) obsolete data-link levels

2014-04-22 Thread Jérémie Courrèges-Anglas
If I'm not mistaken, we had no drivers left that use those types? (I've only found references to the now defunct pdq and midway.) Index: bpf.c === RCS file: /cvs/src/sys/net/bpf.c,v retrieving revision 1.92 diff -u -p -p -u -r1.92

Re: [PATCH] remove macros only used once

2014-04-22 Thread Jérémie Courrèges-Anglas
Bob Beck b...@obtuse.com writes: I will be a minute reading this. The comment from the context at the bottom of the diff has me laughing and crying again... Note that asn1_mac.h is installed... On Tue, Apr 22, 2014 at 5:43 PM, Dirk Engling erdge...@erdgeist.org wrote: remove

Re: [patch complete.c] never read variables

2014-04-23 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: Hi tech, matchlen = 0; is never used. Committed, thanks. Fritjof Index: complete.c === RCS file: /cvs/src/usr.bin/ftp/complete.c,v retrieving revision 1.26 diff -u -p -r1.26

Re: [patch ping.c] replace malloc memset with calloc

2014-04-23 Thread Jérémie Courrèges-Anglas
Florian Obser flor...@openbsd.org writes: On Tue, Apr 22, 2014 at 03:08:45PM -0400, pe...@petermalone.org wrote: Thanks Florian team. Please review the following diff. tab vs. space, more in sync with ping6 OK? ok. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE

ping/ping6 minor cleanup

2014-04-23 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Florian Obser flor...@openbsd.org writes: On Tue, Apr 22, 2014 at 03:08:45PM -0400, pe...@petermalone.org wrote: Thanks Florian team. Please review the following diff. tab vs. space, more in sync with ping6 OK? ok. Some changes I'd

[RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Hi, I don't like AI_ADDRCONFIG. It's useless as specified, and making it useful requires interpretations and deviations. My understanding is that its goal is to solve a real world problem, as in avoiding useless and potentially harmful DNS requests. So why not make it do that, and just that?

What's the pid of the pagedaemon - intro(2)

2014-05-02 Thread Jérémie Courrèges-Anglas
I don't know when this changed, but the information below seems no longer relevant. ok? Index: intro.2 === RCS file: /cvs/src/lib/libc/sys/intro.2,v retrieving revision 1.48 diff -u -p -p -u -r1.48 intro.2 --- intro.2 21 Jan

Re: Annoying emacs variable in if_spppsubr.c

2014-05-02 Thread Jérémie Courrèges-Anglas
Henning Brauer lists-openbsdt...@bsws.de writes: I don't think that kind of stuff has any place in our tree whatsoever. everybody inserting such hints for his/her favorite editor...? All other occurrences of 'Local Variables' in the base tree were in source imported from elsewhere or in

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Simon Perreault si...@per.reau.lt writes: Le 2014-05-02 04:13, Jérémie Courrèges-Anglas a écrit : I don't like AI_ADDRCONFIG. It's useless as specified, and making it useful requires interpretations and deviations. Can you justify this? Sounds to me like a blanket statement

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Simon Perreault si...@per.reau.lt writes: Le 2014-05-02 10:48, Jérémie Courrèges-Anglas a écrit : Let's say you have a machine with no IPv6 address configured (or rather, only link-local addresses configured and ::1 on lo0). With the AI_ADDRCONFIG flag (either set explicitely or assumed

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Paul de Weerd we...@weirdnet.nl writes: On Fri, May 02, 2014 at 05:35:13PM +0200, Jérémie Courrèges-Anglas wrote: | If you're running on a host without IPv6, why would you want | getaddrinfo() to return any IPv6 results? What good would it do to you? | | What's a regular OpenBSD host

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Simon Perreault si...@per.reau.lt writes: [...] Has this caused any real-world problems? All the examples I've listed above are cases where programs that used no hints will now fail. I think they're valid, real-world cases. Some bugs

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Paul de Weerd we...@weirdnet.nl writes: On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: | | What's a regular OpenBSD host with no IPv6? I'd assume that it is | | a host that can perform IPv6 connections to ::1 / localhost and reach | | its neighbors through link

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Henning Brauer lists-openbsdt...@bsws.de writes: * Paul de Weerd we...@weirdnet.nl [2014-05-02 21:20]: On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: [connectivity via link-local] | Not really, I'm puzzled by your question. It works and has always | worked but I

Questions about C (was: Re: malloc in libssl/src/apps)

2014-05-05 Thread Jérémie Courrèges-Anglas
Matthew Dempsky matt...@dempsky.org writes: On Mon, May 5, 2014 at 3:56 PM, Alexander Hall alexan...@beard.se wrote: I believe a similar situation could appear with not explicitly initialized global or static declarations, e.g. in sbin/fsirand/fsirand.c: fsirand(char *device) {

Re: Kill {nd6_,}useloopback

2014-05-06 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: Using the loopback interface for local traffic is not optional. I wonder if anybody using IPv6 ever turned this sysctl off. I'd be interested to hear from you and see your routing table if you did it. Otherwise, the diff below removes the

Re: m-m_pkthdr.rcvif dereference

2014-05-06 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: Diff below reduce the number of m-m_pkthdr.rcvif usage in icmp{,6} code. Should introduce no functional change but that will help me with upcoming pointer - index conversion. ok? yup [...] -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293

ftp(1) SSL_CTX memory leak(s)

2014-05-06 Thread Jérémie Courrèges-Anglas
Forgotten diff... For https connections which involve redirections, ftp(1) needlessly re-initializes libssl/libcrypto. It also creates, but doesn't free, a new SSL_CTX structure at each url_get() call. This diff makes ftp(1) perform this work lazily, and reuses the same SSL_CTX for subsequent

Re: [PATCH] comparison between signed and unsigned in rcs

2014-05-07 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: [...] Does no one want to check the diff and give me some feedback? Regardless of the content of your diff, the date of your mail was: Date: Tue, 6 May 2014 22:57:57 +0200 I doubt there are developers that are paid full-time to improve rcs,

Re: [Patch] Add router alert option to igmp packets

2014-05-07 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: Hello Florian, On 26/04/14(Sat) 22:22, Florian Riehm wrote: On 04/26/14 20:35, Alexander Bluhm wrote: /* * To avoid byte-swapping the same value over and over again. */ FreeBSD has code matching this

Re: [PATCH] comparison between signed and unsigned in rcs

2014-05-09 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: Hi tech, Hi, if I compile rcs, gcc prints a few warnings like this: - comparison between signed and unsigned - signed and unsigned type in conditional expression I'm not quite sure if the typecasts are at the correct place, but these diffs

Re: [PATCH] rcs: free pointer

2014-05-10 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: Hi tech, if ci uses a user defined revision number the pointer was just set to NULL and not freed correctly. Makes sense to me, ok? I'll probably commit tomorrow if I hear no objection. fritjof Index: ci.c

recvmsg, fd passing and soreceive

2014-05-14 Thread Jérémie Courrèges-Anglas
Hi, Initially, I just wanted to try the examples in CMSG_DATA(3). They are a bit incomplete, so I had to guess a few things. This is the result of my tests: #include sys/types.h #include sys/socket.h #include sys/uio.h #include sys/wait.h #include err.h #include errno.h #include limits.h

Re: rtadvd prints error on receiving RA with Route Information

2014-05-14 Thread Jérémie Courrèges-Anglas
Redirecting this to tech@ Consus has confirmed this fixed his issue. I plan to commit it this week-end if I hear no objection. j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Thanks for the detailed report. This diff makes rtadvd aware of route info messages on the listening side

Re: recvmsg, fd passing and soreceive

2014-05-14 Thread Jérémie Courrèges-Anglas
Matthew Dempsky matt...@dempsky.org writes: On Wed, May 14, 2014 at 4:58 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: if (cmsg-cmsg_len == CMSG_LEN(sizeof(int)) cmsg-cmsg_level == SOL_SOCKET cmsg

Re: NOINET6 by default

2014-05-14 Thread Jérémie Courrèges-Anglas
Paul de Weerd we...@weirdnet.nl writes: [...] This makes a whole lot of sense to me. Please make OpenBSD the first OS to do (this part of) v6 in a sensible way. Actually that makes me laugh. Sensible, weeeh. Let's protect our users from the dangers of IPv6 link-local addresses! Wait, what

Re: recvmsg, fd passing and soreceive

2014-05-19 Thread Jérémie Courrèges-Anglas
Claudio Jeker cje...@diehard.n-r-g.com writes: [...] I wonder what other systems do with regard to fd passing with empty messages. I always had the feeling that this is not allowed but I never looked deeper into the standards defining this. I don't which standard does actually define this.

Re: c_rehash doesn't exist.

2014-05-25 Thread Jérémie Courrèges-Anglas
Jason McIntyre j...@kerhand.co.uk writes: On Sun, May 25, 2014 at 03:02:18PM +0200, Alexander Schrijver wrote: c_rehash doesn't exist in OpenBSD and remove a history lesson which is either not aplicable anymore or was never true. hmm, two things for the price of one. since we don;t have

Re: [PATCH] remove dirty if from rlog.c

2014-05-26 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: Hi tech, Hello, Fritjof, there is a dirty if statement in rlog.c, that checks if there is a valid locker, state or writer and returns if not. With help from jca - thanks for that - I removed the dirty if statement and check for valid data in

Re: PRU_BIND in raw ip

2014-05-28 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: Diff below replace in_iawithaddr() + in_broadcast() - ifa_ifwithaddr(), that does the same for IPv4 since broadcast addresses are added to the tree. This prevents listeners to bind on 255.255.255.255, something allowed with the current code.

Re: [PATCH]unnecessary return in arc4random

2014-05-31 Thread Jérémie Courrèges-Anglas
Fritjof Bornebusch frit...@alokat.org writes: Am I wrong? Nope. Committed, thanks. On Thu, May 22, 2014 at 04:30:03PM +0200, Fritjof Bornebusch wrote: Hi tech, does this return makes any sense, because it's a void function and the return is at the end of the function. fritjof

Re: PRU_BIND in raw ip

2014-06-02 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: On 28/05/14(Wed) 09:30, Jérémie Courrèges-Anglas wrote: Martin Pieuchot mpieuc...@nolizard.org writes: Diff below replace in_iawithaddr() + in_broadcast() - ifa_ifwithaddr(), that does the same for IPv4 since broadcast addresses are added

Re: in_pcbbind() and in_broadcast/in_iawithaddr

2014-06-03 Thread Jérémie Courrèges-Anglas
Martin Pieuchot mpieuc...@nolizard.org writes: [...] Update diff below, is this one ok? Looks correct; ok. [...] -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: diff: Fix udp_usrreq.c to compile without IPSEC.

2014-06-23 Thread Jérémie Courrèges-Anglas
YASUOKA Masahiko yasu...@yasuoka.net writes: ok? ok Fix compile without IPSEC. Pointed out by Ivan Solonin. Index: sys/netinet/udp_usrreq.c === RCS file: /disk/cvs/openbsd/src/sys/netinet/udp_usrreq.c,v retrieving revision

Re: NOINET6 by default

2014-06-23 Thread Jérémie Courrèges-Anglas
Henning Brauer lists-openbsdt...@bsws.de writes: since no consensus could be found yet for a new command line option to ifconfig, heck, not even about wether it is needed, I propose this for now. I didn't reply to your proposal but since you've just committed the ifconfig part, I think I

Re: NOINET6 by default

2014-06-23 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Henning Brauer lists-openbsdt...@bsws.de writes: since no consensus could be found yet for a new command line option to ifconfig, heck, not even about wether it is needed, I propose this for now. I didn't reply to your proposal but since

Re: FSTAB usage in quotacheck

2014-07-22 Thread Jérémie Courrèges-Anglas
Martin Natano nat...@natano.net writes: FSTAB has been deprecated in favor of _PATH_FSTAB in 4.4BSD. It's time to let go of it. Below the diff I committed to Bitrig. Make sense and looks innocuous to me, I'll commit it tomorrow unless I hear objections. Thanks, cheers, natano Replace

Re: FSTAB usage in quotacheck

2014-07-22 Thread Jérémie Courrèges-Anglas
Martin Natano nat...@natano.net writes: FSTAB has been deprecated in favor of _PATH_FSTAB in 4.4BSD. It's time to let go of it. Below the diff I committed to Bitrig. cheers, natano Committed, thanks. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: Small geoloc daemon

2014-08-10 Thread Jérémie Courrèges-Anglas
Gustav Fransson Nyvell gus...@nyvell.se writes: [...] No. You begin with an RFC. Really? Besides, an RFC for what, imsg communication? Again I can't see the point of your posts, and I'm not alone. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: syslogd ipv6 getnameinfo

2014-08-20 Thread Jérémie Courrèges-Anglas
Alexander Bluhm alexander.bl...@gmx.net writes: On Tue, Aug 19, 2014 at 01:59:42AM +0200, Alexander Bluhm wrote: I will split this diff into smaller parts to make review and discussion easier. Replace gethostbyaddr(3) with getnameinfo(3). Note that I remove the sigprocmask() that was added

Re: ftp, proxies, and https

2014-08-21 Thread Jérémie Courrèges-Anglas
Alex Wilson a...@cooperi.net writes: [...] This patch seems to fix it, with some quick testing (with and without proxy). Thanks for your patch, which looks fine. Here's a tweaked version that allocates and frees sslhost in both proxy and non-proxy cases. ok? Index: fetch.c

Re: ftp, proxies, and https

2014-08-21 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Alex Wilson a...@cooperi.net writes: [...] This patch seems to fix it, with some quick testing (with and without proxy). Thanks for your patch, which looks fine. Here's a tweaked version that allocates and frees sslhost in both proxy

Re: Fix for POSIX conformance issue

2014-09-17 Thread Jérémie Courrèges-Anglas
Todd C. Miller todd.mil...@courtesan.com writes: I have no objection to this but I don't think the System-V setpgrp() API belongs in compat-43. We can just move it to gen/setpgrp.c. Like Ted says, we should ready the source tree first by using setpgid(). However, all the uses of setpgrp()

Re: uuidgen port from FreeBSD for inclusion in OpenBSD base

2014-10-18 Thread Jérémie Courrèges-Anglas
Why do you post publicly a private mail without asking first? Looks like my first impression about you was right. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: fsck vs fsck_ffs WHAT'S THE DIFFERENCE?

2013-06-18 Thread Jérémie Courrèges-Anglas
for consistency. [...] fsck_ffs(8): [...] DESCRIPTION fsck_ffs performs interactive file system consistency checks and repairs for each file system specified. It is normally invoked from fsck(8). [...] Thanks, Max Power. YOU'RE WELCOME! -- Jérémie Courrèges-Anglas PGP Key

Re: help X11 performance: make sigprocmask(2) SY_NOLOCK

2013-06-19 Thread Jérémie Courrèges-Anglas
*namebuf); } #ifdef ACCOUNTING -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: SSLHonorCipherOrder for OpenBSD's httpd

2013-07-07 Thread Jérémie Courrèges-Anglas
by the Apache 2.0 licence? -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: man.conf(5) _subdir search order

2013-07-13 Thread Jérémie Courrèges-Anglas
and their commands. # Note the order: .Z must come after .[1-9n].Z, or it will match first. -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: ldd.c - plug memleak

2013-07-14 Thread Jérémie Courrèges-Anglas
David Hill dh...@mindcry.org writes: Hello - Hi, doit() was not free()'ing memory or close()'ing the file descriptor if realpath() failed or dlopen() returned NULL. This diff just moves close() and free() up once we are done using them. Makes sense. ok? Index: ldd/ldd.c

Re: ldconfig/prebind.c - remove dead assignments

2013-07-14 Thread Jérémie Courrèges-Anglas
David Hill dh...@mindcry.org writes: remove unused variables. Makes sense. ok? Index: ldconfig/prebind.c === RCS file: /cvs/src/libexec/ld.so/ldconfig/prebind.c,v retrieving revision 1.20 diff -u -p -r1.20 prebind.c ---

awk(1) update

2013-07-14 Thread Jérémie Courrèges-Anglas
This diff updates awk to the 20121220 upstream version, with a few fixups. ok? Index: FIXES === RCS file: /cvs/src/usr.bin/awk/FIXES,v retrieving revision 1.16 diff -u -p -r1.16 FIXES --- FIXES 28 Sep 2011 19:27:18 -

Re: ldconfig/prebind.c - remove dead assignments

2013-07-14 Thread Jérémie Courrèges-Anglas
Kenneth R Westerback kwesterb...@rogers.com writes: On Sun, Jul 14, 2013 at 09:23:53AM +0200, J??r??mie Courr??ges-Anglas wrote: David Hill dh...@mindcry.org writes: remove unused variables. Makes sense. ok? [...] lseek(fd, -((off_t)sizeof(struct prebind_footer)), SEEK_END);

Re: add nl(1)

2013-07-14 Thread Jérémie Courrèges-Anglas
Todd C. Miller todd.mil...@courtesan.com writes: On Mon, 20 May 2013 12:43:19 +0300, Arto Jonsson wrote: Updated diff. I removed the int width handling and modified the separator printing based on your comment. That looks good to me. - todd I propose to import it. ok? (+ a note about

Re: ldconfig/prebind.c - remove dead assignments

2013-07-14 Thread Jérémie Courrèges-Anglas
Kenneth R Westerback kwesterb...@rogers.com writes: On Sun, Jul 14, 2013 at 05:56:46PM +0200, J??r??mie Courr??ges-Anglas wrote: Kenneth R Westerback kwesterb...@rogers.com writes: On Sun, Jul 14, 2013 at 03:13:32PM +0200, J??r??mie Courr??ges-Anglas wrote: Kenneth R Westerback

Re: ldconfig/prebind.c - remove dead assignments

2013-07-14 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: [...] len = read(fd, footer, sizeof(struct prebind_footer)); + if (len = -1 len sizeof(struct prebind_footer)) { I think this condition is incorrect. It checks whether len is in the [-1; 80] range. Err, [-1; 79] (inclusive

Re: awk(1) update

2013-07-14 Thread Jérémie Courrèges-Anglas
http://www.gnu.org/software/gawk/manual/html_node/Unexpected-Results.html#Unexpected-Results Yup. Cheers, Mark Regards, -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: add nl(1)

2013-07-16 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Todd C. Miller todd.mil...@courtesan.com writes: On Mon, 20 May 2013 12:43:19 +0300, Arto Jonsson wrote: Updated diff. I removed the int width handling and modified the separator printing based on your comment. That looks good to me

Re: Fix of sysctl.c rev. 1.191 related bug and unbreak diskless(8)

2013-07-16 Thread Jérémie Courrèges-Anglas
; + mib[3] = indx + 1; size = sizeof vfc; if (sysctl(mib, 4, vfc, size, (void *)0, (size_t)0) 0) { if (errno != EOPNOTSUPP) That makes sense? It does make sense to me. ok jca@ -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961

Re: ksh global PWD env variable

2013-07-21 Thread Jérémie Courrèges-Anglas
(bash, ksh93, dash) do export PWD by default (ok, not ksh88...). Do we really ant to be different from almost other shells? -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: awk(1) update

2013-09-08 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Mark Kettenis mark.kette...@xs4all.nl writes: From: j...@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=) Date: Sun, 14 Jul 2013 09:41:28 +0200 This diff updates awk to the 20121220 upstream version, with a few fixups

Re: awk(1) update

2013-09-08 Thread Jérémie Courrèges-Anglas
Miod Vallat m...@online.fr writes: So here's the same diff without the negative 0.0 change. Update which: - marks some functions as __dead (instead of upstream __attribute__((__noreturn__))) - fixes split(a[1], a). ok? FIXES still lists the setfval change, which you did not include.

Re: nouveau driver help

2013-10-04 Thread Jérémie Courrèges-Anglas
(Redirecting to tech@) Roelof Wobben rwob...@hotmail.com writes: Hello, Hi, To enjoy Gnome 3.10 fully I need the nouveau driver. But because this is my first attempt to make a port, I wonder if someone can and is willing to help me. I don't think that porting nouveau is a ports people

ping(8) and SO_DEBUG

2013-11-11 Thread Jérémie Courrèges-Anglas
Today I heard someone struggling while trying to understand the meaning and possible uses of the -d ping(8) flag. Looking at the code it seems that SO_DEBUG has no effect on a raw socket (right?), so I thought that it would be better to document that. ok? Index: ping.8

Re: ping(8) and SO_DEBUG

2013-11-11 Thread Jérémie Courrèges-Anglas
Mark Kettenis mark.kette...@xs4all.nl writes: From: j...@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=) Date: Mon, 11 Nov 2013 16:31:08 +0100 Today I heard someone struggling while trying to understand the meaning and possible uses of the -d ping(8) flag. Looking at the

sppp/pppoe on sparc64

2013-12-11 Thread Jérémie Courrèges-Anglas
As reported by on bugs@[1]. I had a longer diff but got no reply so let's try to get this in first. ok? [1] http://marc.info/?l=openbsd-bugsm=138513728419554w=2 Index: if_spppsubr.c === RCS file: /cvs/src/sys/net/if_spppsubr.c,v

Re: Small fixup for smtpd.conf.5

2013-12-12 Thread Jérémie Courrèges-Anglas
Brett Mahar br...@coiloptic.org writes: Hi, Hi, This points me in the right direction so I'm less confused. ok? Well, deliver to mda has exactly the same issue. I'd say that format specifiers could use their own subsection. While here I propose to replace \ by \(dq, as advised by

Re: Make OpenCVS compile again

2013-12-13 Thread Jérémie Courrèges-Anglas
Vadim Zhukov persg...@gmail.com writes: This patch addresses two problems: 1) Usage of getdirentries() - seriously. 2) 64-bit-time_t fix. time_t should be printed with %ll? plus a (long long) cast. Now, I don't see any (long long) cast in the whole OpenCVS code, and GNU cvs uses %08lx and

Re: Make OpenCVS compile again

2013-12-13 Thread Jérémie Courrèges-Anglas
Vadim Zhukov persg...@gmail.com writes: Vadim Zhukov persg...@gmail.com writes: This patch addresses two problems: 1) Usage of getdirentries() - seriously. 2) 64-bit-time_t fix. time_t should be printed with %ll? plus a (long long) cast. Now, I don't see any (long long) cast in

Re: abstract the is multi-threaded? test in kernel

2013-12-14 Thread Jérémie Courrèges-Anglas
John Carr j...@mit.edu writes: Why does a rarely called function need to be inline? Well... Testing whether a process is (currently) done by checking whether the process's thread list has a single item. This is currently done in just two places, but I expect to need this in more places,

Re: security(8) check maildir as well as mailbox permissions

2013-12-18 Thread Jérémie Courrèges-Anglas
skin...@britvault.co.uk (Craig R. Skinner) writes: On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: Check the security of /var/mail/dirs similar to /var/mail/boxes: Indeed, but security(8) really reflects things in the base OS, smtpd.conf(8) deliver to maildir path

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Jérémie Courrèges-Anglas
Marcus MERIGHI mcmer-open...@tor.at writes: [...] By default it's supposed to be in $HOME/Maildir: smtpd.conf(5) deliver to maildir path [snip what's quoted above] If path is not provided, then ~/Maildir is assumed. Bye, Marcus We are aware of this. Now read again the previous

ftp(1) SSL/TLS server certificate validation

2013-12-19 Thread Jérémie Courrèges-Anglas
All the code is under #ifndef SMALL, except for the getopt(3) goo; I saw no size increase in the on-disk file, and build-checked that the ramdisks still fit on i386. Validation error messages straight from OpenSSL. ok? Index: fetch.c

Re: Weird loop in ftp client

2013-12-19 Thread Jérémie Courrèges-Anglas
Maxime Villard m...@m00nbsd.net writes: Is there something wrong with this patch? Nope, there is something wrong with ftp(1) and how it recovers from the error. I'll commit this tomorrow unless someone disagrees. Le 29/11/2013 20:44, Maxime Villard a écrit : What about that? Index: ftp.c

Re: security(8) check maildir as well as mailbox permissions

2013-12-21 Thread Jérémie Courrèges-Anglas
skin...@britvault.co.uk (Craig R. Skinner) writes: On 2013-12-21 Sat 09:16 AM |, Theo de Raadt wrote: You seem to be coming from the perspective that people do stupid things, and our base system should handle those stupid things. My perspective is maildir (backed IMAP) is commonly

install more openssl manpages

2013-12-22 Thread Jérémie Courrèges-Anglas
I was looking for X509_VERIFY_PARAM_set_flags and couldn't find the relevant manpage. I added a bunch more but there are other possible candidates: crypto/BIO_new_CMS.pod crypto/CMS_add0_cert.pod crypto/CMS_add1_recipient_cert.pod crypto/CMS_compress.pod

Re: sha512 program

2013-12-23 Thread Jérémie Courrèges-Anglas
Ted Unangst t...@tedunangst.com writes: 1. bigger is better. make a link to sha512. 2. simplify md5.c. there's really only two modes. 3. add a note to sha256.1 about sha512. I didn't go through and copy all the text -- I would hope people can figure it out. Looks fine. Please see below.

Re: small ssh refinements

2013-12-23 Thread Jérémie Courrèges-Anglas
Ted Unangst t...@tedunangst.com writes: Part one of this diff eliminates a series of u_long casts in favor of just using native size_t types. A few other type adjustments. Wouldn't that make ssh harder to port to systems where those types aren't available? See for example millert's last

Re: awk(1) update

2014-01-09 Thread Jérémie Courrèges-Anglas
Miod Vallat m...@online.fr writes: So here's the same diff without the negative 0.0 change. Update which: - marks some functions as __dead (instead of upstream __attribute__((__noreturn__))) - fixes split(a[1], a). ok? FIXES still lists the setfval change, which you did not include.

fuse_opt_parse(), constify param

2014-01-20 Thread Jérémie Courrèges-Anglas
Hi, The reference FUSE implementation defines fuse_opt_parse's third argument as const. At least fuse-zip[1] needs this. follow. ok? [1] https://code.google.com/p/fuse-zip/ Index: fuse_opt.c === RCS file:

Re: fuse_opt_parse(), constify param

2014-01-20 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: Hi, The reference FUSE implementation defines fuse_opt_parse's third argument as const. At least fuse-zip[1] needs this. follow. Scratch that. 8) [...] -- jca | PGP: 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: panic: __mp_lock_held(sched_lock) 2013-DEC-27 snapshot

2014-01-28 Thread Jérémie Courrèges-Anglas
patrick keshishian sids...@boxsoft.com writes: On Tue, Jan 28, 2014 at 09:02:31PM -0800, Philip Guenther wrote: On Tue, Jan 28, 2014 at 4:55 PM, patrick keshishian sids...@boxsoft.com wrote: Not sure if anyone is interested in this panic as the snapshot is a bit old. Happend while

SNI support for ftp(1)

2014-03-27 Thread Jérémie Courrèges-Anglas
Thanks sthen@ for noticing it, ftp(1) doesn't perform SNI, Server Name Indication. (try eg. https://www.stunnel.org/) Here's a diff to improve the situation (first and last hunks). While I can get some eyes for a review, let's add some more changes. ;) Second hunk: SSLeay_add_ssl_algorithms()

Re: SNI support for ftp(1)

2014-03-29 Thread Jérémie Courrèges-Anglas
Philip Guenther guent...@gmail.com writes: On Thu, Mar 27, 2014 at 3:33 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: Thanks sthen@ for noticing it, ftp(1) doesn't perform SNI, Server Name Indication. (try eg. https://www.stunnel.org/) Here's a diff to improve the situation (first

Re: SNI support for ftp(1)

2014-03-29 Thread Jérémie Courrèges-Anglas
Stuart Henderson st...@openbsd.org writes: On 2014/03/28 22:09, Philip Guenther wrote: On Thu, Mar 27, 2014 at 3:33 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: Thanks sthen@ for noticing it, ftp(1) doesn't perform SNI, Server Name Indication. (try eg. https://www.stunnel.org

Re: test diff: unmap needs flags

2012-04-18 Thread Jérémie Courrèges-Anglas
Hi. It has survived a system build and daily use so far. kern.version=OpenBSD 5.1-current (GENERIC) #0: Mon Apr 16 02:24:16 CEST 2012 j...@moo.wxcvbn.org:/usr/src/sys/arch/i386/compile/GENERIC

Re: cwm tiling

2012-06-08 Thread Jérémie Courrèges-Anglas
Antoine Jacoutot ajacou...@bsdfrog.org writes: I for one would love cwm to have tiling management. I don't care avout the alternative, they are not in base. Same here. -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

tmux and login shells

2012-06-20 Thread Jérémie Courrèges-Anglas
something important. :P Regards. -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494 (Replaces last use of literal tmux by .Nm, btw) Index: names.c === RCS file: /home/cvs/src/usr.bin/tmux/names.c

Re: tmux and login shells

2012-06-21 Thread Jérémie Courrèges-Anglas
shells should be the default. Users that *want* tmux to spawn login shells can already use the -l switch or set tmux as their login shell, my diff does take care of not clobbering this feature, I think. Regards. -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1

Re: tinyscheme + mg

2012-06-28 Thread Jérémie Courrèges-Anglas
) { + p=name; + } else { + p++; + } + (void)strlcpy(init_fn,init_,sizeof(init_fn)); + (void)strlcat(init_fn,p,sizeof(init_fn)); Same here. +} + + +/* +Local variables: +c-file-style: kr +End: +*/ [...] -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961

Re: drm@macppc, please test

2012-12-06 Thread Jérémie Courrèges-Anglas
. :) -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: identd(8) can exit on bad input

2013-02-28 Thread Jérémie Courrèges-Anglas
Sorry for the noise, this one is completely wrong. I'll submit another patch when I have more time to think properly.

Re: touch(1) doesn't act as expected: One for JMC

2013-03-04 Thread Jérémie Courrèges-Anglas
-Followup-To[2] header and indenting ( 80 chars) this part of your mails would help. [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html [2] http://cr.yp.to/proto/replyto.html -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: whois: add -P for peeringdb

2013-03-05 Thread Jérémie Courrèges-Anglas
Nice, that would be one alias less in my .kshrc. :) -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: find(1) manpage bug

2013-03-13 Thread Jérémie Courrèges-Anglas
Alexander Hall alexan...@beard.se writes: find(1) claims -follow is the same as -H, which is wrong. Indeed, but this confusion is present twice in the manpage. OK? /Alexander Index: find.1 === RCS file:

Re: find(1) manpage bug

2013-03-13 Thread Jérémie Courrèges-Anglas
Alexander Hall alexan...@beard.se writes: On 03/13/13 19:17, Jérémie Courrèges-Anglas wrote: Alexander Hall alexan...@beard.se writes: find(1) claims -follow is the same as -H, which is wrong. Indeed, but this confusion is present twice in the manpage. I don't know the history myself

[PATCH] make Sendmail documentation easier to build

2013-03-14 Thread Jérémie Courrèges-Anglas
Hi, while the various README files are helpful, not everyone has the bat book at hand for more complex questions. Here's a diff to update the doc/op/Makefile and make it useful to people who have groff installed. The Makefile is just a slightly tweaked version from upstream, I have also updated

Re: [PATCH] make Sendmail documentation easier to build

2013-03-14 Thread Jérémie Courrèges-Anglas
Jason McIntyre j...@kerhand.co.uk writes: On Thu, Mar 14, 2013 at 12:59:22PM +0100, Jérémie Courrèges-Anglas wrote: Hi, while the various README files are helpful, not everyone has the bat book at hand for more complex questions. Here's a diff to update the doc/op/Makefile and make

  1   2   3   >