Re: svn commit: r363068 - head/sys/kern

2020-07-10 Thread Piotr P. Stefaniak
*/ - memcpy(sbp, &mp->mnt_stat, sizeof(*sbp)); + if (sbp != &mp->mnt_stat) + memcpy(sbp, &mp->mnt_stat, sizeof(*sbp)); Slightly unrelated question: wouldn't it be prudent to incorporate this logic into memcpy? ___ sv

Re: svn commit: r362705 - head/bin/ps

2020-06-27 Thread Piotr P. Stefaniak
On 2020-06-27 22:21:02, Konstantin Belousov wrote: On Sat, Jun 27, 2020 at 07:09:33PM +, Piotr Pawel Stefaniak wrote: Author: pstef @@ -1454,6 +1457,18 @@ pidmax_init(void) xo_warn("unable to read kern.pid_max"); pid_max = 9; } +} + +static void

Re: svn commit: r362512 - stable/11/release/doc/en_US.ISO8859-1/hardware

2020-06-22 Thread Piotr P. Stefaniak
On 2020-06-22 21:41:51, Hiroki Sato wrote: Author: hrs Date: Mon Jun 22 21:41:51 2020 New Revision: 362512 URL: https://svnweb.freebsd.org/changeset/base/362512 Log: Fix a build error due to removal of hardware section in umass(4). Oops, sorry, I didn't predict that. Thank you for the fix! __

Re: svn commit: r358181 - head/usr.sbin/pstat

2020-06-22 Thread Piotr P. Stefaniak
On 2020-02-20 21:12:10, Christian S.J. Peron wrote: Author: csjp Date: Thu Feb 20 21:12:10 2020 New Revision: 358181 URL: https://svnweb.freebsd.org/changeset/base/358181 Log: - Implement -h (human readable) for the size of the underlying block disk. Currently, the size of the swap device is

Re: svn commit: r362460 - in head/sys: compat/cloudabi fs/devfs kern sys

2020-06-21 Thread Piotr P. Stefaniak
On 2020-06-21 08:51:24, Thomas Munro wrote: Author: tmunro Date: Sun Jun 21 08:51:24 2020 New Revision: 362460 URL: https://svnweb.freebsd.org/changeset/base/362460 Log: vfs: track sequential reads and writes separately This sounds great to me! Have you considered MFC-ing this? __

Re: svn commit: r338239 - head

2018-08-23 Thread Piotr P. Stefaniak
On 2018-08-23 05:06:32, Warner Losh wrote: Author: imp Date: Thu Aug 23 05:06:31 2018 New Revision: 338239 URL: https://svnweb.freebsd.org/changeset/base/338239 Log: Add a special note to UPDATING for the devmatch stuff. While tested, there's an elevated risk of trouble, and you must update ke

Re: svn commit: r336481 - head/share/misc

2018-07-19 Thread Piotr P. Stefaniak
On 2018-07-19 12:58:10, Mateusz Piotrowski wrote: Author: 0mp (ports committer) Date: Thu Jul 19 12:58:10 2018 New Revision: 336481 URL: https://svnweb.freebsd.org/changeset/base/336481 Log: Update mentor and mentee information. Reviewed by: mat (mentor) Approved by: mat (mentor) Differ

Re: svn commit: r334817 - in head/usr.sbin/cron: cron crontab lib

2018-06-08 Thread Piotr P. Stefaniak
On 2018-06-07 22:38:40, Gleb Smirnoff wrote: Author: glebius Date: Thu Jun 7 22:38:40 2018 New Revision: 334817 URL: https://svnweb.freebsd.org/changeset/base/334817 Log: Add new functionality and syntax to cron(1) to allow to run jobs at a given interval, which is counted in seconds since ex

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-21 Thread Piotr P. Stefaniak
On 2017-02-21 21:59:47, Piotr P. Stefaniak wrote: $ tcc -Wt,f ./test.c -o test Oops, of course it's "-Wt,-f". signature.asc Description: PGP signature

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-21 Thread Piotr P. Stefaniak
On 2017-02-22 00:46:31, Bruce Evans wrote: On Mon, 20 Feb 2017, Conrad Meyer wrote: Maybe this is moot. I don't believe any architecture FreeBSD actually supports has non-zero bitpattern NULL, but something weird like CHERI might. Compilers should do portability checks on it. In fact, the co

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 17:17:46, Rodney W. Grimes wrote: -- Start of PGP signed section. On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: >2) the option -ta was added To clarify, what I mean is that the process that generates the sources started using the -ta switch of indent(1), not that the feat

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: 2) the option -ta was added To clarify, what I mean is that the process that generates the sources started using the -ta switch of indent(1), not that the feature was recently implemented. signature.asc Description: PGP signature

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 06:38:10, Rodney W. Grimes wrote: Author: tuexen Date: Thu Dec 29 11:32:42 2016 New Revision: 310773 URL: https://svnweb.freebsd.org/changeset/base/310773 Log: MFC r310590: Whitespace changes. The toolchain for processing the sources has been updated. No functional change