Re: svn: head/sys/mips/conf

2016-02-23 Thread Maxim Sobolev
Thanks Adrian, sorry, missed those. I've also noticed that few of the MIPS configs use: device geom_uncompress Few: option GEOM_UNCOMPRESS and majority actually both: device geom_uncompress option GEOM_UNCOMPRESS I think the canonical form is "option GEOM_Z

svn commit: r311974 - head/sys/netinet

2017-01-12 Thread Maxim Sobolev
Author: sobomax Date: Thu Jan 12 10:14:54 2017 New Revision: 311974 URL: https://svnweb.freebsd.org/changeset/base/311974 Log: Fix slight type mismatch between so_options defined in sys/socketvar.h and tw_so_options defined here which is supposed to be a copy of the former (short vs u_short

svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-01-16 Thread Maxim Sobolev
Author: sobomax Date: Mon Jan 16 17:46:38 2017 New Revision: 312296 URL: https://svnweb.freebsd.org/changeset/base/312296 Log: Add a new socket option SO_TS_CLOCK to pick from several different clock sources to return timestamps when SO_TIMESTAMP is enabled. Two additional clock sources are:

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-01-17 Thread Maxim Sobolev
Of course it's possible. Do you guys want me to amend that patch? -Max On Mon, Jan 16, 2017 at 10:52 PM, Gleb Smirnoff wrote: > Hi! > > On Mon, Jan 16, 2017 at 05:46:38PM +, Maxim Sobolev wrote: > M> Author: sobomax > M> Date: Mon Jan 16 17:46:38 2017 > M&g

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-01-17 Thread Maxim Sobolev
That being said, is there any other socket option value in there implemented as enum? I don't see anything obvious, so that I am curious if it would stick out as an odd one in there. What do you think? -Max On Tue, Jan 17, 2017 at 6:22 AM, Maxim Sobolev wrote: > Of course it's pos

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-01-17 Thread Maxim Sobolev
Well as other pointed out there are some concerns with using enums from C++ and ABI prospective. So it looks to me that there is no general consensus on that direction. -Max On Tue, Jan 17, 2017 at 1:27 PM, Gleb Smirnoff wrote: > On Tue, Jan 17, 2017 at 08:40:50AM -0800, Maxim Sobolev wr

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-01-17 Thread Maxim Sobolev
ike an enum is just fine. And I agree > > with Gleb that it is preferable. > > > > Conrad > > > > On Tue, Jan 17, 2017 at 1:34 PM, Maxim Sobolev > > wrote: > > > > > > Well as other pointed out there are some concerns with using enums > > >

svn commit: r312554 - head/lib/libc/sys

2017-01-20 Thread Maxim Sobolev
Author: sobomax Date: Fri Jan 20 18:37:14 2017 New Revision: 312554 URL: https://svnweb.freebsd.org/changeset/base/312554 Log: Improve wording around SO_TS_CLOCK documentation. Submitted by: wblock Differential Revision:https://reviews.freebsd.org/D9171 Modified: head/lib/libc/

svn commit: r294691 - head/lib/libc/gen

2016-01-24 Thread Maxim Sobolev
Author: sobomax Date: Sun Jan 24 22:20:13 2016 New Revision: 294691 URL: https://svnweb.freebsd.org/changeset/base/294691 Log: Fix bug in the readpassphrase(3) function, which can be exposed by application closing its stdin (i.e. STDIN_FILENO) prior to calling readpassphrase WITHOUT setting

Re: svn: releng/10.3/sys: boot/common kern

2016-03-07 Thread Maxim Sobolev
Is it possible perhaps for the installkernel target to extract the version number from the /boot/loader and warn user or abort operation if that version is known not to support this feature? This would be ultimate anti-foot-shooting safeguard for people who are used to the normal installkernel->reb

svn commit: r296569 - head/sys/mips/rt305x

2016-03-09 Thread Maxim Sobolev
Author: sobomax Date: Wed Mar 9 18:38:03 2016 New Revision: 296569 URL: https://svnweb.freebsd.org/changeset/base/296569 Log: Second argument of the mips_timer_init_params() is boolean, so pass in "1" for true consistently. Modified: head/sys/mips/rt305x/rt305x_machdep.c Modified: head/sy

svn commit: r296574 - in head/sys: dev/md modules/md

2016-03-09 Thread Maxim Sobolev
Author: sobomax Date: Wed Mar 9 19:36:25 2016 New Revision: 296574 URL: https://svnweb.freebsd.org/changeset/base/296574 Log: For the MD_ROOT option don't inject /dev/md0 as root dev when ROOTDEVNAME is defined explicitly. It's kinda pointless and results in extra step in boot sequence whic

svn commit: r296626 - head/usr.bin/mkuzip

2016-03-10 Thread Maxim Sobolev
Author: sobomax Date: Thu Mar 10 21:36:24 2016 New Revision: 296626 URL: https://svnweb.freebsd.org/changeset/base/296626 Log: Add -S option to print out summary after compression has been completed. MFC after:2 weeks Modified: head/usr.bin/mkuzip/mkuzip.8 head/usr.bin/mkuzip/mku

svn commit: r296628 - head/usr.bin/mkuzip

2016-03-10 Thread Maxim Sobolev
Author: sobomax Date: Thu Mar 10 23:19:35 2016 New Revision: 296628 URL: https://svnweb.freebsd.org/changeset/base/296628 Log: When -S is specified dump summary to stdout, not stderr, so it's easier to capture and process it with external tools via pipe. Modified: head/usr.bin/mkuzip/mkuzip

svn commit: r296810 - head/usr.bin/mkuzip

2016-03-13 Thread Maxim Sobolev
Author: sobomax Date: Sun Mar 13 21:09:08 2016 New Revision: 296810 URL: https://svnweb.freebsd.org/changeset/base/296810 Log: In the de-duplication mode, when found matching md5 checksum also read back block and compare actual content. Just output original block instead of back reference in

svn commit: r296885 - head/sys/mips/mips

2016-03-14 Thread Maxim Sobolev
Author: sobomax Date: Tue Mar 15 01:17:38 2016 New Revision: 296885 URL: https://svnweb.freebsd.org/changeset/base/296885 Log: Fix build with HWPMC_HOOKS enabled. Modified: head/sys/mips/mips/mips_pic.c Modified: head/sys/mips/mips/mips_pic.c =

svn commit: r297690 - head/sys/boot/forth

2016-04-07 Thread Maxim Sobolev
Author: sobomax Date: Fri Apr 8 00:24:21 2016 New Revision: 297690 URL: https://svnweb.freebsd.org/changeset/base/297690 Log: Document vfs.root.mountfrom. Reviewed by: imp, wblock Differential Revision:https://reviews.freebsd.org/D5332 Modified: head/sys/boot/forth/loader.con

Re: svn commit: r297690 - head/sys/boot/forth

2016-04-07 Thread Maxim Sobolev
Hi Bruce, thanks for the input! I will see if I can move that piece into loader.8 and extend it a bit from the source "documentation". -Max On Thu, Apr 7, 2016 at 8:38 PM, Bruce Evans wrote: > On Fri, 8 Apr 2016, Maxim Sobolev wrote: > > Log: >> Document vfs.root.moun

Re: svn commit: r298230 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/i386/loader sys/boot/mips/beri/loader s

2016-04-19 Thread Maxim Sobolev
Sorry, if stupid question, but can this feature kick in automatically once you have more than X MB amount of memory available, going back to default memory-conserving "slow" mode if not? I cannot imagine that would take too much effort/code to implement. I take care of some really old legacy embed

svn commit: r298502 - head/sys/geom/uzip

2016-04-22 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 06:31:46 2016 New Revision: 298502 URL: https://svnweb.freebsd.org/changeset/base/298502 Log: o Fix handling of images with compression block sizes comparable to MAXPHYS. o Improve debug somewhat; o Convert "BUG BUG BUG message" into a proper KASSER

svn commit: r298504 - head/usr.bin/mkuzip

2016-04-23 Thread Maxim Sobolev
3 07:23:43 2016 (r298504) @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2004-2016 Maxim Sobolev + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of s

svn commit: r298505 - head/usr.bin/mkuzip

2016-04-23 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 07:28:32 2016 New Revision: 298505 URL: https://svnweb.freebsd.org/changeset/base/298505 Log: GC duplicate define. Modified: head/usr.bin/mkuzip/mkuz_format.h Modified: head/usr.bin/mkuzip/mkuz_format.h

Re: svn: head/usr.bin/mkuzip

2016-04-25 Thread Maxim Sobolev
Thanks and sorry about that. I did not realize we use different compilers for different architectures. By any chance, do you know is there a way to test buildworld on amd64 with gcc? On Mon, Apr 25, 2016 at 6:20 AM, Bjoern A. Zeeb wrote: > Author: bz > Date: Mon Apr 25 13:20:35 2016 > New Revisi

svn commit: r298619 - head/sys/geom/uzip

2016-04-25 Thread Maxim Sobolev
Author: sobomax Date: Tue Apr 26 06:50:38 2016 New Revision: 298619 URL: https://svnweb.freebsd.org/changeset/base/298619 Log: Relax TOC offsets checking somewhat, allowing offset pointing to the next byte past EOF to denote zero-block(s) at the very end of the file. Modified: head/sys/ge

Re: svn: stable/10/sys: amd64/amd64 amd64/linux amd64/linux32 compat/linux dev/cxgbe/tom i386/linux vm

2016-04-26 Thread Maxim Sobolev
Given the widespread use of those two macros, maybe we need howmany.9 and roundup.9 manual pages with detailed formal description? Particularly interested in how "return" supposed to be typed. Another thing is that would be nice is some kind of automatic #error/#warning/printf/KASSERT/panic when (

Re: svn: stable/10/sys: amd64/amd64 amd64/linux amd64/linux32 compat/linux dev/cxgbe/tom i386/linux vm

2016-04-26 Thread Maxim Sobolev
void * size instead of the structure size). Those which rely on rounding could then be separated into howmany_rup() and howmany_rdown() or something. On Tue, Apr 26, 2016 at 12:04 PM, Pedro Giffuni wrote: > Hello > > On 04/26/16 13:42, Maxim Sobolev wrote: > >> Given the wide

svn commit: r299195 - head/sys/geom/uzip

2016-05-06 Thread Maxim Sobolev
Author: sobomax Date: Fri May 6 20:32:39 2016 New Revision: 299195 URL: https://svnweb.freebsd.org/changeset/base/299195 Log: Add missing include "opt_geom.h" to make GEOM_UZIP_DEBUG option working, also rename enum member so it does not conflict with GEOM_UZIP option name. Submitted b

svn commit: r364711 - head/usr.sbin/gstat

2020-08-24 Thread Maxim Sobolev
Author: sobomax Date: Mon Aug 24 16:45:23 2020 New Revision: 364711 URL: https://svnweb.freebsd.org/changeset/base/364711 Log: In the endless batch mode (-B), terminate if and when stdout is closed. That mode is useful to call gstat from other app, however kinda useless since gstat won't exi

<    1   2   3   4