Re: [PATCH] mv -P

2018-05-05 Thread attila
Theo de Raadt wrote: > >"Theo de Raadt" wrote: > >> attila wrote: > >> > Hi tech@, > >> > > >> > I frequently want to move a file from one place to another and shred > >> > the original via the rm(1) -P option. On seve

Re: [PATCH] mv -P

2018-04-29 Thread attila
"Theo de Raadt" wrote: > attila wrote: > > Hi tech@, > > > > I frequently want to move a file from one place to another and shred > > the original via the rm(1) -P option. On several occasions I have > > forgotten about wanting to shred the origina

[PATCH] mv -P

2018-04-28 Thread attila
worth it and should just be dealt with using a shell alias, but to me this feels cleaner. Feedback most welcome as always. Pax, -A -- https://haqistan.net/~attila | attila@{stalphonsos.com,haqistan.net} pgp: 0x62A729CF | C2CE 2487 03AC 4C2F 101D 09C1 4068 D5D5 62A7 29CF diff --git a/bin/mv/mv.1

jot(1) bugs, test suite

2016-07-25 Thread attila
me. Pax, -A -- http://haqistan.net/~attila | att...@stalphonsos.com | 0x62A729CF ? 3test.sh Index: Makefile === RCS file: Makefile diff -N Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ Makefile 22 Jul 2016 21:15:38 - @@ -0,0 +1,11 @@

Re: [patch] netcat: don't call report_connect() when family == AF_UNIX

2016-05-28 Thread attila
ages | nc -vkU -l ~/.xlog_socket >> nc: getnameinfo: Invalid argument >> >> The attached patch fixes the issue: >> >> $ tail -10f /var/log/messages | \ >> /usr/obj/usr.bin/nc/nc -vkU -l ~/.xlog_socket >> Connection on /home/attila/.xlog_so

Re: [patch] netcat: don't call report_connect() when family == AF_UNIX

2016-05-28 Thread attila
ages | nc -vkU -l ~/.xlog_socket >> nc: getnameinfo: Invalid argument >> >> The attached patch fixes the issue: >> >> $ tail -10f /var/log/messages | \ >> /usr/obj/usr.bin/nc/nc -vkU -l ~/.xlog_socket >> Connection on /home/attila/.xlog_so

[patch] netcat: don't call report_connect() when family == AF_UNIX

2016-05-28 Thread attila
patch fixes the issue: $ tail -10f /var/log/messages | \ /usr/obj/usr.bin/nc/nc -vkU -l ~/.xlog_socket Connection on /home/attila/.xlog_socket received! Feedback, comments most welcome. Pax, -A -- http://haqistan.net/~attila | att...@stalphonsos.com | 0x62A729CF Index: netcat.c

Re: [patch] Add percentage done to fsck_ffs SIGINFO output

2016-05-25 Thread attila
attila writes: > Hi tech@, > > The subject says it all. I find myself doing this in my head as I hit > ^T when fsck'ing. FreeBSD has this, NetBSD does not, FWIW... > Whoops, that's wrong. NetBSD does have it, it looks like FreeBSD in this regard. Sorry for

[patch] Add percentage done to fsck_ffs SIGINFO output

2016-05-25 Thread attila
nough that fsck took long enough to sneak a ^T in there). Pax, -A -- http://haqistan.net/~attila | att...@stalphonsos.com | 0x62A729CF Index: pass1.c === RCS file: /cvs/src/sbin/fsck_ffs/pass1.c,v retrieving revision 1.43 diff -u -p -

Re: Scheduler hack for multi-threaded processes

2016-03-26 Thread attila
er, this patch is > an absolute must. > > Let's not start a flame war here, just throwing in my five cents. "Flame war" has added meaning in my case :-). > Kudos to Martin. > > -j. I appreciate all the great work as always. OpenBSD ru

Re: [PATCH] pkg-config compare() fails for libevent (at least)

2015-08-14 Thread attila
attila writes: > Jasper Lievisse Adriaanse writes: > >> On Thu, Aug 13, 2015 at 04:09:02PM -0500, attila wrote: >>> >>> Jasper Lievisse Adriaanse writes: >>> >>> > On Tue, Aug 11, 2015 at 01:20:24PM -0500, attila wrote: >>> >

Re: [PATCH] pkg-config compare() fails for libevent (at least)

2015-08-14 Thread attila
Jasper Lievisse Adriaanse writes: > On Thu, Aug 13, 2015 at 04:09:02PM -0500, attila wrote: >> >> Jasper Lievisse Adriaanse writes: >> >> > On Tue, Aug 11, 2015 at 01:20:24PM -0500, attila wrote: >> >> Hello tech@, >> &

Re: [PATCH] pkg-config compare() fails for libevent (at least)

2015-08-13 Thread attila
Jasper Lievisse Adriaanse writes: > On Tue, Aug 11, 2015 at 01:20:24PM -0500, attila wrote: >> Hello tech@, >> >> On the 6 Aug snap I ran into this issue: >> >> $ pkg_info | grep libevent >> libevent-2.0.22 event notification library >>

[PATCH] pkg-config compare() fails for libevent (at least)

2015-08-11 Thread attila
Hello tech@, On the 6 Aug snap I ran into this issue: $ pkg_info | grep libevent libevent-2.0.22 event notification library $ pkg-config --atleast-version=2.0.1 libevent && echo yes Argument "22-stabl" isn't numeric in numeric eq (==) at /usr/bin/pkg-config line 662. yes So it wor

[PATCH] Man pages: usbd_open_pipe(9), usbd_close_pipe(9)

2015-05-02 Thread attila
). Comments, feedback most welcome. Pax, -A P.S. I f'ing love mandoc. Just sayin... -- att...@stalphonsos.com | http://trac.haqistan.net/~attila keyid E6CC1EDB | 4D91 1B98 A210 1D71 2A0E AC29 9677 D0A6 E6CC 1EDB Index: Mak

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-16 Thread attila
Martin Pieuchot writes: > On 15/04/15(Wed) 10:46, attila wrote: >> Martin Pieuchot writes: >> >> > On 14/04/15(Tue) 15:22, attila wrote: >> >> Martin Pieuchot writes: >> >> >> >> >> >> static cons

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-15 Thread attila
Martin Pieuchot writes: > On 14/04/15(Tue) 15:22, attila wrote: >> Martin Pieuchot writes: >> >> >> >> static const struct usb_devno ualea_devs[] = { >> >> { USB_VENDOR_ARANEUS, USB_PRODUCT_ARANEUS_ALEA } >> >> }; >> > &g

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-14 Thread attila
Martin Pieuchot writes: > On 14/04/15(Tue) 07:40, attila wrote: >> [...] >> Feedback most welcome. > > See below. > >> /* -*- mode:c; tab-width:8; indent-tabs-mode:t; c-basic-offset:8 -*- */ > > We do not include editor settings in files, the first line

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-14 Thread attila
ab-width:8; indent-tabs-mode:t; c-basic-offset:8 -*- */ /* * Copyright (c) 2006 Alexander Yurchenko * Copyright (c) 2007 Marc Balmer * Copyright (C) 2015 attila * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provide

Re: [NEW] Driver for the Araneus Alea II USB TRNG

2015-04-13 Thread attila
Hi tech@, Ping? attila writes: > Hi tech@, > > I've written a driver for the Araneus Alea II USB TRNG: > http://www.araneus.fi/products/alea2/en/ > > It produces 100kbit/sec of entropy, which my driver stuffs into > add_true_randomness(). A small thing, but mayb

[NEW] Driver for the Araneus Alea II USB TRNG

2015-04-10 Thread attila
,0 +1,265 @@ +/* -*- mode:c; tab-width:8; indent-tabs-mode:t; c-basic-offset:8 -*- */ +/* + * Copyright (C) 2015 by attila + * + * Permission to use, copy, modify, and/or distribute this software + * for any purpose with or without fee is hereby granted, provided + * that the above copyright notice