Re: asmc: constify global product table

2022-10-20 Thread Joerg Jung
if (!sc->sc_prod) > 268 return; > > Builds fine on amd64. I don't have Apple hardware to test: > 820ce550 l O .rodata1688 asmc_prods > > > Feedback? Objection? OK? Tested and works for me. ok jung@ > Index: dev/acpi/as

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 disc

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: /cvs/src/usr.sbin/httpd/parse.y

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 results

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 +020

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 19:25:

Re: pf: route-to least-states

2020-07-23 Thread Joerg Jung
entry specifies > an interface. > > ok? Good catch, diff looks good to me. ok jung@ > Increase state counter for least-states when the address is selected > by sticky-address. Also fix the problem that the interface which is > specified by the selected table entry

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) &g

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-27 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 > > "f...@example.

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 >

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 /var/log/we

Re: locate.updatedb TMPDIR

2020-02-09 Thread Joerg Jung
ocument this. However, I'm fine with assuming sane defaults on OpenBSD, so not needed then. > > However, it doesn't look like we document /etc/locate.rc anywhere. > > I'm not sure it deserves its own man page > > but I think it should at least be documented in locate.upd

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 TMPDIR

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 pag

Re: smtpd: remove implicit listen on socket

2019-11-27 Thread Joerg Jung
with different permissions, > and control them through the smtpd.conf ruleset like we do for any other > connection. > > The first step towards that is this diff. > > ok ? ok jung@ > Index: smtpd.conf > === > R

Re: smtpd remove implicit ruleset behavior

2019-11-24 Thread Joerg Jung
On Sun, Nov 24, 2019 at 10:54:14AM +0100, Gilles Chehade wrote: > > Ten years ago, it seemed a very neat idea that OpenSMTPD would have some > implicit defaults to avoid people creating open relays. > > Back then I was trying to make the smtpd.conf as compact as possible and > came up with the ve

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 retriev

Re: Improved support for Apple trackpads: tests needed

2017-03-11 Thread Joerg Jung
lickFinger3=2 synclient ClickPad=1 synclient VertScrollDelta=-237 synclient HorizScrollDelta=-237 synclient HorizTwoFingerScroll=1 ClickPad/click-and-drag works, awesome! :) Diff reads fine. Thanks! OK jung@ > Index: dev/usb/ubcmtp.c >

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 dif

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. Shouldn't the WM fixed inst

Re: smtpd config parsing cleanup

2016-09-09 Thread Joerg Jung
- fix a bug where the specified family was ignored if the listener > is given as a hostname. > > > Comments? I like that. ok jung@ > Eric. > > Index: parse.y > === > RCS file: /cvs/src/usr.sbin/smt

Re: Some cleanups and tweaks for wc(1)

2016-09-06 Thread Joerg Jung
oid > converting between pointers to integer types with different sign > when calling getline (catched when compiling with Clang) > - Use return instead of exit in main ok jung@ > Index: wc.c > === > RCS file:

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 nvram options correct

Re: syn cache hash size sysctl

2016-07-19 Thread Joerg Jung
tl" >> dumps them. so no sort neccessary for sysctl(8). > > So now sysctl(8) has all net.inet.tcp in sysctl output order. > > ok? ok jung@ > bluhm > > Index: lib/libc/gen/sysctl.3 > === > RCS file

Re: syn cache hash size sysctl

2016-07-19 Thread Joerg Jung
empty, > we can change the hash size. > > This allows an admin under SYN flood attack to tune his machine. > sysctl net.inet.tcp.synhashsize=1 Makes sense to me and I like this. > ok? ok jung@ Please, also document it, at least in sysctl(8). > bluh

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 >> Wandasiewicz) which has proper inteldrm but no vga,

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

2016-05-08 Thread Joerg Jung
s shall be matched by a > corresponding invocation of the va_end() macro in the same function." > > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdarg.h.html > Yes agreed, the diff should be committed. ok jung@ if a d

Re: httpd: patch for portability asprintf use

2016-05-08 Thread Joerg Jung
he pointer to (void > > *)-1 instead of NULL, because this NULL return is a trap. > > > > > I think enforcing it this way would make much sense. > > I'm a candidate for such traps as I only develop C code on/for OpenBSD. > > OK, this makes Hiltjo's diff a valid addition. yes agreed, please commit it. ok jung@ > Reyk >

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-09 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- >> signer by smtpd(8) filter

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 qu

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 will post part 2 an

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 throu

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

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

2016-02-01 Thread Joerg Jung
be adjusted by somebody with better rc-fu. >> >> Actually if things are properly done, the non default pexp line in the rc.d >> scripts should just be removed and that's it. >> > > Here it is for the majority of base daemons. I've left ypldap for now, >

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 > rele

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'

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 wit

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 > ba

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
h your input buffer fix they are not really needed anymore. > However, since Apple's SMC implementation almost certainly changed > over the years, it would be good to test this diff on a wider range of > Apple hardware. Please check that all sensors are still present and > are pro

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
> Am 11.12.2015 um 10:27 schrieb Ville Valkonen : > >> On 11 December 2015 at 10:36, Joerg Jung wrote: >> Ping. Anyone? >> >> > On 07 Dec 2015, at 23:39, Joerg Jung wrote: >> > >> > Hi, >> > >> > here comes a series

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 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 > control keyboard backlig

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. You

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 > > > > Hi, > > > > here comes the third part of the series for generic keyboard backlight > > support. > > > > P

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

Re: [patch] mailwrapper: remove broken fallback code

2015-12-08 Thread Joerg Jung
if we decide to > keep it, this diff should fix the fallback case. ok jung@ for the fix below. I’m also unsure about the fallback code. It was introduced with -r1.4 more than 16 yrs ago. However, I fail to understand what’s the point of it? I mean why running mailwrapper without a config f

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 refactorin

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 App

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) int

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 keyboard.ba

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 least a couple plac

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 "function

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
>>/* in header and line is not a continuation, execute callback */ >> -if (rp->in_hdr && (*line == '\0' || !isspace(*line))) >> +if (rp->in_hdr && (*line == '\0' || !isspace((unsigned char)*line))) > > Yep. > > ok? ok jung@

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 twea

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-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
59 - @@ -0,0 +1,62 @@ +.\"$OpenBSD: $ +.\" +.\" Copyright (c) 2015 Joerg Jung +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright noti

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 with nginx was

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

2015-09-01 Thread Joerg Jung
; > I'll try to keep it on my todo list... > >> Some bike shedding inline below, apart from that, ok jung@ > > I love bike shedding, so let's go an pick up some colors ;-) :) >> >>> - if (r->action == PF_MATCH) { >>> + /* >>>

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

2015-09-01 Thread Joerg Jung
eally needs block ... dup-to he should opt for equivalent > rule using pass ... route-to > > Also there is one more question: > >shall we implement similar sanity checks for nat-to/rdr-to/... actions? IMHO, yes that would make sense. Some bike shedding inline below, apart fro

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

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,

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 - | p

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 USB_PRODUCT

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: > > > >

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 : > > > > > > I agree that my patch is more of a workaround, and it would be >

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 : > > 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 then I saw th

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 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. > > Sorry,

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

2015-05-30 Thread Joerg Jung
Hi, > Am 20.05.2015 um 02:06 schrieb Todd Mortimer : > > 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 -current. > Af

Re: implement CLOCK_VIRTUAL and CLOCK_PROF

2014-10-16 Thread Joerg Jung
> Am 16.10.2014 um 06:50 schrieb Philip Guenther : > > On Wed, Oct 15, 2014 at 2:08 PM, Todd C. Miller > 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 up in another thread. Trivial

Re: Replace LibreSSL times() call

2014-10-15 Thread Joerg Jung
On 14 Oct 2014, at 22:08, Jonas 'Sortie' Termansen 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 CLOCK_VIRTUA

Re: yacc spacing

2014-02-21 Thread Joerg Jung
++outline; > + fputs(s, f); > + putc('\n', f); Why this local assignment to f anyway and not just fputs(s, code_file) and putc(\n', code_file)? > } > - putc('\n', f); > -} > } Otherwise, ok jung@

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 : > 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. > > MacBook Pro runs

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 > attache

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 : > On 20 Dec 2013, at 2:56 am, Alexander Hall wrote: > >> Henning Brauer wrote: >>> * Craig R. Skinner [2013-12-19 10:18]: On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: > skin...@britvault.co.uk (Craig R. Skinner) writes

Re: ssl(8) cert generation instructions

2013-03-07 Thread Joerg Jung
Am 06.03.2013 um 19:23 schrieb Stefan Sperling : > 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 for a

Re: rthreads vs pthreads performance test

2010-04-16 Thread Jung
51 ds 0x33 51 es 0x33 51 fs 0x33 51 gs 0x33 51 2010/4/17 Chris Cappuccio : > You don't need to recompile mysql or other tools. Just move the librthreads shared object library (librthreads.so.x.y) in place of libpthreads.s

Re: rthreads vs pthreads performance test

2010-04-13 Thread Jung
oops. sorry. i did not re-compile mysql and other tool. (pthreads vs rthreads result are same) so, previous e-mail's performance test is fail. i'll update test tools and i'll send that results again. thanks. 2010/4/13 Ted Unangst : > On Tue, Apr 13, 2010 at 4:33 AM, Jung wro

rthreads vs pthreads performance test

2010-04-13 Thread Jung
sec.) pthreads) - client threads(Transactions/sec) 2 (410.84 per sec.) 5 (408.39 per sec.) 10 (420.40 per sec.) 15 (416.54 per sec.) 20 (413.13 per sec.) --- - Jung