Page MenuHomeFreeBSD
Feed Advanced Search

Nov 20 2017

pfg committed rS326027: Indent protection and some other oops from the prvious commits..
Indent protection and some other oops from the prvious commits.
Nov 20 2017, 7:56 PM
pfg committed rS326025: General further adoption of SPDX licensing ID tags..
General further adoption of SPDX licensing ID tags.
Nov 20 2017, 7:50 PM
pfg committed rS326024: include: further adoption of SPDX licensing ID tags..
include: further adoption of SPDX licensing ID tags.
Nov 20 2017, 7:45 PM
pfg committed rS326023: sys: further adoption of SPDX licensing ID tags..
sys: further adoption of SPDX licensing ID tags.
Nov 20 2017, 7:44 PM
pfg committed rS326022: sys/dev: further adoption of SPDX licensing ID tags..
sys/dev: further adoption of SPDX licensing ID tags.
Nov 20 2017, 7:36 PM

Nov 18 2017

pfg updated the diff for D13133: Add SPDX license tags for 4 Clause BSD Licensed files..

Fix copy/pasto that broke the build.

Nov 18 2017, 12:14 AM

Nov 17 2017

pfg added a comment to D13133: Add SPDX license tags for 4 Clause BSD Licensed files..
In D13133#273041, @imp wrote:

I spot checked about a dozen of these. I see no issues.

One thing that I worry about the crazy files that have 2 or 3 different licenses...

Nov 17 2017, 6:48 PM
pfg added reviewers for D13133: Add SPDX license tags for 4 Clause BSD Licensed files.: emaste, bcr, eadler, imp.

I know this change is too big for a review but given that the BSD 4 Clause license is considered problematic for some it is rather good to have some reference on where it currently applies.

Nov 17 2017, 3:27 PM
pfg created D13133: Add SPDX license tags for 4 Clause BSD Licensed files..
Nov 17 2017, 3:18 PM

Nov 14 2017

pfg accepted D12631: patch(1): don't assume a match if we run out of context to check.

Can we come to a consensus on this, before I re-commit? @antoine has fixed up the non-applicable patches in the ports tree, so those should not be an issue any longer. I go back and forth on how much damage might have been done; other BSDs seem to also have this same behavior, but GNU patch will not let these patches be mis-applied as we do.

Nov 14 2017, 5:27 PM

Nov 13 2017

pfg committed rS325750: MFC r324962 (by fsu@):.
MFC r324962 (by fsu@):
Nov 13 2017, 2:31 AM

Nov 10 2017

pfg added a comment to D12631: patch(1): don't assume a match if we run out of context to check.
In D12631#270553, @cem wrote:

I think we should consider just fixing the bad patches, then re-applying this change.

Nov 10 2017, 1:26 AM
pfg added a comment to D12631: patch(1): don't assume a match if we run out of context to check.

As seen in the exp-run, there are patches out there that will break for this case.
I think we should skip the check when the -f, --force flag is specified.
Perhaps just changing the check to:

if (!force && pline > pat_lines)

will do the trick.

Nov 10 2017, 12:17 AM

Nov 9 2017

pfg added inline comments to D12631: patch(1): don't assume a match if we run out of context to check.
Nov 9 2017, 11:21 PM
pfg accepted D13015: Axe xlint..
In D13015#270408, @kib wrote:
In D13015#270406, @pfg wrote:

This is all fine and well but we still also have a bunch of
#if defined(lint)
all over the tree

Perhaps we should at least clean the lint cruft from sys/sys/cdefs.h

I specifically mentioned this in the explanation. I do not want to touch this now, and limited cleanup might be done later. I only want to remove the lint itself and lint libraries build as the first step.

Nov 9 2017, 5:02 PM
pfg accepted D13016: Remove i386 XBOX support..
Nov 9 2017, 3:58 PM
pfg accepted D13015: Axe xlint..

This is all fine and well but we still also have a bunch of
#if defined(lint)
all over the tree

Nov 9 2017, 3:17 PM

Nov 7 2017

pfg committed rS325513: MFC r325397:.
MFC r325397:
Nov 7 2017, 3:52 PM
pfg committed rS325514: MFC r325397:.
MFC r325397:
Nov 7 2017, 3:52 PM

Nov 4 2017

pfg committed rS325397: ANSI-fy exec_shell_imgact()..
ANSI-fy exec_shell_imgact().
Nov 4 2017, 3:41 PM
pfg committed rS325396: MFC r325067:.
MFC r325067:
Nov 4 2017, 2:57 PM
pfg committed rS325395: MFC r325067:.
MFC r325067:
Nov 4 2017, 2:49 PM
pfg committed rS325394: MFC r325066:.
MFC r325066:
Nov 4 2017, 2:45 PM
pfg committed rS325393: MFC r325066:.
MFC r325066:
Nov 4 2017, 2:44 PM
pfg committed rS325391: MFC r323547, r323598:.
MFC r323547, r323598:
Nov 4 2017, 2:35 PM

Oct 31 2017

pfg added a comment to D12631: patch(1): don't assume a match if we run out of context to check.

Yeah, but that one's going to take a little bit of time, unfortunately. We currently have no tests for patch(1) at all, so I've got it on a list somewhere to write a bunch of patch(1) tests and include this as well as the other bug I recently fixed.

Oct 31 2017, 3:18 PM

Oct 30 2017

pfg committed rS325164: MFC r324620 (by fsu@):.
MFC r324620 (by fsu@):
Oct 30 2017, 8:31 PM

Oct 28 2017

pfg committed rS325067: bsnmpd: Only refresh devtree if devd event is a new or removed device..
bsnmpd: Only refresh devtree if devd event is a new or removed device.
Oct 28 2017, 9:27 PM
pfg committed rS325066: Fix out-of-bounds read in libc/regex..
Fix out-of-bounds read in libc/regex.
Oct 28 2017, 8:09 PM

Oct 18 2017

pfg accepted D12709: ext2: delete redundant decl of ext2_fserr.

To Fedor: we need to setup a tinderbox build in the "universe" machines to catch things like this before committing.

Oct 18 2017, 12:00 AM

Oct 17 2017

pfg added a comment to D12683: pms/freebsd: fix compiler warnings.

FWIW, I sent benno some typo fixes long ago but I never heard from him (I'll dig up the patches again) ... the upstream email address is no more.

Oct 17 2017, 7:34 PM
pfg accepted D12683: pms/freebsd: fix compiler warnings.

Upstream indeed seems to have disappeared but Benno Rice may know better.

Oct 17 2017, 5:34 PM

Oct 11 2017

pfg accepted D12485: fuse.ko: Add extattrs support..

I will be AFK starting tomorrow ... looks good to me.

Oct 11 2017, 3:33 PM

Oct 10 2017

pfg committed rS324505: MFC r322368, r322371:.
MFC r322368, r322371:
Oct 10 2017, 9:05 PM

Oct 9 2017

pfg accepted D12631: patch(1): don't assume a match if we run out of context to check.

Looks reasonable .. thanks!

Oct 9 2017, 8:59 PM

Oct 7 2017

pfg accepted D12609: patch(1): Don't overrun line buffer if line is not completely malformed.
Oct 7 2017, 3:36 AM

Sep 29 2017

pfg accepted D12485: fuse.ko: Add extattrs support..
In D12485#260056, @thisisadrgreenthumb_gmail.com wrote:
  • remove extattr namespaces sysctl.
Sep 29 2017, 2:02 PM
pfg added a comment to D12485: fuse.ko: Add extattrs support..
In D12485#259923, @cem wrote:
In D12485#259922, @pfg wrote:

I will be glad to approve the next iteration of this patch.

FWIW, I haven't reviewed fuse_xattrlist_convert at all because it looks "complicated" and still have hesitations about doing it in-place

Sep 29 2017, 2:00 PM

Sep 28 2017

pfg added a comment to D12485: fuse.ko: Add extattrs support..
In D12485#259905, @cem wrote:

Changes from v2 to v3 look mostly good!

In D12485#259853, @pfg wrote:

The problem I see with the sysctl is that we have too many of them; they are generally undocumented, and it's ultimately unlikely people will spend time on it. A default value ("fusefs" perhaps?) would be good to have.

I think the main problem is it configures globally a setting that is most useful per mount. But maybe I am overestimating the number of FUSE mounts people have.

Sep 28 2017, 4:43 PM
pfg added a reviewer for D12087: ext2fs: extents, initial RW support: cem.

Add cem@, he may want to review it before it lands.

Sep 28 2017, 2:29 PM
pfg added a comment to D12485: fuse.ko: Add extattrs support..

Thanks cem@ for the review.

Sep 28 2017, 2:24 PM

Sep 25 2017

pfg added a comment to D12485: fuse.ko: Add extattrs support..

Related good news: thanks to mandree@ , the sysutils/e2fsprogs now has a FUSEFS option to build the fuse support.

Sep 25 2017, 2:52 AM

Sep 24 2017

pfg committed rS323980: Small style(9) issue: spaces vs TAB..
Small style(9) issue: spaces vs TAB.
Sep 24 2017, 8:57 PM
pfg accepted D12087: ext2fs: extents, initial RW support.

This looks good to me.

Sep 24 2017, 2:46 PM

Sep 14 2017

pfg committed rS323598: libedit: raise the warning level to 3..
libedit: raise the warning level to 3.
Sep 14 2017, 7:50 PM
pfg accepted D12361: Bring in bit operation functions, ala gawk..
Sep 14 2017, 5:11 AM

Sep 13 2017

pfg accepted D12361: Bring in bit operation functions, ala gawk..

Minor tab/space issues but otherwise looks fine. Thanks!

Sep 13 2017, 8:35 PM
pfg committed rS323548: MFC r322925:.
MFC r322925:
Sep 13 2017, 4:21 PM
pfg committed rS323547: libedit: add missing bracket..
libedit: add missing bracket.
Sep 13 2017, 4:13 PM
pfg committed rS323546: Tag import of libedit 2017-09-05..
Tag import of libedit 2017-09-05.
Sep 13 2017, 4:05 PM
pfg committed rS323545: Import libedit 2017-09-05.
Import libedit 2017-09-05
Sep 13 2017, 3:58 PM

Sep 8 2017

pfg committed rS323311: Add Fedor Uporov (fsu@) as a src committer..
Add Fedor Uporov (fsu@) as a src committer.
Sep 8 2017, 2:35 PM

Sep 3 2017

pfg abandoned D3189: Experimental Workqueue support.

Recent changes cause breakage in lib/libthr/thread/thr_workq.c:

Sep 3 2017, 5:46 PM

Sep 2 2017

pfg updated the diff for D3189: Experimental Workqueue support.

Bring up to date with latest head.

Sep 2 2017, 10:35 PM

Aug 26 2017

pfg accepted D12131: ext2fs:Fix huge_file feature.

Such files only make sense in filesystems bigger than ext2/3. so of course, this only makes sense as preparation for ext4 write support.

Aug 26 2017, 8:04 PM
pfg committed rS322925: libc: minor indent(1) cleanups..
libc: minor indent(1) cleanups.
Aug 26 2017, 4:11 PM

Aug 25 2017

pfg added a comment to D12087: ext2fs: extents, initial RW support.
In D12087#251589, @thisisadrgreenthumb_gmail.com wrote:

Ok, I am not sure that it is possible to overflow this variable.
We have 16 bit from e2di_nblock_high and 32 bit from e2di_nblock.
So:
pow(2, 48) * 512 / pow(1024,4) = 131072
Where result is in TBs.
The we can see from https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout (File System Maximums table)
That for 64k blocks in both 32bit and 64bit cases we have maximum file size 256TB.

As I can see on linux there is the next logic:
if (i_blocks <= 0xffffffffffffULL) {

		/*
		 * i_blocks can be represented in a 48 bit variable
		 * as multiple of 512 bytes
		 */
		...

} else {
... - use blocks
}

Aug 25 2017, 3:23 PM

Aug 24 2017

pfg added a comment to D12087: ext2fs: extents, initial RW support.
In D12087#251428, @thisisadrgreenthumb_gmail.com wrote:
In D12087#251372, @pfg wrote:

I might have missed it, but have you considered the case that requires writing EXT4_HUGE_FILEs?

Yep, you can see it from attached test script, the mkfs option -O huge_file was added in all cases.

Aug 24 2017, 3:27 PM
pfg added a comment to D12087: ext2fs: extents, initial RW support.

I might have missed it, but have you considered the case that requires writing EXT4_HUGE_FILEs?

Aug 24 2017, 1:12 AM

Aug 23 2017

pfg committed rS322814: MFC r320146, r320170, 320842:.
MFC r320146, r320170, 320842:
Aug 23 2017, 3:44 PM

Aug 20 2017

pfg committed rS322738: MFC r320578:.
MFC r320578:
Aug 20 2017, 11:06 PM
pfg added a comment to D12087: ext2fs: extents, initial RW support.

Very interesting feature. Small knits for now. Thanks!

Aug 20 2017, 8:33 PM
pfg committed rS322712: MFC r320145:.
MFC r320145:
Aug 20 2017, 1:27 AM
pfg committed rS322711: MFC r316341, r317779, r319071, r319077, r319557, r319558, r319827, r319829:.
MFC r316341, r317779, r319071, r319077, r319557, r319558, r319827, r319829:
Aug 20 2017, 1:08 AM

Aug 15 2017

pfg committed rP447988: cad/calculix: attempt to fix build from pkg-fallout..
cad/calculix: attempt to fix build from pkg-fallout.
Aug 15 2017, 4:02 PM
pfg committed rS322524: MFC r322368, r322371:.
MFC r322368, r322371:
Aug 15 2017, 12:54 AM
pfg abandoned D11590: Split ccx out of cad/calculix.

Committed revision 447973.

Aug 15 2017, 12:21 AM · Ports Committers
pfg committed rP447973: cad/calculix: Split the ccx analyzer out of the main port..
cad/calculix: Split the ccx analyzer out of the main port.
Aug 15 2017, 12:18 AM

Aug 14 2017

pfg updated the diff for D11590: Split ccx out of cad/calculix.

Update with some review from gerald@

Aug 14 2017, 1:42 AM · Ports Committers

Aug 10 2017

pfg committed rS322371: fnmatch(3): Update testcase for r322368..
fnmatch(3): Update testcase for r322368.
Aug 10 2017, 5:04 PM
pfg committed rS322368: fnmatch(3): improve POSIX conformance..
fnmatch(3): improve POSIX conformance.
Aug 10 2017, 3:42 PM

Aug 4 2017

pfg committed rS322061: MFC r321838:.
MFC r321838:
Aug 4 2017, 8:24 PM
pfg committed rS322060: MFC r321838:.
MFC r321838:
Aug 4 2017, 8:23 PM

Aug 3 2017

pfg added a comment to D11530: ext2fs: Add 64bit feature support.
In D11530#245279, @thisisadrgreenthumb_gmail.com wrote:

Sorry for long delay from my side, but, seems like, this review revision should be frozen. It contain some "fundamental" problems, which can not be resolved directly. I found it, when started to play with large zvols. So, I need some time, and I can not estimate it for now.

Aug 3 2017, 3:40 PM

Aug 2 2017

pfg removed a reviewer for D11530: ext2fs: Add 64bit feature support: rwatson.

ping @kevlo: any comments?

Aug 2 2017, 5:06 PM

Aug 1 2017

pfg committed rS321838: sys/net8021: Add missing braces in setcurchan()..
sys/net8021: Add missing braces in setcurchan().
Aug 1 2017, 3:14 AM
pfg committed rS321834: Bring my aging self to calendar.freebsd..
Bring my aging self to calendar.freebsd.
Aug 1 2017, 1:35 AM
pfg committed rS321833: MFC r320990, r321011:.
MFC r320990, r321011:
Aug 1 2017, 1:25 AM
pfg committed rS321832: MFC r320990, r321011:.
MFC r320990, r321011:
Aug 1 2017, 1:24 AM

Jul 22 2017

pfg removed reviewers for D3848: follow up the latest stack-protector-strong changes in libc too: pfg, kib.
In D3848#242303, @kib wrote:

...

pfg, do not waste your time on this.

Jul 22 2017, 4:52 PM

Jul 21 2017

pfg added a comment to D3848: follow up the latest stack-protector-strong changes in libc too.
In D3848#242229, @pfg wrote:
In D3848#242083, @jlh wrote:

I think stack protection has already been disabled in the very low level stuff. This change is fairly non-intrusive and I think he ready for further testing. Go ahead and commit please.

There are too many assumptions in the above statements. Oliver, have you tested this? I have only done very light testing so I don't want to assume responsibility.

Also, let me cc kib@ since this may end up affecting rtld.

Would you like me to do a ports exp-run with this patch applied next week with HardenedBSD's infrastructure? I'd be more than happy to.

Jul 21 2017, 10:11 PM
pfg added a reviewer for D3848: follow up the latest stack-protector-strong changes in libc too: kib.
In D3848#242083, @jlh wrote:

I think stack protection has already been disabled in the very low level stuff. This change is fairly non-intrusive and I think he ready for further testing. Go ahead and commit please.

Jul 21 2017, 9:01 PM

Jul 20 2017

pfg committed rS321297: Revert r316779:.
Revert r316779:
Jul 20 2017, 5:22 PM

Jul 15 2017

pfg committed rS321011: libthr: check for possible overflow in the pthread_barrier_init() count..
libthr: check for possible overflow in the pthread_barrier_init() count.
Jul 15 2017, 3:00 PM

Jul 14 2017

pfg committed rS320990: libthr: 'count' is unsigned so don't check for negative values..
libthr: 'count' is unsigned so don't check for negative values.
Jul 14 2017, 4:06 PM
pfg updated the diff for D11590: Split ccx out of cad/calculix.

Change according to feedback: instead of creating a -cgx part, only split away the ccx part. his is less confusing for end users and still attains our objective of constraining the fortran part in an independent port.
It also reduces the diffs.

Jul 14 2017, 3:22 PM · Ports Committers

Jul 13 2017

pfg created D11590: Split ccx out of cad/calculix.
Jul 13 2017, 10:56 PM · Ports Committers

Jul 10 2017

pfg accepted D11549: Remove Unneeded Build of Heimdal for Bootstrap Tools.

I can't think of a better test for this than a tinderbox build.

Jul 10 2017, 12:52 AM

Jul 9 2017

pfg added a comment to D11530: ext2fs: Add 64bit feature support.
In D11530#238833, @thisisadrgreenthumb_gmail.com wrote:

Ha...! The zfs with compressed zvol is good idea.

Jul 9 2017, 9:41 PM
pfg added a comment to D3848: follow up the latest stack-protector-strong changes in libc too.
In D3848#238514, @jlh wrote:

Any update?

Jul 9 2017, 6:18 PM
pfg added inline comments to D11530: ext2fs: Add 64bit feature support.
Jul 9 2017, 6:11 PM
pfg added a comment to D11530: ext2fs: Add 64bit feature support.
In D11530#238821, @thisisadrgreenthumb_gmail.com wrote:
In D11530#238803, @pfg wrote:

You can use the existing ext4gd fields but for the others we need to have extra care.

I think/suspect the 64BIT flag needs a 64 bit system and basically breaks the on-disk compatibility: I recall it was causing issues with some bootloaders.

The feature, just called 64bit, but, as I told, it is does not related to base types sizes, it is only about increasing size of struct ext2_gd, to add additional fields. Could you please describe about bootloadres? Do you mean, that FreeBSD ext2fs uses to mount boot volume somewhere?

To be able to test the patch for real you need a huge (>16T) filesystem. IMHO enabling the feature for smaller filesystems i nonsense, but it is something that is not under our control.

Here, you are completely right, only one way to test blocks allocation outside of UINT_MAX range is to use large volume, filled with real data, I am thinking about renting FreeBSD server somewhere, because I do not have access to large drives with TB sizes.

Jul 9 2017, 6:06 PM
pfg added inline comments to D11530: ext2fs: Add 64bit feature support.
Jul 9 2017, 5:46 PM
pfg added a comment to D11530: ext2fs: Add 64bit feature support.
Jul 9 2017, 5:45 PM
pfg added a comment to D11530: ext2fs: Add 64bit feature support.
In D11530#238821, @thisisadrgreenthumb_gmail.com wrote:
In D11530#238803, @pfg wrote:

You can use the existing ext4gd fields but for the others we need to have extra care.

I think/suspect the 64BIT flag needs a 64 bit system and basically breaks the on-disk compatibility: I recall it was causing issues with some bootloaders.

The feature, just called 64bit, but, as I told, it is does not related to base types sizes, it is only about increasing size of struct ext2_gd, to add additional fields. Could you please describe about bootloadres? Do you mean, that FreeBSD ext2fs uses to mount boot volume somewhere?

Jul 9 2017, 5:44 PM
pfg added a comment to D11530: ext2fs: Add 64bit feature support.

You can use the existing ext4gd fields but for the others we need to have extra care.

Jul 9 2017, 4:01 PM
pfg committed rS320842: Remove stale comments..
Remove stale comments.
Jul 9 2017, 3:19 PM
pfg committed rS320841: MFC r320408:.
MFC r320408:
Jul 9 2017, 3:14 PM
pfg committed rS320840: MFC r320408:.
MFC r320408:
Jul 9 2017, 3:13 PM
pfg committed rS320839: MFC r320079:.
MFC r320079:
Jul 9 2017, 3:09 PM