svn commit: r368778 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 03:07:38 2020 New Revision: 368778 URL: https://svnweb.freebsd.org/changeset/base/368778 Log: login(1): when exporting variables check the result of setenv(3) When exporting a variable we correctly check all the preconditions that could make setenv(3) fail.

svn commit: r368777 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 02:42:14 2020 New Revision: 368777 URL: https://svnweb.freebsd.org/changeset/base/368777 Log: Revert r368776: login(1): when exporting variables check the result of setenv(3) mismatch: the return value upon error is -1, so the code was not doing nothing.

svn commit: r368776 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 02:23:53 2020 New Revision: 368776 URL: https://svnweb.freebsd.org/changeset/base/368776 Log: login(1): when exporting variables check the result of setenv(3) When exporting a variable we correctly check all the preconditions that could make setenv(3) fail.

svn commit: r368712 - in head: . usr.sbin/services_mkdb

2020-12-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Dec 17 02:54:32 2020 New Revision: 368712 URL: https://svnweb.freebsd.org/changeset/base/368712 Log: /etc/services: attempt to bring the database to this century 2/2. This is the final half of splitting r358153 in two, in order to avoid a build system bugs and being

svn commit: r366563 - stable/12/sys/fs/ext2fs

2020-10-08 Thread Pedro F. Giffuni
Author: pfg Date: Fri Oct 9 05:28:32 2020 New Revision: 366563 URL: https://svnweb.freebsd.org/changeset/base/366563 Log: MFC r366501: ext2fs: minor typo. Obtained from:Dragonfly Modified: stable/12/sys/fs/ext2fs/ext2_alloc.c Directory Properties: stable/12/ (props

svn commit: r366501 - head/sys/fs/ext2fs

2020-10-06 Thread Pedro F. Giffuni
Author: pfg Date: Tue Oct 6 21:31:04 2020 New Revision: 366501 URL: https://svnweb.freebsd.org/changeset/base/366501 Log: ext2fs: minor typo. Obtained from:Dragonfly MFC after:3 days Modified: head/sys/fs/ext2fs/ext2_alloc.c Modified: head/sys/fs/ext2fs/ext2_alloc.c

svn commit: r364417 - head/usr.sbin/fstyp

2020-08-19 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 20 05:18:08 2020 New Revision: 364417 URL: https://svnweb.freebsd.org/changeset/base/364417 Log: usr.sbin/fstyp: Fix incorrect pfs_type test in ondisk inode "ipdata.meta.pfs_type & HAMMER2_PFSTYPE_SUPROOT" happened to have the same result (except

svn commit: r364416 - head/sys/fs/ext2fs

2020-08-19 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 20 05:08:49 2020 New Revision: 364416 URL: https://svnweb.freebsd.org/changeset/base/364416 Log: extfs: remove redundant little endian conversion. The XTIME_TO_NSEC macro already calls the htole32(), so there is no need to call it twice. This code does nothing

svn commit: r364308 - head/sys/fs/ext2fs

2020-08-17 Thread Pedro F. Giffuni
Author: pfg Date: Mon Aug 17 15:05:41 2020 New Revision: 364308 URL: https://svnweb.freebsd.org/changeset/base/364308 Log: extfs: remove redundant little endian conversion. The NSEC_TO_XTIME macro already calls the htole32(), so there is no need to call it twice. This code does nothing

svn commit: r362345 - stable/12/usr.sbin/services_mkdb

2020-06-18 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 18 22:10:06 2020 New Revision: 362345 URL: https://svnweb.freebsd.org/changeset/base/362345 Log: services: Add SSDP to service database This is used for UPnP and is registered in the IANA database. PR: 241573 Modified:

svn commit: r361898 - head/usr.sbin/services_mkdb

2020-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jun 7 19:56:17 2020 New Revision: 361898 URL: https://svnweb.freebsd.org/changeset/base/361898 Log: services: Add SSDP to service database This is used for UPnP and is registered in the IANA database. MFC after:2 weeks PR: 241573 Modified:

svn commit: r359202 - stable/11/usr.bin/calendar/calendars

2020-03-21 Thread Pedro F. Giffuni
Author: pfg Date: Sun Mar 22 01:40:12 2020 New Revision: 359202 URL: https://svnweb.freebsd.org/changeset/base/359202 Log: MFC r353909, r355192, r355218, r355218, r358506, r359005: calendar(1): Updates and corrections for some calendar files. PR: 242909, 242918 Modified:

svn commit: r359199 - stable/12/usr.bin/calendar/calendars

2020-03-21 Thread Pedro F. Giffuni
Author: pfg Date: Sun Mar 22 01:22:44 2020 New Revision: 359199 URL: https://svnweb.freebsd.org/changeset/base/359199 Log: MFC r353909, r355192, r355218, r355218, r358506, r359005: calendar(1): Updates and corrections for some calendar files. PR: 242909, 242918 Modified:

svn commit: r359005 - head/usr.bin/calendar/calendars

2020-03-14 Thread Pedro F. Giffuni
Author: pfg Date: Sun Mar 15 00:49:06 2020 New Revision: 359005 URL: https://svnweb.freebsd.org/changeset/base/359005 Log: calendar(1): Updates and corrections for some calendar files. These have an educational value and are, no doubt, an integral part of the fun behind running the BSDs.

svn commit: r358904 - head/usr.sbin/services_mkdb

2020-03-11 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 12 03:56:54 2020 New Revision: 358904 URL: https://svnweb.freebsd.org/changeset/base/358904 Log: style(9): Fix space after #define. No functional change. Modified: head/usr.sbin/services_mkdb/services_mkdb.c Modified:

svn commit: r358903 - in stable/11: etc usr.sbin/services_mkdb

2020-03-11 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 12 03:03:38 2020 New Revision: 358903 URL: https://svnweb.freebsd.org/changeset/base/358903 Log: MFC r358154 (by delphij) Bump PROTOMAX: this matches the value on NetBSD and will be necessary for future updates. MFC r358448; (--ignore-ancestry due to merge

svn commit: r358870 - stable/12/usr.sbin/services_mkdb

2020-03-10 Thread Pedro F. Giffuni
Author: pfg Date: Wed Mar 11 05:45:33 2020 New Revision: 358870 URL: https://svnweb.freebsd.org/changeset/base/358870 Log: MFC r358154 (by delphij) Bump PROTOMAX: this matches the value on NetBSD and will be necessary for future updates. MFC r r358448; /etc/services: attempt to bring

svn commit: r358869 - vendor/misc-GNU/patch

2020-03-10 Thread Pedro F. Giffuni
Author: pfg Date: Wed Mar 11 04:55:20 2020 New Revision: 358869 URL: https://svnweb.freebsd.org/changeset/base/358869 Log: Remove GNU patch. This was actually dead and buried in 2004 (r128777), around 2013 I bogusly resurected it in case BSD patch didn't work out as planned. It did work

svn commit: r358868 - vendor/OpenBSD/dist/usr.bin/rcs

2020-03-10 Thread Pedro F. Giffuni
Author: pfg Date: Wed Mar 11 04:45:10 2020 New Revision: 358868 URL: https://svnweb.freebsd.org/changeset/base/358868 Log: Delete OpenBSD's variant of RCS. I mistakenly borught this on r282572 but it was never used. There was some interest for a replacement of the GNU version but

svn commit: r358448 - head/usr.sbin/services_mkdb

2020-02-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 28 20:43:35 2020 New Revision: 358448 URL: https://svnweb.freebsd.org/changeset/base/358448 Log: /etc/services: attempt to bring the database to this century 1/2. This is the result of splitting r358153 in two, in order to avoid a build system bug and being able

svn commit: r358259 - stable/11/sys/net

2020-02-23 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 23 15:18:28 2020 New Revision: 358259 URL: https://svnweb.freebsd.org/changeset/base/358259 Log: MFC r357414, r357415, r357417, r357423, r357424, r357587, r357655: ethernet: add some more Ethertypes. Add some types based on other BSDs and also add EtherCat,

svn commit: r358209 - stable/12/sys/net

2020-02-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 21 04:48:25 2020 New Revision: 358209 URL: https://svnweb.freebsd.org/changeset/base/358209 Log: MFC r357414, r357415, r357417, r357423, r357424, r357587, r357655: ethernet: add some more Ethertypes. Add some types based on other BSDs and also add EtherCat,

svn commit: r358170 - head/usr.sbin/services_mkdb

2020-02-20 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 20 15:52:36 2020 New Revision: 358170 URL: https://svnweb.freebsd.org/changeset/base/358170 Log: Revert r358153: it is causing unexpected issues with the build system. Modified: head/usr.sbin/services_mkdb/services Modified: head/usr.sbin/services_mkdb/services

svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-19 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 20 03:54:07 2020 New Revision: 358153 URL: https://svnweb.freebsd.org/changeset/base/358153 Log: /etc/services: attempt bring the database to this century. Document better this file, updating the URL to the IANA registry and closely match the official services.

svn commit: r357860 - head/usr.sbin/services_mkdb

2020-02-13 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 13 15:42:14 2020 New Revision: 357860 URL: https://svnweb.freebsd.org/changeset/base/357860 Log: Revert r357343: services: Add PROFInet and EtherCAT. Both are admitedly very niche features and no known users exist currently. I am doing a further review/update

svn commit: r357655 - head/sys/net

2020-02-07 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 7 15:16:04 2020 New Revision: 357655 URL: https://svnweb.freebsd.org/changeset/base/357655 Log: typo: stray spaces. No functional change Modified: head/sys/net/ethernet.h Modified: head/sys/net/ethernet.h

svn commit: r357654 - in head: lib/libc/xdr sys/xdr

2020-02-07 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 7 15:14:29 2020 New Revision: 357654 URL: https://svnweb.freebsd.org/changeset/base/357654 Log: typo: s/impelmentation/implementation/. No functional change Modified: head/lib/libc/xdr/xdr_array.c head/lib/libc/xdr/xdr_reference.c head/sys/xdr/xdr_array.c

svn commit: r357631 - head/usr.sbin/fstyp

2020-02-06 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 6 18:04:15 2020 New Revision: 357631 URL: https://svnweb.freebsd.org/changeset/base/357631 Log: fstyp: sync HAMMER1/2 detection support with DragonFly BSD. Submitted by: Tomohiro Kusumi PR: 243929 Modified: head/usr.sbin/fstyp/hammer.c

svn commit: r357587 - head/sys/net

2020-02-05 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 5 19:11:07 2020 New Revision: 357587 URL: https://svnweb.freebsd.org/changeset/base/357587 Log: ethernet: Add a couple more Ethertypes. Powerlink and Sercos III are used in automation. Both have been standardized and In the case of Ethernet Powerlink there is a

svn commit: r357424 - head/sys/net

2020-02-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 3 02:02:13 2020 New Revision: 357424 URL: https://svnweb.freebsd.org/changeset/base/357424 Log: typo: Registration. Pointed by: Dikshie Fauzie Modified: head/sys/net/ethernet.h Modified: head/sys/net/ethernet.h

svn commit: r357423 - head/sys/net

2020-02-02 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 3 01:08:15 2020 New Revision: 357423 URL: https://svnweb.freebsd.org/changeset/base/357423 Log: ethernet: Minor cleanup. Consistently use uppercase for ethertype hex numbers. Modified: head/sys/net/ethernet.h Modified: head/sys/net/ethernet.h

svn commit: r357417 - head/sys/net

2020-02-02 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 2 19:02:07 2020 New Revision: 357417 URL: https://svnweb.freebsd.org/changeset/base/357417 Log: style(9): Fix spaces after #define. No functional change. Modified: head/sys/net/ethernet.h Modified: head/sys/net/ethernet.h

svn commit: r357415 - head/sys/net

2020-02-02 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 2 18:33:20 2020 New Revision: 357415 URL: https://svnweb.freebsd.org/changeset/base/357415 Log: ethernet: add some more Ethertypes. Sort ETHERTYPE_FCOE, from r357414. Modified: head/sys/net/ethernet.h Modified: head/sys/net/ethernet.h

svn commit: r357414 - head/sys/net

2020-02-02 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 2 18:27:37 2020 New Revision: 357414 URL: https://svnweb.freebsd.org/changeset/base/357414 Log: ethernet: add some more Ethertypes. Add some types based on other BSDs and also add EtherCat and PROFINET, which are IEC standards. There is a public list (CSV

svn commit: r357343 - head/usr.sbin/services_mkdb

2020-01-31 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 31 18:55:21 2020 New Revision: 357343 URL: https://svnweb.freebsd.org/changeset/base/357343 Log: services: Add PROFInet and EtherCAT. Both are used in industrial networks. MFC after:1 week Modified: head/usr.sbin/services_mkdb/services Modified:

svn commit: r356624 - head/sys/sys

2020-01-10 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 11 01:44:55 2020 New Revision: 356624 URL: https://svnweb.freebsd.org/changeset/base/356624 Log: Update ELFOSABI_* constants with OpenVOS. Reference: https://www.sco.com/developers/gabi/latest/ch4.eheader.html Modified: head/sys/sys/elf_common.h

svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 28 02:58:30 2019 New Revision: 356142 URL: https://svnweb.freebsd.org/changeset/base/356142 Log: SPDX: update some tags with two licenses. Modified: head/sys/dev/ofw/openfirm.h head/sys/sys/sched.h Modified: head/sys/dev/ofw/openfirm.h

svn commit: r356141 - head/lib/libc/arm/string

2019-12-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 28 02:11:41 2019 New Revision: 356141 URL: https://svnweb.freebsd.org/changeset/base/356141 Log: arm/ffs.S: remove stale comment. We already use the CLZ instruction. Discussed with: andrew Modified: head/lib/libc/arm/string/ffs.S Modified:

svn commit: r356106 - head/lib/msun/bsdsrc

2019-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 27 01:11:26 2019 New Revision: 356106 URL: https://svnweb.freebsd.org/changeset/base/356106 Log: msun: drop clause 3 from the Berkeley license. Per the University California Regents letter, drop the so-called "advertisement" clause. Discussed with:

svn commit: r356060 - head/usr.sbin/fstyp

2019-12-24 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 24 19:00:20 2019 New Revision: 356060 URL: https://svnweb.freebsd.org/changeset/base/356060 Log: sbin/fstyp: recgonize Dragonfly's hammer and hammer2. This is based on DragonFly's implementation from about 2019-09-13. It only contains the basic code and header

svn commit: r355968 - stable/12/sys/sys

2019-12-20 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 21 02:40:40 2019 New Revision: 355968 URL: https://svnweb.freebsd.org/changeset/base/355968 Log: MFC r355828: Double the size of ARG_MAX on LP64 platforms. As modern software keeps growing in size, we get requests to update the value of ARG_MAX in order to

svn commit: r355828 - head/sys/sys

2019-12-16 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 16 23:55:30 2019 New Revision: 355828 URL: https://svnweb.freebsd.org/changeset/base/355828 Log: Double the size of ARG_MAX on LP64 platforms. As modern software keeps growing in size, we get requests to update the value of ARG_MAX in order to link the resulting

svn commit: r355762 - head/sys/sys

2019-12-14 Thread Pedro F. Giffuni
Author: pfg Date: Sun Dec 15 01:56:56 2019 New Revision: 355762 URL: https://svnweb.freebsd.org/changeset/base/355762 Log: cdefs: use more accurate GCC version for the deprecated attribute. The message argument in the "deprecated" attribute was introduced in GCC 4.5 *. Use the accurate

svn commit: r355745 - stable/12/contrib/openresolv

2019-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 14 03:14:46 2019 New Revision: 355745 URL: https://svnweb.freebsd.org/changeset/base/355745 Log: MFC 354924: MFV 354917, 354918, 354919 openresolv: update to version 3.9.2 Added: stable/12/contrib/openresolv/LICENSE - copied unchanged from r354924,

svn commit: r354924 - head/contrib/openresolv

2019-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 20 23:56:20 2019 New Revision: 354924 URL: https://svnweb.freebsd.org/changeset/base/354924 Log: MFV 354917, 354918, 354919 openresolv: update to version 3.9.2 MFC after:3 weeks Added: head/contrib/openresolv/LICENSE - copied unchanged from r354917,

svn commit: r354920 - vendor/openresolv/3.9.2

2019-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 20 22:25:49 2019 New Revision: 354920 URL: https://svnweb.freebsd.org/changeset/base/354920 Log: Tag openresolv 3.9.2. More information at: https://roy.marples.name/projects/openresolv Added: vendor/openresolv/3.9.2/ - copied from r354918,

svn commit: r354919 - vendor/openresolv/dist

2019-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 20 22:23:50 2019 New Revision: 354919 URL: https://svnweb.freebsd.org/changeset/base/354919 Log: Import openresolv 3.9.2 More information at: https://roy.marples.name/projects/openresolv Added: vendor/openresolv/dist/LICENSE - copied unchanged from

svn commit: r354918 - vendor/openresolv/dist

2019-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 20 22:20:11 2019 New Revision: 354918 URL: https://svnweb.freebsd.org/changeset/base/354918 Log: Undo r354917 to correct the log: it was actually version 3.9.2 Added: vendor/openresolv/dist/README - copied unchanged from r354916, vendor/openresolv/dist/README

svn commit: r354917 - vendor/openresolv/dist

2019-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Nov 20 22:13:14 2019 New Revision: 354917 URL: https://svnweb.freebsd.org/changeset/base/354917 Log: Import openresolv 3.9.0 More information at: https://roy.marples.name/projects/openresolv Added: vendor/openresolv/dist/LICENSE vendor/openresolv/dist/README.md

svn commit: r352054 - head/sys/dev/ral

2019-09-08 Thread Pedro F. Giffuni
Author: pfg Date: Mon Sep 9 03:31:46 2019 New Revision: 352054 URL: https://svnweb.freebsd.org/changeset/base/352054 Log: ral(4): Use unsigned to avoid undefined behavior. Found by NetBSD's kUBSan Obtained from:NetBSD (github 5b153f1) Modified: head/sys/dev/ral/rt2860.c

svn commit: r346311 - head/share/misc

2019-09-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 14:20:55 2019 New Revision: 346311 URL: https://svnweb.freebsd.org/changeset/base/346311 Log: Add orphan mentee. Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r346310 - head/share/misc

2019-09-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 14:12:11 2019 New Revision: 346310 URL: https://svnweb.freebsd.org/changeset/base/346310 Log: Add myself to ports committers. Approved by: pfg (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

svn commit: r346189 - stable/11/sys/fs/ext2fs

2019-09-03 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 13 20:49:16 2019 New Revision: 346189 URL: https://svnweb.freebsd.org/changeset/base/346189 Log: MFC r344755 (by fsu@) Fix integer overflow possibility. Reported by: Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE

svn commit: r351112 - stable/11/share/man/man4

2019-08-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 16 04:54:38 2019 New Revision: 351112 URL: https://svnweb.freebsd.org/changeset/base/351112 Log: MFC r350970: Add deprecation notice to snd_maestro(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 this old driver is buggy and no one is

svn commit: r351111 - stable/11/share/man/man4

2019-08-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 16 04:53:14 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: MFC r350969: Add deprecation notice to snd_ds1(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 We will be dropping the snd_ds1 driver. The

svn commit: r351110 - stable/12/share/man/man4

2019-08-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 16 04:53:02 2019 New Revision: 351110 URL: https://svnweb.freebsd.org/changeset/base/351110 Log: MFC r350970: Add deprecation notice to snd_maestro(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 this old driver is buggy and no one is

svn commit: r351109 - stable/12/share/man/man4

2019-08-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 16 04:51:04 2019 New Revision: 351109 URL: https://svnweb.freebsd.org/changeset/base/351109 Log: MFC r350969: Add deprecation notice to snd_ds1(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 We will be dropping the snd_ds1 driver. The

svn commit: r350969 - head/share/man/man4

2019-08-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 01:24:43 2019 New Revision: 350969 URL: https://svnweb.freebsd.org/changeset/base/350969 Log: Add deprecation notice to snd_ds1(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 We will be dropping the snd_ds1 driver. The driver is known

svn commit: r350970 - head/share/man/man4

2019-08-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 01:25:07 2019 New Revision: 350970 URL: https://svnweb.freebsd.org/changeset/base/350970 Log: Add deprecation notice to snd_maestro(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 this old driver is buggy and no one is working on it so

svn commit: r350366 - stable/12/sys/fs/ext2fs

2019-07-26 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 26 21:08:01 2019 New Revision: 350366 URL: https://svnweb.freebsd.org/changeset/base/350366 Log: MFC r349802 (from fsu@): Add additional check for 'blocks per group' and 'fragments per group' superblock fields. These fields will not be equal only in case if

svn commit: r348349 - in head: lib/libc/net sys/i386/i386

2019-05-28 Thread Pedro F. Giffuni
Author: pfg Date: Wed May 29 02:08:23 2019 New Revision: 348349 URL: https://svnweb.freebsd.org/changeset/base/348349 Log: typo: suppported. Modified: head/lib/libc/net/rthdr.c head/sys/i386/i386/initcpu.c Modified: head/lib/libc/net/rthdr.c

svn commit: r346311 - head/share/misc

2019-04-17 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 14:20:55 2019 New Revision: 346311 URL: https://svnweb.freebsd.org/changeset/base/346311 Log: Add orphan mentee. Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r346310 - head/share/misc

2019-04-17 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 17 14:12:11 2019 New Revision: 346310 URL: https://svnweb.freebsd.org/changeset/base/346310 Log: Add myself to ports committers. Approved by: pfg (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

svn commit: r346189 - stable/11/sys/fs/ext2fs

2019-04-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 13 20:49:16 2019 New Revision: 346189 URL: https://svnweb.freebsd.org/changeset/base/346189 Log: MFC r344755 (by fsu@) Fix integer overflow possibility. Reported by: Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE

svn commit: r344362 - stable/12/sys/vm

2019-02-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 20 14:10:46 2019 New Revision: 344362 URL: https://svnweb.freebsd.org/changeset/base/344362 Log: MFC r344042: UMA: unsign some variables related to allocation in hash_alloc(). As a followup to r343673, unsign some variables related to allocation since the

svn commit: r344363 - stable/11/sys/vm

2019-02-20 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 20 14:12:25 2019 New Revision: 344363 URL: https://svnweb.freebsd.org/changeset/base/344363 Log: MFC r344042: UMA: unsign some variables related to allocation in hash_alloc(). As a followup to r343673, unsign some variables related to allocation since the

svn commit: r344042 - head/sys/vm

2019-02-11 Thread Pedro F. Giffuni
Author: pfg Date: Tue Feb 12 04:33:05 2019 New Revision: 344042 URL: https://svnweb.freebsd.org/changeset/base/344042 Log: UMA: unsign some variables related to allocation in hash_alloc(). As a followup to r343673, unsign some variables related to allocation since the hashsize cannot be

svn commit: r343989 - stable/11/gnu/usr.bin/grep

2019-02-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 10 23:47:37 2019 New Revision: 343989 URL: https://svnweb.freebsd.org/changeset/base/343989 Log: MFC r342910: grep(1) outputs NOT-matched lines with multi-byte characters PR: 113343 Modified: stable/11/gnu/usr.bin/grep/search.c Directory Properties:

svn commit: r343988 - stable/12/gnu/usr.bin/grep

2019-02-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 10 23:45:14 2019 New Revision: 343988 URL: https://svnweb.freebsd.org/changeset/base/343988 Log: MFC r342910: grep(1) outputs NOT-matched lines with multi-byte characters PR: 113343 Modified: stable/12/gnu/usr.bin/grep/search.c Directory Properties:

svn commit: r343519 - in stable/12: include lib/libc/net

2019-01-27 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 28 02:26:05 2019 New Revision: 343519 URL: https://svnweb.freebsd.org/changeset/base/343519 Log: MFC r342379, r342383: gai_strerror() - Update string error messages according to RFC 3493. Error messages in gai_strerror(3) vary largely among OSs. For new

svn commit: r343517 - stable/11/sys/fs/ext2fs

2019-01-27 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 28 02:12:48 2019 New Revision: 343517 URL: https://svnweb.freebsd.org/changeset/base/343517 Log: MFC r343459: (parcial) ext2fs: Add some extra consistency checks for the superblock. Maliciously formed, or badly corrupted, filesystems can cause kernel panics.

svn commit: r343512 - stable/12/sys/fs/ext2fs

2019-01-27 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 28 01:36:55 2019 New Revision: 343512 URL: https://svnweb.freebsd.org/changeset/base/343512 Log: MFC r343459: ext2fs: Add some extra consistency checks for the superblock. Maliciously formed, or badly corrupted, filesystems can cause kernel panics. In

svn commit: r343459 - head/sys/fs/ext2fs

2019-01-25 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 25 22:22:29 2019 New Revision: 343459 URL: https://svnweb.freebsd.org/changeset/base/343459 Log: ext2fs: Add some extra consistency checks for the superblock. Maliciously formed, or badly corrupted, filesystems can cause kernel panics. In general, such acts of

svn commit: r343258 - stable/10/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:55:10 2019 New Revision: 343258 URL: https://svnweb.freebsd.org/changeset/base/343258 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/10/lib/msun/src/e_j0.c stable/10/lib/msun/src/e_j0f.c Directory

svn commit: r343257 - stable/11/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:54:01 2019 New Revision: 343257 URL: https://svnweb.freebsd.org/changeset/base/343257 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/11/lib/msun/src/e_j0.c stable/11/lib/msun/src/e_j0f.c Directory

svn commit: r343256 - stable/12/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:52:48 2019 New Revision: 343256 URL: https://svnweb.freebsd.org/changeset/base/343256 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/12/lib/msun/src/e_j0.c stable/12/lib/msun/src/e_j0f.c Directory

svn commit: r343023 - head/lib/msun/src

2019-01-14 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 14 15:48:35 2019 New Revision: 343023 URL: https://svnweb.freebsd.org/changeset/base/343023 Log: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 MFC after:1 week Modified: head/lib/msun/src/e_j0.c head/lib/msun/src/e_j0f.c Modified:

svn commit: r343010 - stable/12/share/man/man5

2019-01-13 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 14 03:19:08 2019 New Revision: 343010 URL: https://svnweb.freebsd.org/changeset/base/343010 Log: MFC r342632: ext2fs.5: Update the manpage. General update of the driver description and mention some important credits. Add a symlink for ext4fs as it is of

svn commit: r342910 - head/gnu/usr.bin/grep

2019-01-09 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 10 02:59:19 2019 New Revision: 342910 URL: https://svnweb.freebsd.org/changeset/base/342910 Log: grep(1) outputs NOT-matched lines with multi-byte characters PR113343 MFC after:2 months Modified: head/gnu/usr.bin/grep/search.c Modified:

svn commit: r342851 - head/lib/msun/src

2019-01-07 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 7 17:35:09 2019 New Revision: 342851 URL: https://svnweb.freebsd.org/changeset/base/342851 Log: pow(3): Workaround possible signed shift Undefined Behavior. j is int32_t and thus j<<31 is undefined if j==1. Hinted by:muusl-lib (git

svn commit: r342651 - in head/lib/msun: ld128 src

2018-12-31 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 31 15:43:06 2018 New Revision: 342651 URL: https://svnweb.freebsd.org/changeset/base/342651 Log: msun: Fix some old typos. Seen in a posting from July 27 by "CM Graff" in musl-libc. Modified: head/lib/msun/ld128/e_powl.c head/lib/msun/src/k_rem_pio2.c

svn commit: r342632 - head/share/man/man5

2018-12-30 Thread Pedro F. Giffuni
Author: pfg Date: Sun Dec 30 19:44:50 2018 New Revision: 342632 URL: https://svnweb.freebsd.org/changeset/base/342632 Log: ext2fs.5: Update the manpage. General update of the driver description and mention some important credits. Add a symlink for ext4fs as it is of special interest

svn commit: r342383 - head/include

2018-12-23 Thread Pedro F. Giffuni
Author: pfg Date: Sun Dec 23 20:51:13 2018 New Revision: 342383 URL: https://svnweb.freebsd.org/changeset/base/342383 Log: Fix mismatch from r342379. Modified: head/include/netdb.h Modified: head/include/netdb.h ==

svn commit: r342379 - in head: include lib/libc/net

2018-12-23 Thread Pedro F. Giffuni
Author: pfg Date: Sun Dec 23 18:15:48 2018 New Revision: 342379 URL: https://svnweb.freebsd.org/changeset/base/342379 Log: gai_strerror() - Update string error messages according to RFC 3493. Error messages in gai_strerror(3) vary largely among OSs. For new software we largely

svn commit: r341676 - stable/12/share/man/man5

2018-12-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 7 03:43:34 2018 New Revision: 341676 URL: https://svnweb.freebsd.org/changeset/base/341676 Log: MFC r341505: ext2fs.5: basic updates. Starting with FreeBSD 12 we fully support writing ext4 filesystems. Mention some features that we don't support while here.

svn commit: r341505 - head/share/man/man5

2018-12-04 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 4 22:51:13 2018 New Revision: 341505 URL: https://svnweb.freebsd.org/changeset/base/341505 Log: ext2fs.4: basic updates. Starting with FreeBSD 12 we fully support writing ext4 filesystems. Mention some features that we don't support while here. MFC after:

svn commit: r338707 - in stable/11: include lib/libthr/thread share/man/man3

2018-09-16 Thread Pedro F. Giffuni
Author: pfg Date: Mon Sep 17 02:51:08 2018 New Revision: 338707 URL: https://svnweb.freebsd.org/changeset/base/338707 Log: MFC r337992, r338125: POSIX compliance improvements in the pthread(3) functions. This basically adds makes use of the C99 restrict keyword, and also adds some

svn commit: r338181 - stable/11/usr.bin/printf/tests

2018-08-21 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 22 04:27:33 2018 New Revision: 338181 URL: https://svnweb.freebsd.org/changeset/base/338181 Log: MFC r337728: (committed by jilles) printf: Add test for width and precision in %b format PR: 229641 Added: stable/11/usr.bin/printf/tests/regress.bwidth.out

svn commit: r338180 - stable/10/sys/fs/msdosfs

2018-08-21 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 22 04:21:25 2018 New Revision: 338180 URL: https://svnweb.freebsd.org/changeset/base/338180 Log: MFC r337456: msdosfs: fixes for Undefined Behavior. These were found by the Undefined Behaviour GsoC project at NetBSD: Do not change signedness bit with left

svn commit: r338179 - stable/11/sys/fs/msdosfs

2018-08-21 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 22 04:20:20 2018 New Revision: 338179 URL: https://svnweb.freebsd.org/changeset/base/338179 Log: MFC r337456: msdosfs: fixes for Undefined Behavior. These were found by the Undefined Behaviour GsoC project at NetBSD: Do not change signedness bit with left

svn commit: r338125 - head/lib/libthr/thread

2018-08-20 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 21 01:33:25 2018 New Revision: 338125 URL: https://svnweb.freebsd.org/changeset/base/338125 Log: libthr: minor spacing cleanup. No functional change. X-MFC with: r337992 Modified: head/lib/libthr/thread/thr_attr.c Modified:

svn commit: r338124 - in stable/11/lib/libc: gen inet

2018-08-20 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 21 01:17:28 2018 New Revision: 338124 URL: https://svnweb.freebsd.org/changeset/base/338124 Log: MFC r337422: libc: fix cases of undefined behavior. These were found by the Undefined Behavior GsoC project at NetBSD: Avoid undefined behavior in ftok(3)

svn commit: r337992 - in head: include lib/libthr/thread share/man/man3

2018-08-17 Thread Pedro F. Giffuni
Author: pfg Date: Sat Aug 18 01:05:38 2018 New Revision: 337992 URL: https://svnweb.freebsd.org/changeset/base/337992 Log: POSIX compliance improvements in the pthread(3) functions. This basically adds makes use of the C99 restrict keyword, and also adds some 'const's to four threading

svn commit: r337920 - head/usr.bin/sed

2018-08-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 16 18:35:39 2018 New Revision: 337920 URL: https://svnweb.freebsd.org/changeset/base/337920 Log: Revert r337419. The fix is only partial and causes an asymmetry which breaks a test in multi_test.sh. We should consider both parts of the issue found in

svn commit: r337823 - stable/11/usr.bin/printf

2018-08-14 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 14 22:57:28 2018 New Revision: 337823 URL: https://svnweb.freebsd.org/changeset/base/337823 Log: MFC r337458, r337618: Fix printf(1) ignores width and precision in %b format. The precision with the conversion specifier b is specified by POSIX: see point 7 in

svn commit: r337458 - head/usr.bin/printf

2018-08-08 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 8 15:25:01 2018 New Revision: 337458 URL: https://svnweb.freebsd.org/changeset/base/337458 Log: Fix printf(1) ignores width and precision in %b format. The precision with the conversion specifier b is specified by POSIX: see point 7 in the reference

svn commit: r337457 - head/usr.bin/printf

2018-08-08 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 8 15:12:32 2018 New Revision: 337457 URL: https://svnweb.freebsd.org/changeset/base/337457 Log: Revert r337440: the log message is wrong. Modified: head/usr.bin/printf/printf.c Modified: head/usr.bin/printf/printf.c

svn commit: r337456 - head/sys/fs/msdosfs

2018-08-08 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 8 15:08:22 2018 New Revision: 337456 URL: https://svnweb.freebsd.org/changeset/base/337456 Log: msdosfs: fixes for Undefined Behavior. These were found by the Undefined Behaviour GsoC project at NetBSD: Do not change signedness bit with left shift. While

svn commit: r337440 - head/usr.bin/printf

2018-08-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 7 23:03:50 2018 New Revision: 337440 URL: https://svnweb.freebsd.org/changeset/base/337440 Log: Fix printf(1) ignores width and precision in %b format. The precision with behavior is "unspecified" by POSIX (as of 2018), but most implementations seem to have

svn commit: r337422 - in head/lib/libc: gen inet

2018-08-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 7 15:24:19 2018 New Revision: 337422 URL: https://svnweb.freebsd.org/changeset/base/337422 Log: libc: fix cases of undefined behavior. These were found by the Undefined Behavious GsoC project at NetBSD: Avoid undefined behavior in ftok(3) Do not change

  1   2   3   4   5   6   7   8   9   10   >