Re: pppoe(4), add example for ipv6

2014-10-23 Thread Andres Perera
[What I'm pointing out below looks like a mistake regardless of the variables in scope.] On Wed, Oct 22, 2014 at 1:40 AM, Henning Brauer hb-openbsdt...@ml.bsws.de wrote: * Chris Cappuccio ch...@nmedia.net [2014-10-22 01:11]: Stuart Henderson [st...@openbsd.org] wrote: Any comments on the diff

Re: malloc in libssl/src/apps

2014-05-04 Thread Andres Perera
On Sun, May 4, 2014 at 5:00 PM, Alexander Hall alexan...@beard.se wrote: On 05/04/14 21:50, Jean-Philippe Ouellet wrote: On Sun, May 04, 2014 at 12:17:16PM -0600, Theo de Raadt wrote: We are going to completely ignore diffs which change multiple idioms at once. Okay. That is how

Re: rs, jot: missing headers

2014-04-11 Thread Andres Perera
On Fri, Apr 11, 2014 at 7:02 PM, Ralph Siegler rsieg...@rsiegler.org wrote: On Thu, 10 Apr 2014 21:55:13 -0700, Philip Guenther wrote: On Thu, Apr 10, 2014 at 7:14 PM, Ralph Siegler rsieg...@rsiegler.org wrote: On Thu, 14 Nov 2013 23:17:24 -0500, Eitan Adler wrote: I was looking through some

Re: rs, jot: missing headers

2014-04-11 Thread Andres Perera
On Fri, Apr 11, 2014 at 10:27 PM, Ralph Siegler rsieg...@rsiegler.org wrote: On Fri, 11 Apr 2014 19:27:03 -0430, Andres Perera wrote: On Fri, Apr 11, 2014 at 7:02 PM, Ralph Siegler rsieg...@rsiegler.org wrote: On Thu, 10 Apr 2014 21:55:13 -0700, Philip Guenther wrote: On Thu, Apr 10, 2014

Re: pax / tar exit code on truncated input

2014-04-04 Thread Andres Perera
On Fri, Apr 4, 2014 at 2:12 PM, Philip Guenther guent...@gmail.com wrote: On Fri, Apr 4, 2014 at 11:27 AM, Marco Pfatschbacher m...@mailq.de wrote: On Thu, Apr 03, 2014 at 05:19:45PM -0600, Theo de Raadt wrote: Interesting. Can we take bath approaches? I don't see why we should not. Is

Re: Weird loop in ftp client

2013-11-24 Thread Andres Perera
On Sun, Nov 24, 2013 at 12:11 PM, sven falempin sven.falem...@gmail.comwrote: On Sat, Nov 23, 2013 at 5:47 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: On 2013/11/23 14:39, sven falempin wrote: Hello, Another point of vue : Because curl is in base, what does ftp client

Re: Weird loop in ftp client

2013-11-24 Thread Andres Perera
On Sun, Nov 24, 2013 at 7:29 PM, sven falempin sven.falem...@gmail.com wrote: On Sun, Nov 24, 2013 at 5:57 PM, Andres Perera andre...@zoho.com wrote: On Sun, Nov 24, 2013 at 12:11 PM, sven falempin sven.falem...@gmail.com wrote: On Sat, Nov 23, 2013 at 5:47 PM, Theo de Raadt dera

Re: Mention -I option in cvs update synopsis

2013-08-21 Thread Andres Perera
-l for cvs update is a boolean option that doesn't take an operand On Wed, Aug 21, 2013 at 5:38 PM, Vadim Zhukov persg...@gmail.com wrote: This adds a mention of -I name option for cvs update command in its synopsis. Okay? -- WBR, Vadim Zhukov Index: man/cvs.1

Re: switch /usr/share/locale to different layout

2013-05-30 Thread Andres Perera
On Thu, May 30, 2013 at 3:35 PM, Stefan Sperling s...@openbsd.org wrote: I've received several requests for adding new locale names, both on this list, and off-list, from several people. I've been trying to find a way to keep /usr/share/locale reasonably clean while also allowing people to

Re: switch /usr/share/locale to different layout

2013-05-30 Thread Andres Perera
On Thu, May 30, 2013 at 11:49 PM, Stefan Sperling s...@openbsd.org wrote: On Thu, May 30, 2013 at 05:18:48PM -0430, Andres Perera wrote: As I mentioned, there's code that expects the prior layout, and that's confusing. on src/lib/libc/locale/setlocale.c, load_locale_sub() : 228

src `make obj` wrongly uses dirs instead of symlinks

2013-04-22 Thread Andres Perera
When BSDSRCDIR is set through /etc/mk.conf or ${MAKECONF} to something other than the default of /usr/src, make obj won't use symlinks for `obj' in the affected directories. Index: distrib/luna88k/Makefile.inc === RCS file:

Re: [patch] tic man page file path error

2013-03-23 Thread Andres Perera
i see now that src/lib/libcurses has other defines for tic, i apologize to both

Re: LC_CTYPE for spanish speaking countries

2013-03-22 Thread Andres Perera
Instead of perpetuating the idea that the number of locales is a precious resource tied to directory entries, the routines could parse the user supplied string instead of working with a table of all possible permutations of ll_CC.CTYPE. This means simplification for the build system,

Re: LC_CTYPE for spanish speaking countries

2013-03-22 Thread Andres Perera
On Fri, Mar 22, 2013 at 7:12 AM, Stefan Sperling s...@openbsd.org wrote: On Fri, Mar 22, 2013 at 06:54:24AM -0430, Andres Perera wrote: Instead of perpetuating the idea that the number of locales is a precious resource tied to directory entries, the routines could parse the user supplied

Re: LC_CTYPE for spanish speaking countries

2013-03-20 Thread Andres Perera
On Wed, Mar 20, 2013 at 2:50 PM, Stefan Sperling s...@openbsd.org wrote: On Tue, Mar 19, 2013 at 06:44:59PM -0500, Vladimir Támara Patiño wrote: +#http://en.wikipedia.org/wiki/List_of_countries_where_Spanish_is_an_official_language +ES_COUNTRIES= AR BO CH CO CR CU DO EC ES GQ GT HN MX NI PA PE

Re: kern decrement

2013-03-19 Thread Andres Perera
On Tue, Mar 19, 2013 at 10:47 AM, Ted Unangst t...@tedunangst.com wrote: Maybe we want, maybe we don't. Here's a check to prevent a counter from going negative, which usually means an accounting mistake somewhere. On the shortcomiing side, it only catches double decrements, not missing

sudo documentation purports wrong loginclass functionality

2013-03-18 Thread Andres Perera
There are at least two instances in sudo documentation that lead to believe that `use_loginclass' and `sudo -c` behave differently than they do in the implementation WRT which of the target and calling users' loginclass gets applied. sudoers(5): 831 832 use_loginclassIf set,

Re: ksh bad PS1 ascii octal to char conversion

2013-03-02 Thread Andres Perera
On Sat, Mar 02, 2013 at 03:08:44PM -0800, Philip Guenther wrote: On Sat, 2 Mar 2013, Andres Perera wrote: On Sat, Mar 2, 2013 at 5:13 PM, Philip Guenther guent...@sendmail.com wrote: ... Hmm, this is actually changing two things: it's both fixing the problem that the code

Re: hostname.if(5) clarification

2012-11-26 Thread Andres Perera
On Mon, Nov 26, 2012 at 12:11 PM, Andres Perera andre...@zoho.com wrote: don't know about OP, but yesterday i was surprised when rtlabel had to be specified after inet just double checked; s/after/before ifconfig(8) section on rtlabel bears no mention about the order before rearranging, lines

Re: upstream vendors and why they can be really harmful

2012-11-22 Thread Andres Perera
i'm not sure how using js for configuration files, as opposed to using a language commonly deployed for the same purpose, such as lua, presents an innate constraint on security. if i'm somehow expected to ignore how unlikely it is for the configuration vm to: a. intentionally have the ability of

Re: upstream vendors and why they can be really harmful

2012-11-22 Thread Andres Perera
On Thu, Nov 22, 2012 at 11:58 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Thu, 22 Nov 2012 09:30:41 -0430 Andres Perera wrote: i'm not sure how using js for configuration files, as opposed to using a language commonly deployed for the same purpose, such as lua, presents an innate

Re: upstream vendors and why they can be really harmful

2012-11-22 Thread Andres Perera
On Thu, Nov 22, 2012 at 2:53 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Thu, 22 Nov 2012 14:18:59 -0430 Andres Perera wrote: there's still no tie-in to the privileges of the process, It still lets a process do something unintended. In fact getting a browser to execute an external

Re: upstream vendors and why they can be really harmful

2012-11-22 Thread Andres Perera
On Thu, Nov 22, 2012 at 11:41 PM, Marc Espie es...@nerim.net wrote: On Thu, Nov 22, 2012 at 01:27:46PM -0430, Andres Perera wrote: why would the runtime be attractive for rop? what configuration vm needs syscalls that would be attractive to an attacker that can change the address of a jump

Re: dc(1) exp improvements

2012-11-06 Thread Andres Perera
On Tue, Nov 6, 2012 at 3:27 PM, Otto Moerbeek o...@drijf.net wrote: Hi, And here's a diff to repair ^, whcih now produces correct results for things like (dc)0.1 _1 ^p or (bc)0.1 ^ -1 The diff is against very current, so beware. i've lightly tested it against gnu bc and it works

Re: Hibernate support

2012-07-11 Thread Andres Perera
nice would it be feasible to also compress kernel dumps once the compression logic is in place for hibernation? On Wed, Jul 11, 2012 at 11:41 AM, Mike Larkin mlar...@azathoth.net wrote: Hibernate support (suspend-to-disk) will be shortly enabled for i386 + wd machines. Some FAQs, before I

Re: tmux and login shells

2012-06-20 Thread Andres Perera
i agree. also disliked loginShell in xresources, but that's very easy to alter would be nice to hear an explanation from the author(s) of tmux about always perusing a login shell

Re: -not for find(1)

2012-02-27 Thread Andres Perera
linux does worth pointing out that some tests in old firefox ports (maybe still there) failed because the lack of -not On Mon, Feb 27, 2012 at 3:01 PM, Ted Unangst t...@tedunangst.com wrote: On Mon, Feb 27, 2012, Steffen Daode Nurpmeso wrote: this patch adds the -not operator to find(1). I

Re: -not for find(1)

2012-02-27 Thread Andres Perera
On Mon, Feb 27, 2012 at 3:36 PM, Landry Breuil lan...@rhaalovely.net wrote: On Mon, Feb 27, 2012 at 03:24:05PM -0430, Andres Perera wrote: linux does worth pointing out that some tests in old firefox ports (maybe still there) failed because the lack of -not Are you thinking about https

Re: etc/rc.d/spamlogd needs pflog

2011-08-06 Thread Andres Perera
On Sat, Aug 6, 2011 at 7:11 AM, Stuart Henderson s...@spacehopper.org wrote: Since pflog interface creation was moved to rc.d/pflogd, you can no longer run spamlogd without also running pflogd. This diff copies the interface creation code from pflogd (it doesn't hurt to create pflog0 twice).

Re: fdisk geom fixes

2011-07-04 Thread Andres Perera
On Mon, Jul 4, 2011 at 11:32 PM, Kenneth R Westerback kwesterb...@rogers.com wrote: On Mon, Jul 04, 2011 at 09:38:37PM -0430, Andres Perera wrote: On Mon, Jul 4, 2011 at 8:56 PM, Kenneth R Westerback kwesterb...@rogers.com wrote: The use of CHS should be hard and attempted only by those who

Re: sed behavior

2011-06-15 Thread Andres Perera
that's not relevant to the example because $ matches the empty string at eol, not the character at eol (.$), which is openbsd sed's interpretation even in the case of certain regex standards that do not allow $ to be used as part of a | expression, the interpretation is faulty On Wed, Jun 15,

Re: no really, be quiet mode for ping{,6}

2011-04-06 Thread Andres Perera
On Wed, Apr 6, 2011 at 6:30 AM, Peter Hessler phess...@openbsd.org wrote: On 2011 Apr 06 (Wed) at 12:47:40 +0200 (+0200), David Vasek wrote: :On Wed, 6 Apr 2011, Peter Hessler wrote: : :Sometimes I want ping to be quiet. B Not quiet in the only show me :headers way that the original author

Re: horribly slow fsck_ffs pass1 performance

2011-04-05 Thread Andres Perera
On Tue, Apr 5, 2011 at 7:06 AM, Janne Johansson icepic...@gmail.com wrote: /forcefsck and /fastboot have nothing to do with that they are not even administered by the fs I wasn't trying to imply the filesystem is putting the files there, nor reading them. Rather, those two files show that

Re: horribly slow fsck_ffs pass1 performance

2011-04-03 Thread Andres Perera
On Sun, Apr 3, 2011 at 4:21 AM, Janne Johansson icepic...@gmail.com wrote: 2011/4/2 Benny Lofgren bl-li...@lofgren.biz I've noticed that some (all?) linux systems do uncalled-for file system checks at boot if no check have been made recently, but I've never understood this practice. It must

printf(1) null escape

2011-04-02 Thread Andres Perera
print_escape returns 1 even if it's on null, and the rest of the prog just ignores null literals $ env -i sh -c '/usr/bin/printf \\' printf: unknown escape sequence `\' PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin diff -u -r1.17 printf.c --- printf.c27 Oct 2009 23:59:41

Re: printf(1) null escape

2011-04-02 Thread Andres Perera
#include unistd.h #define CMD /usr/bin/printf int main(void) { execle(CMD, CMD, \\, NULL, (char *[]){BROKEN, NULL}); } On Sat, Apr 2, 2011 at 4:48 AM, Andres Perera andre...@zoho.com wrote: print_escape returns 1 even if it's on null, and the rest of the prog just ignores null literals

Re: [patch] -H flag for grep.

2011-02-22 Thread Andres Perera
On Tue, Feb 22, 2011 at 12:51 PM, Pascal Stumpf pascal.stu...@cubes.de wrote: On Tue, Feb 22, 2011 at 12:52:24PM -0300, Iruatc Souza wrote: On Tue, Feb 22, 2011 at 6:08 AM, patrick keshishian sids...@boxsoft.com wrote: my that's awkward. if you can't combine unix tools, you should be

Re: [patch] -H flag for grep.

2011-02-21 Thread Andres Perera
On Mon, Feb 21, 2011 at 7:01 PM, Philip Guenther guent...@gmail.com wrote: On Mon, Feb 21, 2011 at 2:30 PM, Fred Crowson open...@crowsons.net wrote: On 02/21/11 15:54, Alexander Schrijver wrote: ... grep(1) only prints the filename when it receives more then 1 filename as arguments. Thus,

Re: Allegations regarding OpenBSD IPSEC

2011-01-03 Thread Andres Perera
On Tue, Dec 14, 2010 at 5:54 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: I have received a mail regarding the early development of the OpenBSD IPSEC stack. B It is alleged that some ex-developers (and the company they worked for) accepted US government money to put backdoors into our

Re: less stupid kshrc example

2010-10-31 Thread Andres Perera
2010-10-30 14:34 +0100, Stuart Henderson: On 2010/10/29 21:55, Andres Perera wrote: Defining a bunch of functions just to update the term title is ridiculous. I use this. Also it's a good way to find bugs in cwm :) Not sure how it would help, but the title still changes, just

Re: Ralink RT3090 should work now

2010-10-29 Thread Andres Perera
On Sun, Oct 24, 2010 at 11:14 AM, Andres Perera andre...@zoho.com wrote: On Sat, Oct 23, 2010 at 10:02 AM, Damien Bergamini damien.bergam...@free.fr wrote: I finally found some time to finish RT3090 support in ral(4). If you have such a device, please test the driver in -current and report

less stupid kshrc example

2010-10-29 Thread Andres Perera
Defining a bunch of functions just to update the term title is ridiculous. --- src/etc/ksh.kshrc.orig Fri Oct 29 21:40:51 2010 +++ src/etc/ksh.kshrc Fri Oct 29 21:51:48 2010 @@ -45,16 +45,7 @@ HOSTNAME=${HOSTNAME:-`uname -n`} HOST=${HOSTNAME%%.*} -