mkdir pledge condition

2015-10-22 Thread Ilya Kaliman
& has lower precedence than ==, so this seems to be not what was intended (the condition is always false): === RCS file: /cvs/src/bin/mkdir/mkdir.c,v retrieving revision 1.28 diff -u -p -r1.28 mkdir.c --- mkdir.c 10 Oct 2015

unused macros in ksh

2015-10-22 Thread Ilya Kaliman
=== RCS file: /cvs/src/bin/ksh/shf.c,v retrieving revision 1.25 diff -u -p -r1.25 shf.c --- shf.c 19 Oct 2015 14:42:16 - 1.25 +++ shf.c 23 Oct 2015 00:27:40 - @@ -707,10 +707,6 @@ shf_smprintf(const char *fmt,

Further cleanup of unused macros

2015-10-27 Thread Ilya Kaliman
Index: bin/ksh/emacs.c === RCS file: /cvs/src/bin/ksh/emacs.c,v retrieving revision 1.60 diff -u -p -r1.60 emacs.c --- bin/ksh/emacs.c 19 Oct 2015 14:42:16 - 1.60 +++ bin/ksh/emacs.c 27 Oct 2015 16:02:38 - @@

A couple of style(9) tweaks

2015-10-20 Thread Ilya Kaliman
=== RCS file: /cvs/src/bin/ed/main.c,v retrieving revision 1.53 diff -u -p -r1.53 main.c --- bin/ed/main.c 9 Oct 2015 21:24:05 - 1.53 +++ bin/ed/main.c 20 Oct 2015 22:49:53 - @@ -174,7 +174,7 @@ top:

Cleanup options(4) after INET removal

2015-10-01 Thread Ilya Kaliman
=== RCS file: /cvs/src/share/man/man4/options.4,v retrieving revision 1.239 diff -u -p -r1.239 options.4 --- options.4 21 Jan 2015 02:23:14 - 1.239 +++ options.4 1 Oct 2015 18:03:35 - @@ -444,24 +444,13 @@ See and

nfsd Makefile

2015-10-01 Thread Ilya Kaliman
=== RCS file: /cvs/src/sbin/nfsd/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile11 Jun 2002 15:45:44 - 1.7 +++ Makefile1 Oct 2015 23:48:35 - @@ -3,6 +3,4 @@ PROG= nfsd MAN= nfsd.8

unifdef INSECURE

2016-11-07 Thread Ilya Kaliman
=== RCS file: /cvs/src/sys/stand/boot/cmd.c,v retrieving revision 1.63 diff -u -p -r1.63 cmd.c --- cmd.c 20 Jul 2014 19:33:54 - 1.63 +++ cmd.c 7 Nov 2016 22:47:40 - @@ -95,9 +95,7 @@ getcmd(void) int

Re: acpiec on acer aspire S7 with CURRENT

2016-10-18 Thread Ilya Kaliman
..@irofti.net> wrote: > On Tue, Oct 18, 2016 at 10:22:06AM -0700, Ilya Kaliman wrote: >> Hi! >> >> The patch seems to work partially - acpiec now gets initialized. The >> suspend-on-lid-close does not work anymore, though (it works with my >> initial patc

Re: acpiec on acer aspire S7 with CURRENT

2016-10-18 Thread Ilya Kaliman
Hi! The patch seems to work partially - acpiec now gets initialized. The suspend-on-lid-close does not work anymore, though (it works with my initial patch). acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiec0 at acpi0acpiec0: invalid

Re: acpiec on acer aspire S7 with CURRENT

2016-10-21 Thread Ilya Kaliman
at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS Thanks, Ilya On Fri, Oct 21, 2016 at 12:37 AM, Paul Irofti <p...@irofti.net> wrote: > On Tue, Oct 18, 2016 at 09:01:59PM -0700, Ilya Kaliman wrote: >> Thanks! Now everything seems to work. Minor twe

Re: acpiec on acer aspire S7 with CURRENT

2016-10-13 Thread Ilya Kaliman
Hi! Thanks for looking into this. I've tried the patch and the "found GPIO port" printf is not triggered because sc->sc_acpi->sc_hw_reduced is 0 for me. Which acpi table should I attach? Thanks, Ilya RSD PTR: Checksum=188, OEMID=ACRSYS, RsdtAddress=0x9aafe124 RSDT: Length=112, Revision=1,

acpiec on acer aspire S7 with CURRENT

2016-10-10 Thread Ilya Kaliman
Hi tech, while trying the latest snapshot I've noticed that the following warning is printed to a console several times a second (this does not happen in 6.0): acpi0: WARNING EC not initialized The investigation shows that the acpiec initialization fails in acpiec.c line 484: if (size != 2 ||

Re: acpiec on acer aspire S7 with CURRENT

2016-10-14 Thread Ilya Kaliman
dmesg: OpenBSD 6.0 (GENERIC.MP) #1: Thu Sep 8 16:32:34 PDT 2016 i...@puffy.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80 real mem = 8468033536 (8075MB) avail mem = 8206921728 (7826MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at