Re: asmc: constify global product table

2022-10-20 Thread Joerg Jung
On Wed, Oct 19, 2022 at 02:39:33PM +, Klemens Nanni wrote: > Looking at symbols in /bsd .data again for .rodata candidates: > 82281b70 l O .data 1688 asmc_prods > > amsc(4) never writes, but a const table requires a const softc member: > > 263 for (i = 0;

Re: apmd(8): reconnecting AC, not battery

2022-05-30 Thread Joerg Jung
> On 28. May 2022, at 16:31, Jan Stary wrote: > > On May 28 10:34:35, s...@spacehopper.org wrote: >> On 2022/05/28 06:52, Jason McIntyre wrote: >>> On Fri, May 27, 2022 at 07:19:37PM +0200, Jan Stary wrote: apmd says: When the power status changes (battery is connected or

Re: [patch] httpd remove unused struct

2020-11-18 Thread Joerg Jung
On Sat, May 23, 2020 at 07:47:20PM -0500, Edgar Pettijohn wrote: > Remove an unused struct from parse.y. Yes, this seems correct. Updated diff against -current below. OK? Index: parse.y === RCS file:

Re: smtpd: relax ORCPT check again

2020-11-18 Thread Joerg Jung
On Wed, Nov 18, 2020 at 08:57:48PM +, gil...@poolp.org wrote: > November 18, 2020 9:54 PM, "Joerg Jung" wrote: > > > Hi, > > > > in my opinion revision 1.423 of smtp_session.c went a bit too far. > > Enforcing that ORCPT has to have domain res

smtpd: relax ORCPT check again

2020-11-18 Thread Joerg Jung
Hi, in my opinion revision 1.423 of smtp_session.c went a bit too far. Enforcing that ORCPT has to have domain results in breakage in real world usage. For example, sending from root user cron jobs mails via Postfix aliased to an address handled by OpenSMTPD will fail. RFC leaves some room for

Re: acpiapplesmc(4)

2020-09-10 Thread Joerg Jung
> Am 07.09.2020 um 20:52 schrieb Mark Kettenis : >> Date: Mon, 7 Sep 2020 19:59:13 +0200 >> From: Marcus Glocker >> On Mon, 7 Sep 2020 19:25:00 +0200 (CEST) >> Mark Kettenis wrote: Date: Mon, 7 Sep 2020 12:02:15 -0500 From: joshua stein On Mon, 07 Sep 2020 at 06:58:01

Re: acpiapplesmc(4)

2020-09-10 Thread Joerg Jung
> Am 10.09.2020 um 23:28 schrieb Marcus Glocker : > > On Thu, 10 Sep 2020 23:07:15 +0200 > Joerg Jung wrote: > >>> Am 07.09.2020 um 20:52 schrieb Mark Kettenis >>> : >>>> Date: Mon, 7 Sep 2020 19:59:13 +0200 >>>> From: Marcus Glocker

Re: acpiapplesmc(4)

2020-09-10 Thread Joerg Jung
> Am 10.09.2020 um 14:09 schrieb Marcus Glocker : > > On Mon, 7 Sep 2020 21:39:55 +0200 > Marcus Glocker wrote: > >> On Mon, 7 Sep 2020 20:50:20 +0200 (CEST) >> Mark Kettenis wrote: >> Date: Mon, 7 Sep 2020 19:59:13 +0200 From: Marcus Glocker On Mon, 7 Sep 2020

Re: pf: route-to least-states

2020-07-23 Thread Joerg Jung
> On 23. Jul 2020, at 13:23, YASUOKA Masahiko wrote: > > The diff fixes 2 problems of "least-states": > > - states whose address is selected by sticky-address is not counted > for the number of states. > - interface is not selected properly if selected table entry specifies > an interface.

Re: smtpd stricter forkmda()

2020-05-04 Thread Joerg Jung
> On 4. May 2020, at 11:17, Gilles Chehade wrote: > > forkmda() is never supposed to be called with an action dispatcher which > is not local, this would indicate that the code path was abused somehow. > > idea suggested by Demi M. Obenour ok jung@ (for post-lock) > diff --git

Re: smtpd: fix catch-all in virtual aliases

2020-04-28 Thread Joerg Jung
> On 28. Apr 2020, at 10:10, gil...@poolp.org wrote: > April 28, 2020 8:55 AM, "Joerg Jung" mailto:m...@umaxx.net>> > wrote: > >> Also this change might break existing valid setups (e.g. with mailing list >> servers), but people will likely know how to c

Re: smtpd: fix catch-all in virtual aliases

2020-04-28 Thread Joerg Jung
> On 26. Apr 2020, at 18:30, Eric Faurot wrote: > > When a catch-all entry (@) is used in a virtual alias table, it > eventually (and mistakenly) catches everything that expands to a > username. For example, with: > >f...@example.com user >@catchall > >

Re: smtpd: fix report event format

2020-04-08 Thread Joerg Jung
> On 8. Apr 2020, at 17:19, Eric Faurot wrote: > > Some users had issues with report events for MAIL FROM and RCPT TO > when "|" appear in the mail address (yes, it seems to happen), because > that's also the field separator. To make parsing the report lines a > bit more straightforward, it's

Re: [patch] smtpd: fix for ctype casts

2020-02-24 Thread Joerg Jung
> On 24. Feb 2020, at 20:31, Todd C. Miller wrote: > > I have a mostly-identical patch in my tree, though I tried to improve > readability a bit. ok jung@ > - todd > > Index: usr.sbin/smtpd/mta_session.c > === > RCS file:

Re: locate.updatedb TMPDIR

2020-02-09 Thread Joerg Jung
On Sun, Feb 09, 2020 at 04:33:13PM +0100, Ingo Schwarze wrote: > > this is absolutely not OK. > > How did you test this? I changed weekly directly on the remote machine to detect and narrow down the issue and generated the diff later on my local machine source tree. >$ doas cat

Re: locate.updatedb TMPDIR

2020-02-09 Thread Joerg Jung
On Sun, Feb 09, 2020 at 04:18:52PM +0100, Ingo Schwarze wrote: > Hi Todd, > > Todd C. Miller wrote on Sun, Feb 09, 2020 at 07:52:10AM -0700: > > > I'm fine with this. > > I don't really object, but i'm not sure it is needed either. > > It's certainly obvious that command line arguments

Re: locate.updatedb TMPDIR

2020-02-08 Thread Joerg Jung
On Sun, Feb 09, 2020 at 12:33:42AM +0100, Joerg Jung wrote: > Hi, > > I have a machine with a large data storage attached, but it has only 2GB > of /tmp (which I consider enough usually). On this machine weekly > locate.updatedb fails, due to /tmp being full. To fix this I would

locate.updatedb TMPDIR

2020-02-08 Thread Joerg Jung
Hi, I have a machine with a large data storage attached, but it has only 2GB of /tmp (which I consider enough usually). On this machine weekly locate.updatedb fails, due to /tmp being full. To fix this I would like to point locate to a different TMPDIR. But it seems one can not just set

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Joerg Jung
On Sat, Feb 08, 2020 at 03:33:37PM -0700, Theo de Raadt wrote: > Jason McIntyre wrote: > > > without getting into a discussion about /etc/examples, in this case i > > personally see neither the point of the example config file (so trivial > > as to be questionable) nor the addition to the man

Re: smtpd: remove implicit listen on socket

2019-11-27 Thread Joerg Jung
> On 26. Nov 2019, at 07:44, Gilles Chehade wrote: > > hello, > > smtpd has an implicit listener which is "listen on socket". > > I propose that we write it explicitely in the default config and give up > with this last bit of implicit configuration. > > The goal behind that is to stop

remove waf from port-modules(5)

2017-05-27 Thread Joerg Jung
Hi, I think devel/waf is gone since two years and may not come back, so no need to mention in port-modules(5). OK? Regards, Joerg Index: share/man/man5/port-modules.5 === RCS file: /cvs/src/share/man/man5/port-modules.5,v

Re: Improved support for Apple trackpads: tests needed

2017-03-11 Thread Joerg Jung
On Fri, Mar 10, 2017 at 12:47:37AM +0100, Ulf Brosziewski wrote: > This patch for ubcmtp makes it use the multitouch-input functions of > wsmouse. It's the first driver that would apply the "tracking" variant > (wsmouse_mtframe). > > No wonders will result from the change, but the two-finger

Re: aml_rdpciaddr is busted

2016-10-20 Thread Joerg Jung
On Wed, Oct 19, 2016 at 09:51:47PM +0200, Mark Kettenis wrote: > The bus number it reports will be totally bogus for devices behind PCI > bridges. As a consequence AML will peek and poke at registers of the > wrong device. This is what caused the suspend issues with Joris' > Macbook. > > The

Re: video(1): use _NET_WM_STATE_FULLSCREEN

2016-09-25 Thread Joerg Jung
Am 26.09.2016 um 00:11 schrieb Dmitrij D. Czarkoff : >> The diff below fixes fullscreen mode on window managers that prevent >> applications from resizing their windows. For example, which WM? >> This is done by setting >> _NET_WM_STATE_FULLSCREEN atom. > > Ping.

Re: smtpd config parsing cleanup

2016-09-09 Thread Joerg Jung
> On 09 Sep 2016, at 13:35, Eric Faurot wrote: > > Because of the small ad hoc changes that were made here and there over > the years, the listener config code has become a bit convoluted I think. Yes. > Here is a little cleanup to: > > - have all listener creation functions

Re: Some cleanups and tweaks for wc(1)

2016-09-07 Thread Joerg Jung
> On 04 Sep 2016, at 00:06, Frederic Cambus wrote: > > Hi tech@, > > Some cleanups and tweaks for wc(1): > > - Removed unnecessary string.h include > - Changed 'format_and_print' argument type to int64_t and casting > inside the function > - Declaring 'print_counts',

Re: quiet legacy drivers on amd64

2016-08-02 Thread Joerg Jung
> Am 01.08.2016 um 23:14 schrieb joshua stein : > > are these complaints really helpful on modern machines? Can't speak for clock. But I tend to not like this for nvram. IMHO, even with recent HW this is a valid concern and reminder that someone should handle setting of the

Re: syn cache hash size sysctl

2016-07-19 Thread Joerg Jung
> Am 19.07.2016 um 23:16 schrieb Alexander Bluhm : > >> On Tue, Jul 19, 2016 at 09:48:19PM +0100, Jason McIntyre wrote: >> oh oh. i should have been clearer: they are sorted in sysctl(3), but in >> sysctl(8) they are merely listed in the order that running "sysctl" >>

Re: syn cache hash size sysctl

2016-07-19 Thread Joerg Jung
On Tue, Jul 19, 2016 at 06:13:42PM +0200, Alexander Bluhm wrote: > Hi, > > claudio@ suggested to have a tunable size for the syn cache hash > array. As we are swapping between two syn caches for random reseeding > anyway, this feature can be added easily. When the cache is empty, > we can

Re: cbfb: coreboot framebuffer console

2016-06-13 Thread Joerg Jung
Am 13.06.2016 um 12:35 schrieb Mark Kettenis : >> Date: Sun, 12 Jun 2016 11:47:37 -0500 >> From: joshua stein >> >> Here's a new version with feedback from Miod and Ted. >> >> It also fixes a bug on a Broadwell Chromebook (tested by Edward >>

Re: httpd: fix/style: unbalanced va_start and va_end macros

2016-05-08 Thread Joerg Jung
On Wed, Apr 27, 2016 at 02:43:27PM +0200, Hiltjo Posthuma wrote: > Hi, > > The following patch for httpd fixes unbalanced va_start() and va_end() macros. > This is in style with the rest of httpd. Also POSIX says: > > "Each invocation of the va_start() and va_copy() macros shall be matched by a

Re: httpd: patch for portability asprintf use

2016-05-08 Thread Joerg Jung
On Fri, May 06, 2016 at 06:48:38PM +0200, Reyk Floeter wrote: > > > On 06.05.2016, at 18:36, Theo de Raadt wrote: > > > >> If OpenBSD's behavior of asprintf is non-standard and everyone else is > >> doing it differently, we would probably have to apply the patch. But

Re: anti-ROP mechanism in libc

2016-04-25 Thread Joerg Jung
On Mon, Apr 25, 2016 at 03:23:47PM +, Robert Peichaer wrote: > On Mon, Apr 25, 2016 at 10:57:37AM -0400, Ted Unangst wrote: > > Theo de Raadt wrote: > > > + cp -p /usr/lib/$_lib /usr/lib/$_tmplib > > > + install -o root -g bin -m 0444 $_lib /usr/lib/$_lib && > >

Re: smtpd.conf(5): comma in filter chains

2016-04-10 Thread Joerg Jung
> Am 09.04.2016 um 21:33 schrieb Jason McIntyre : > >> On Sat, Apr 09, 2016 at 11:42:58AM +0200, david+bsd@dahlberg.cologne wrote: >> After quite some debugging of why the heck my smtpd.conf was not >> working after upgrading to 5.9 and substituting clamsmtp and dkim- >>

Re: rcctl ls faulty -> failed

2016-03-29 Thread Joerg Jung
On Tue, Mar 29, 2016 at 08:22:31AM -0600, Todd C. Miller wrote: > On Tue, 29 Mar 2016 15:29:27 +0200, Antoine Jacoutot wrote: > > > We'd like to rename the 'faulty' listing to 'failed'. > > i.e. rcctl ls failed > > > > 'faulty' does sound a bit weird and is not obvious to remember. > > Now the

Re: multitouch support in wsmouse 1/3

2016-03-19 Thread Joerg Jung
> On 17 Mar 2016, at 13:58, Martin Pieuchot wrote: > > On 13/03/16(Sun) 18:37, Ulf Brosziewski wrote: >> The diffs below are a rewrite of the input-processing part of wsmouse. It >> adds support for multitouch input. >> >> I have split the set of diffs into three parts and I

Re: OpenSMTPD and mask-source flag.

2016-02-13 Thread Joerg Jung
On Fri, Feb 12, 2016 at 05:00:59PM -0500, Peter Bisroev wrote: > > Just in case the previous diff is OK, I am attaching the patch to the > > smtpd.conf man page. > > Hi Gilles, > > I apologize, my previous manpage diff did not include the information > regarding > the fact that connections

Re: can't run multiple instances of httpd, flags not visible in processes

2016-02-01 Thread Joerg Jung
On Mon, Feb 01, 2016 at 07:24:39PM +, Stuart Henderson wrote: > On 2016/02/01 15:02, Joerg Jung wrote: > > What about smtpd, should be similar, no? > > This would do the trick. It loses the getrlimit/setrlimit dance that > config_process() normally does, but I'm not sure

Re: can't run multiple instances of httpd, flags not visible in processes

2016-02-01 Thread Joerg Jung
> On 01 Feb 2016, at 14:53, Stuart Henderson wrote: > > moved from misc. > > On 2016-01-28, Antoine Jacoutot wrote: >>> Well, we "tradionally" had setproctitle("[priv]") in the parent. I >>> changed the tradition to setproctitle("parent"). >>>

Re: [PATCH] uname, arch/machine -> %c, %a update in PKG_PATH

2016-01-31 Thread Joerg Jung
On Mon, Jan 11, 2016 at 03:40:17PM +, Raf Czlonka wrote: > Hi all, > > Given that PKG_PATH and pkg.conf(5)'s installpath, now supports %c, %a, > etc. sequences, it might be worth advertising it a bit more by changing > all relevant uname(1), arch(1)/machine(1) occurrences or (hard-coded >

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-30 Thread Joerg Jung
On Wed, Jan 27, 2016 at 05:20:59AM +0200, Sviatoslav Chagaev wrote: > On Sun, 10 Jan 2016 21:28:31 +0100 Joerg Jung wrote: > > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > > So below is a driver for TI LP8550. > ... > > > If there's an

Re: Use HTML entities when referring to tables in www/opensmtpd/faq/example1.html

2016-01-24 Thread Joerg Jung
On Sat, Jan 23, 2016 at 10:21:38PM +, Michael Savage wrote: > The page at http://www.openbsd.org/opensmtpd/faq/example1.html doesn't > display correctly because browsers try to interpret / > as HTML tags. This patch replaces < and > with and . This fix was committed by TJ. I also fixed two

Re: security(8) mailbox check question

2016-01-23 Thread Joerg Jung
On Sat, Jan 23, 2016 at 08:31:09PM +0100, Ingo Schwarze wrote: > Hi, > > the smtpd(8) daemon supports "deliver to maildir" out of the box, > and even though putting the user maildirs below /var/mail/ is not > the default, it's one of many possible and logical choices, and i > see nothing wrong

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-10 Thread Joerg Jung
On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > Hi, > > I'm running -current on Apple MacBook Air 6,2. I installed using Jasper's > instructions [1], OpenBSD is the only OS and boots via EFI. > > I'm experiencing a problem with LCD backlight: on wakeup from suspend, the >

Re: ifconfig: rm not need variable noprint

2016-01-01 Thread Joerg Jung
On Wed, Dec 30, 2015 at 05:24:27PM +0100, Fabian Raetz wrote: > Hi tech@, > > this patch removes the 'noprint' variable which was added to ifconfig.c in > rev 1.216 > and is not in use since rev. 1.220. Committed, thanks! > Cheers, > Fabian > > > Index: sbin/ifconfig/ifconfig.c >

Re: asmc(4) improvements

2015-12-22 Thread Joerg Jung
On Mon, Dec 21, 2015 at 10:38:24PM +0100, Mark Kettenis wrote: > The asmc(4) driver is a bit slow. On my MacBookPro12,1 it takes a > couple of minutes to probe all the sensors. And changing the keyboard > backlight takes a couple of seconds. This is especially annoying when > you're writing a

Re: preparing multitouch support - request for tests

2015-12-16 Thread Joerg Jung
On Wed, Dec 16, 2015 at 02:32:44AM +0100, Ulf Brosziewski wrote: > Ping? No further thoughts on this, no tests? Do I have to conclude that > most people are happy with wsmouse as it is? Yes and no. As I told you earlier, I think your diffs contain some very good work and are required for further

Re: patch 1/4 add generic keyboard backlight support

2015-12-11 Thread Joerg Jung
Ping. Anyone? > On 07 Dec 2015, at 23:39, Joerg Jung <m...@umaxx.net> wrote: > > Hi, > > here comes a series of small diffs which add generic support for > keyboard backlights. > > Please find below the first diff, which adds new ioctls to wskbd(4) to

Re: patch 1/4 add generic keyboard backlight support

2015-12-11 Thread Joerg Jung
> Am 11.12.2015 um 10:27 schrieb Ville Valkonen <weezeld...@gmail.com>: > >> On 11 December 2015 at 10:36, Joerg Jung <m...@umaxx.net> wrote: >> Ping. Anyone? >> >> > On 07 Dec 2015, at 23:39, Joerg Jung <m...@umaxx.net> wrote: >> >

Re: [patch] mailwrapper: remove broken fallback code

2015-12-08 Thread Joerg Jung
> On 08 Dec 2015, at 10:39, Sunil Nimmagadda wrote: > >> If /etc/mailer.conf doesn't exist, mailwrapper tries to run sendmail, >> giving a confusing error message: >> >> mailwrapper: cannot exec /usr/libexec/sendmail/sendmail: No such >> file or directory >> >> This

Re: patch 3/4 add generic keyboard backlight support

2015-12-08 Thread Joerg Jung
On Tue, Dec 08, 2015 at 10:48:47PM +0100, Mark Kettenis wrote: > > Date: Mon, 7 Dec 2015 23:44:13 +0100 > > From: Joerg Jung <m...@umaxx.net> > > > > Hi, > > > > here comes the third part of the series for generic keyboard backlight > > suppo

Re: [PATCH] ukbd.c cleanup and mba iso support

2015-12-08 Thread Joerg Jung
On Tue, Dec 08, 2015 at 10:12:38PM +0100, Joerg Jung wrote: > On Thu, Aug 06, 2015 at 09:58:56PM +0200, Joerg Jung wrote: > > On Wed, Feb 18, 2015 at 10:33:57PM -0800, William Orr wrote: > > > > > > Any interest? > > > > I'm interested in this. Y

Re: [PATCH] ukbd.c cleanup and mba iso support

2015-12-08 Thread Joerg Jung
Hi, ...back on this topic. On Thu, Aug 06, 2015 at 09:58:56PM +0200, Joerg Jung wrote: > On Wed, Feb 18, 2015 at 10:33:57PM -0800, William Orr wrote: > > > > Any interest? > > I'm interested in this. Your diff looks reasonable, so I applied it and > it compiled fine

patch 2/4 add generic keyboard backlight support

2015-12-07 Thread Joerg Jung
Hi, here comes the second part of the series for generic keyboard backlight support. Please find below the userland part which adds a backlight variable to wsconsctl(8). I have chosen to use the percentage format, so it looks like this: $ doas wsconsctl keyboard.backlight=80

patch 1/4 add generic keyboard backlight support

2015-12-07 Thread Joerg Jung
Hi, here comes a series of small diffs which add generic support for keyboard backlights. Please find below the first diff, which adds new ioctls to wskbd(4) to control keyboard backlights. In contrast to an earlier diff from jcs, I have chosen to use a struct in favor of a simple (unsigned)

patch 3/4 add generic keyboard backlight support

2015-12-07 Thread Joerg Jung
Hi, here comes the third part of the series for generic keyboard backlight support. Please find below a diff which adds they key(code)s for keyboard backlight control, as found on all recent Intel based Apple Laptop Keyboards. While here, also add keys for display brightness control found on

patch 4/4 add keyboard backlight support to asmc(4)

2015-12-07 Thread Joerg Jung
Hi, here comes another diff of the series for the keyboard backlight support. Please find below a diff which enables keyboard backlight control on Intel Apple Laptops via asmc(4). This diff uses introduced wskbd(4) hooks from previously sent diffs and also introduces locking and minor

Re: calloc -> malloc in get_data() and get_string()

2015-10-28 Thread Joerg Jung
> Am 28.10.2015 um 17:05 schrieb Michael McConville : > > Relayd, httpd, and ntpd define the functions get_data() and > get_string(). Both call calloc and then immediately memcpy. Calloc's > zeroing isn't optimized out. These functions are called in network data > paths in at

Re: WAPBL implementation

2015-10-23 Thread Joerg Jung
On Fri, Oct 23, 2015 at 01:19:15PM -0200, Walter Neto wrote: > Like recommended from other developers I started developing WAPBL support for > OpenBSD. > > Looking at NetBSD and Bitrig I mage a first funcional patch. Wow... that is a big diff :) Care to elaborate in some more words what

Re: CVS: cvs.openbsd.org: src

2015-10-23 Thread Joerg Jung
On Wed, Sep 30, 2015 at 06:07:54PM +0200, Joerg Jung wrote: > On Wed, Sep 30, 2015 at 05:13:31PM +0200, Martijn van Duren wrote: > > On 09/30/15 14:15, Joerg Jung wrote: > > > Thanks! Although it does add about 5-10 seconds to my boot-time, waiting > > primarily for

Re: ftp: ctype interfaces need unsigned chars

2015-10-11 Thread Joerg Jung
> Am 11.10.2015 um 04:38 schrieb Philip Guenther : > >> --- smtpd/rfc2822.c >> +++ /tmp/cocci-output-29655-69b554-rfc2822.c >> @@ -93,13 +93,13 @@ parser_feed_header(struct rfc2822_parser >>char*pos; >> >>/* new header */ >> -if (! isspace(*line) &&

Re: CVS: cvs.openbsd.org: src

2015-10-04 Thread Joerg Jung
On Wed, Sep 30, 2015 at 06:07:54PM +0200, Joerg Jung wrote: > On Wed, Sep 30, 2015 at 05:13:31PM +0200, Martijn van Duren wrote: > > > > What I find somewhat strange is that although the dmesg says it has "2 > > lights", it only shows one illuminance sensor in my

Re: CVS: cvs.openbsd.org: src

2015-10-04 Thread Joerg Jung
On Sun, Oct 04, 2015 at 09:20:06PM +0200, Mark Kettenis wrote: > > Here is what I get on the Macmini 1,1 now: > > asmc0 at isa0 port 0x300/32 > asmc0: rev 1.3f503, 137 keys, 5 temperatures, 1 fan, 0 lights, kbdled Thanks for testing! I think printing "0 lights" is not very useful, so I will

Re: CVS: cvs.openbsd.org: src

2015-09-30 Thread Joerg Jung
On Wed, Sep 30, 2015 at 05:13:31PM +0200, Martijn van Duren wrote: > On 09/30/15 14:15, Joerg Jung wrote: > >CVSROOT: /cvs > >Module name: src > >Changes by: j...@cvs.openbsd.org2015/09/30 06:15:12 > > > >Modified files: > > share/man/man4 : isa

asmc(4) new driver for Apple SMC

2015-09-26 Thread Joerg Jung
@@ -0,0 +1,62 @@ +.\"$OpenBSD: $ +.\" +.\" Copyright (c) 2015 Joerg Jung <j...@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" co

Re: [patch] httpd: fcgi/PATH_INFO not handled correctly

2015-09-05 Thread Joerg Jung
On Sun, Aug 30, 2015 at 08:40:57PM +0200, Joerg Jung wrote: > On Wed, Aug 26, 2015 at 08:23:22PM +0200, Denis Fondras wrote: > > Hello, > > > > While using httpd together uwsgi and Flask, I noticed that GET requests to / > > returned 404. The same setup w

Re: PF ignores block action when rule contains route-to/dup-to action

2015-09-01 Thread Joerg Jung
> On 01 Sep 2015, at 14:31, Alexandr Nedvedicky > wrote: > >>> As a side effect the patch breaks block rules with dup-to action. dup-to >>> action as a part of block rule might make some sense... So if there is >>> someone, who really needs block ... dup-to he

Re: [patch] httpd: fcgi/PATH_INFO not handled correctly

2015-08-30 Thread Joerg Jung
On Wed, Aug 26, 2015 at 08:23:22PM +0200, Denis Fondras wrote: Hello, While using httpd together uwsgi and Flask, I noticed that GET requests to / returned 404. The same setup with nginx was returning 200. The culprit is that PATH_INFO is not set when REQUEST_URI is /. The following patch

Re: [PATCH] PF: cksum modification refactor [1/24]

2015-08-30 Thread Joerg Jung
On Sun, Aug 30, 2015 at 06:22:14PM +1200, Richard Procter wrote: * constify local aliases - enables compilation to verify they are never reassigned ok? Your next patch [2/24] does remove this line, so no need for this one, right? to apply: $ cd /usr/src/sys $ cat - | patch

Re: [PATCH] PF: cksum modification refactor [2/24]

2015-08-30 Thread Joerg Jung
On Sun, Aug 30, 2015 at 06:22:30PM +1200, Richard Procter wrote: * Remove local aliases saddr, daddr - eases refactoring later on I fail to see how yet, but ... [...] ok? ... with the assumption that the above statement will become true in the bigger picture, ok jung@ to apply:

Re: [PATCH] ukbd.c cleanup and mba iso support

2015-08-06 Thread Joerg Jung
On Wed, Feb 18, 2015 at 10:33:57PM -0800, William Orr wrote: Hey, Any interest? I'm interested in this. Your diff looks reasonable, so I applied it and it compiled fine, but the less and grave keys are still wrong exchanged on my MacBookAir4,2. Looks like usbdevs says I have a

Re: [Patch] httpd - don't leak fcgi file descriptors

2015-06-09 Thread Joerg Jung
On Tue, Jun 09, 2015 at 07:46:15AM +, Florian Obser wrote: On Mon, Jun 08, 2015 at 09:17:41PM +0200, Claudio Jeker wrote: On Mon, Jun 08, 2015 at 09:12:32PM +0200, Joerg Jung wrote: On Tue, Jun 02, 2015 at 05:47:47PM +0200, Claudio Jeker wrote: On Tue, Jun 02, 2015 at 01:50:35PM

Re: [Patch] httpd - don't leak fcgi file descriptors

2015-06-08 Thread Joerg Jung
On Tue, Jun 02, 2015 at 05:47:47PM +0200, Claudio Jeker wrote: On Tue, Jun 02, 2015 at 01:50:35PM +0200, Joerg Jung wrote: Am 01.06.2015 um 01:25 schrieb Todd Mortimer t...@opennet.ca: I agree that my patch is more of a workaround, and it would be better to track down how

Re: [Patch] httpd - don't leak fcgi file descriptors

2015-06-02 Thread Joerg Jung
Am 01.06.2015 um 01:25 schrieb Todd Mortimer t...@opennet.ca: I agree that my patch is more of a workaround, and it would be better to track down how it is that the client is being passed to server_fcgi with an open socket. I was going this way when I started looking at the source, but

Re: ftp(1) rewrite

2015-06-01 Thread Joerg Jung
On Mon, Jun 01, 2015 at 08:06:38PM +0100, Stuart Henderson wrote: On 2015/06/01 10:20, patrick keshishian wrote: On 6/1/15, Sunil Nimmagadda su...@nimmagadda.net wrote: On Thu, May 21, 2015 at 11:16:09PM -0400, Ted Unangst wrote: screw ftp. just make a new util http, that just does http.

Re: [Patch] httpd - don't leak fcgi file descriptors

2015-05-31 Thread Joerg Jung
Hi, Am 20.05.2015 um 02:06 schrieb Todd Mortimer t...@opennet.ca: The attached patch fixes a problem I’ve been having with httpd + php_fpm + owncloud on 5.7. The patch is against 5.7-release. Can you try with recent snapshot, and see if issue still occurs, please? Development happens in

Re: implement CLOCK_VIRTUAL and CLOCK_PROF

2014-10-16 Thread Joerg Jung
Am 16.10.2014 um 06:50 schrieb Philip Guenther guent...@gmail.com: On Wed, Oct 15, 2014 at 2:08 PM, Todd C. Miller todd.mil...@courtesan.com wrote: On Wed, 15 Oct 2014 21:53:47 +0200, Alexandre Ratchov wrote: On Wed, Oct 15, 2014 at 11:37:26AM -0600, Todd C. Miller wrote: Since this came

Re: Replace LibreSSL times() call

2014-10-15 Thread Joerg Jung
On 14 Oct 2014, at 22:08, Jonas 'Sortie' Termansen sor...@maxsi.org wrote: I noticed libressl's apps.c is using times(3), which is among the functions I am aggressively deprecating in my personal system. This patch switches it to use the clock_gettime and getrusage instead. I pondered using

Re: yacc spacing

2014-02-21 Thread Joerg Jung
Am 21.02.2014 um 03:54 schrieb Ted Unangst t...@tedunangst.com: While I was poking around yacc, I noticed that skeleton.c used a handrolled fputs instead of calling the function. Fixing that, I noticed the code wasn't indented nicely. Fixing that, I figured if I've already messed with

Re: fail to boot snapshot 5.5 on MBPro8,2

2014-02-06 Thread Joerg Jung
Hi, Am 05.02.2014 um 15:08 schrieb Sven-Volker Nowarra peb.nowa...@bluewin.ch: I tried to install 5.5 snapshots from 2. Feb and 3. Feb onto my laptop MacBook Pro 8,2 - both failed. Then used an older snapshot from spacehopper.org/mirrmon, which claimed to be 12 days old. Failed as well.

Re: Apple SMC chip - driver to read sensors and temperatures

2014-02-02 Thread Joerg Jung
Hi, On Fri, Jan 24, 2014 at 11:00:32PM +, peb.nowa...@bluewin.ch wrote: I was working on the asmc kernel driver for the Macbooks. I have a MBPro8.2 (mid 2011), and came to get the driver installed, reading all sensors and temperatures into the hw.sensors framework. See attached

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

2013-12-20 Thread Joerg Jung
Am 20.12.2013 um 08:48 schrieb David Gwynne da...@gwynne.id.au: On 20 Dec 2013, at 2:56 am, Alexander Hall alexan...@beard.se wrote: Henning Brauer lists-openbsdt...@bsws.de wrote: * Craig R. Skinner skin...@britvault.co.uk [2013-12-19 10:18]: On 2013-12-18 Wed 20:48 PM |, J??r??mie

Re: ssl(8) cert generation instructions

2013-03-07 Thread Joerg Jung
Am 06.03.2013 um 19:23 schrieb Stefan Sperling s...@openbsd.org: On Wed, Mar 06, 2013 at 01:05:16PM +, Stuart Henderson wrote: It's not entirely obvious that -x509 actually means produce a csr, self-sign it (defaulting to SHA1), throw away the csr and write the cert and this had me stuck