Page MenuHomeFreeBSD
Feed Advanced Search

Aug 7 2019

brooks committed rP508349: Assorted minor improvements:.
Assorted minor improvements:
Aug 7 2019, 7:53 PM

Aug 5 2019

brooks committed rP508191: Allow builds with a default python version on 3.7..
Allow builds with a default python version on 3.7.
Aug 5 2019, 4:15 PM
brooks committed rP508190: Welcome LLVM 9.0.0rc1 to the tree..
Welcome LLVM 9.0.0rc1 to the tree.
Aug 5 2019, 4:10 PM

Aug 2 2019

brooks committed rS350545: MFC r350228:.
MFC r350228:
Aug 2 2019, 10:34 PM
brooks committed rS350543: MFC r350228:.
MFC r350228:
Aug 2 2019, 8:31 PM
brooks committed rS350542: MFC r350218:.
MFC r350218:
Aug 2 2019, 8:24 PM
brooks committed rS350539: MFC r350160:.
MFC r350160:
Aug 2 2019, 4:05 PM

Aug 1 2019

brooks committed rS350526: MFC r350160:.
MFC r350160:
Aug 1 2019, 11:29 PM
brooks committed rP507836: Address a code generation bug that could allow the ARM stack protector.
Address a code generation bug that could allow the ARM stack protector
Aug 1 2019, 11:27 PM

Jul 31 2019

brooks committed rS350476: MFC r350159:.
MFC r350159:
Jul 31 2019, 6:40 PM
brooks committed rS350475: MFC r350158:.
MFC r350158:
Jul 31 2019, 6:26 PM
brooks committed rS350474: MFC r350157:.
MFC r350157:
Jul 31 2019, 6:11 PM
brooks committed rS350473: MFC r350157:.
MFC r350157:
Jul 31 2019, 5:56 PM
brooks committed rS350470: MFC r350143, r350148.
MFC r350143, r350148
Jul 31 2019, 5:29 PM
brooks committed rS350469: MFC r350143, r350148.
MFC r350143, r350148
Jul 31 2019, 5:01 PM

Jul 30 2019

D21092: freebsd32 shims for copy_file_range(2) is now accepted and ready to land.

LGTM

Jul 30 2019, 10:16 PM

Jul 29 2019

brooks added a comment to D21092: freebsd32 shims for copy_file_range(2).

Why is a shim required? All arguments are extended to 64-bits as part of the combat layer. There would be an issue if len were an off_t, but it's a size_t. The only pointers point to off_t's which are always 64-bit and thus require no special handling.

Jul 29 2019, 6:09 PM

Jul 26 2019

brooks committed rS350345: MFC r316803,320033,338277,350098,350100-350101.
MFC r316803,320033,338277,350098,350100-350101
Jul 26 2019, 2:50 AM

Jul 25 2019

brooks committed rS350334: MFC r350117:.
MFC r350117:
Jul 25 2019, 8:35 PM
brooks committed rS350332: MFC r350117:.
MFC r350117:
Jul 25 2019, 8:01 PM
brooks committed rS350330: MFC r350116:.
MFC r350116:
Jul 25 2019, 6:16 PM
brooks committed rS350329: MFC r350116:.
MFC r350116:
Jul 25 2019, 5:33 PM
brooks committed rS350328: MFC r350067:.
MFC r350067:
Jul 25 2019, 5:30 PM

Jul 24 2019

brooks committed rS350305: MFC r350102:.
MFC r350102:
Jul 24 2019, 9:40 PM
brooks committed rS350304: MFC r350067:.
MFC r350067:
Jul 24 2019, 9:39 PM
brooks committed rS350300: MFC r350049:.
MFC r350049:
Jul 24 2019, 8:18 PM
brooks committed rS350299: MFC r350102:.
MFC r350102:
Jul 24 2019, 7:57 PM
brooks committed rS350296: MFC r350098, r350100-r350101.
MFC r350098, r350100-r350101
Jul 24 2019, 7:16 PM
brooks updated the summary of D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
Jul 24 2019, 5:25 PM
brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..

This looks like it provides a viable update path. As you say, libc may have some edge case issues, but it does look like it does the job of letting people upgrade without a reinstall from media. What do you think about about timing this change? It seems like it should happen close to the ELFv2 switch so people get the whole thing out of the way at once.

Jul 24 2019, 5:07 PM
brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
  • Detect old auxargs constant and translate them (from bdragon@).
  • Put freebsd_fixup_old_auxargs under #ifdef powerpc.
Jul 24 2019, 5:02 PM

Jul 23 2019

brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..

OK, I wasn't sure exactly how the bits in rtld were going to go. It doesn't look like this is going to be as much help as I'd hoped.

Jul 23 2019, 10:27 PM
brooks added inline comments to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
Jul 23 2019, 2:57 AM
brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
  • Use the correct AT_COUNT value, not the CheriBSD one.
Jul 23 2019, 2:56 AM
brooks added inline comments to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
Jul 23 2019, 2:47 AM

Jul 22 2019

brooks committed rP507178: Update to LLVM 8.0.1..
Update to LLVM 8.0.1.
Jul 22 2019, 10:42 PM
brooks added inline comments to D21031: Add mkostempsat(3)..
Jul 22 2019, 10:23 PM
brooks closed D21002: ata_xpt: Use the correct union member when accessing valid.
Jul 22 2019, 9:08 PM
brooks committed rS350228: ata_xpt: Use the correct union member when accessing valid..
ata_xpt: Use the correct union member when accessing valid.
Jul 22 2019, 9:08 PM
brooks committed rS350218: Be consistent about temporary variable use in adjacent loops..
Be consistent about temporary variable use in adjacent loops.
Jul 22 2019, 6:27 PM
brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..

Did you apply a manual bump of __FreeBSD_version and P_OSREL_POWERPC_NEW_AUX_ARGS? That part of the patch is now out of date.

Jul 22 2019, 6:06 PM

Jul 19 2019

brooks committed rS350160: Avoid copying too much from the input string..
Avoid copying too much from the input string.
Jul 19 2019, 11:58 PM
brooks closed D21004: Avoid copying too much from the input string..
Jul 19 2019, 11:58 PM
brooks committed rS350159: Make setting mips endian and ABI less verbose..
Make setting mips endian and ABI less verbose.
Jul 19 2019, 11:39 PM
brooks closed D21001: Make setting mips endian and ABI less verbose..
Jul 19 2019, 11:39 PM
brooks updated the summary of D21004: Avoid copying too much from the input string..
Jul 19 2019, 11:15 PM
brooks committed rS350158: Remove an unneeded temporary variable in two functions..
Remove an unneeded temporary variable in two functions.
Jul 19 2019, 11:10 PM
brooks committed rS350157: Use the __DECONST macro rather than hand rolling it..
Use the __DECONST macro rather than hand rolling it.
Jul 19 2019, 10:54 PM
brooks created D21004: Avoid copying too much from the input string..
Jul 19 2019, 10:47 PM
brooks added a comment to D21002: ata_xpt: Use the correct union member when accessing valid.

I found this in our CheriBSD diffs. I'm not sure how @arichardson ran into it.

Jul 19 2019, 10:30 PM
brooks created D21002: ata_xpt: Use the correct union member when accessing valid.
Jul 19 2019, 10:29 PM
brooks created D21001: Make setting mips endian and ABI less verbose..
Jul 19 2019, 9:38 PM
brooks committed rS350148: Restore WARNS?=1 here. I missed that libexec/bootpd/bootpgw existed..
Restore WARNS?=1 here. I missed that libexec/bootpd/bootpgw existed.
Jul 19 2019, 6:47 PM
brooks committed rS350143: Chain Makefile.inc's so default are inherited as expected..
Chain Makefile.inc's so default are inherited as expected.
Jul 19 2019, 5:52 PM

Jul 18 2019

brooks closed D20989: Include a mode when creating files with openat()..
Jul 18 2019, 9:38 PM
brooks committed rS350117: Include a mode when creating files with openat()..
Include a mode when creating files with openat().
Jul 18 2019, 9:38 PM
Herald added a reviewer for D20982: Document that setmode(3) is not thread safe.: manpages.
Jul 18 2019, 9:34 PM
brooks committed rS350116: Document that setmode(3) is not thread safe..
Document that setmode(3) is not thread safe.
Jul 18 2019, 9:34 PM
brooks created D20989: Include a mode when creating files with openat()..
Jul 18 2019, 9:32 PM

Jul 17 2019

brooks created D20982: Document that setmode(3) is not thread safe..
Jul 17 2019, 11:53 PM
brooks committed rS350102: Remove redundent decleration of __elf_phdr_match_addr()..
Remove redundent decleration of __elf_phdr_match_addr().
Jul 17 2019, 11:47 PM
brooks committed rS350101: Remove a duplicate global (rfc931_timeout)..
Remove a duplicate global (rfc931_timeout).
Jul 17 2019, 11:43 PM
brooks committed rS350100: Use headers instead of manual declerations of standard functions and.
Use headers instead of manual declerations of standard functions and
Jul 17 2019, 11:36 PM
brooks committed rS350098: Use ANSI C function definitions and declerations..
Use ANSI C function definitions and declerations.
Jul 17 2019, 11:10 PM

Jul 16 2019

brooks committed rS350067: Add missing mode in open(2) calls with O_CREAT..
Add missing mode in open(2) calls with O_CREAT.
Jul 16 2019, 10:28 PM
brooks closed D20972: Add missing permissions in open(2) calls with O_CREAT..
Jul 16 2019, 10:28 PM
brooks added a comment to D20972: Add missing permissions in open(2) calls with O_CREAT..

NetBSD just committed these changes and some others just now. I'm waiting for cvsweb to update so I can check what was actually committed.

Jul 16 2019, 6:16 PM
brooks committed rP506765: Pin the python version to 3.6 to fix builds with 2.7 as the default..
Pin the python version to 3.6 to fix builds with 2.7 as the default.
Jul 16 2019, 4:40 PM
brooks added a comment to D20972: Add missing permissions in open(2) calls with O_CREAT..

Submitted upstream: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54382

Jul 16 2019, 4:35 PM
brooks created D20972: Add missing permissions in open(2) calls with O_CREAT..
Jul 16 2019, 4:34 PM
brooks closed D20964: Fix two mismatches between function declaration and definition..
Jul 16 2019, 4:03 PM
brooks committed rS350049: Fix two mismatches between function declaration and definition..
Fix two mismatches between function declaration and definition.
Jul 16 2019, 4:03 PM
brooks retitled D20964: Fix two mismatches between function declaration and definition. from Fix two mismatches between function decleration and definition. to Fix two mismatches between function declaration and definition..
Jul 16 2019, 4:02 PM

Jul 15 2019

brooks added a comment to D20964: Fix two mismatches between function declaration and definition..

While we should probably just do in amd, these are easy fixes and there's no upstream conflicts to worry about (last am-utils release in 2014 and their git server don't seem to host a repo.

Jul 15 2019, 10:47 PM
brooks created D20964: Fix two mismatches between function declaration and definition..
Jul 15 2019, 10:44 PM
brooks committed rP506706: Upgrade to a newer snapshot..
Upgrade to a newer snapshot.
Jul 15 2019, 7:50 PM

Jul 11 2019

brooks committed rP506416: Update to a new snapshot..
Update to a new snapshot.
Jul 11 2019, 4:59 PM

Jul 9 2019

brooks added a comment to D20864: Let linuxulator mprotect mask unsupported bits before calling kern_mprotect.

It seems deeply weird that a program would set these flags with mprotect, but this change seems fine (modulo changing the error to EINVAL).

Jul 9 2019, 6:31 PM

Jul 3 2019

brooks committed rP505794: Add missed patch in previous commit to allow LLDB docs to build with the.
Add missed patch in previous commit to allow LLDB docs to build with the
Jul 3 2019, 8:46 PM

Jul 2 2019

brooks added a comment to D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..
  • Call __sys_nmount from the mount wrapper.
Jul 2 2019, 6:06 PM
brooks committed rP505690: Update to a fresh (2019-07-01) snapshot..
Update to a fresh (2019-07-01) snapshot.
Jul 2 2019, 5:05 PM
brooks added inline comments to D20795: Control implicit PROT_MAX() using proccontrol(1) and the FreeBSD note feature bit..
Jul 2 2019, 4:23 PM

Jun 28 2019

D20800: Use a consistent snapshot of the fd's rights in fget_mmap(). is now accepted and ready to land.

LGTM

Jun 28 2019, 10:23 PM
brooks created D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..
Jun 28 2019, 8:35 PM
brooks added a comment to D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..

I've addressed the main technical concerns (other then which syscall implementation to call). If we agree to move forward with this patch I can address style(9), but don't want to spend the time unless it's going to land in FreeBSD.

Jun 28 2019, 6:50 PM
brooks added a comment to D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..
  • Explain magic numbers in comments.
  • Make supported_fs static.
  • Use nitems() rather then a NULL terminated array.
Jun 28 2019, 6:48 PM
brooks added a comment to D20772: Provide protection against starvation of the ll/sc loops when accessing userpace..

mips64 (with CHERI) boots with this patch applied.

Jun 28 2019, 6:14 PM

Jun 26 2019

brooks added a comment to D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..

If we can actually get rid of amd that would be sufficient for my local uses, but I doubt it's the only consumer.

Jun 26 2019, 6:21 PM
brooks added a comment to D20772: Provide protection against starvation of the ll/sc loops when accessing userpace..

I've glanced at the mips bits and the manpage updates and they look ok.

Jun 26 2019, 6:06 PM

Jun 25 2019

brooks added a comment to D20761: Add BSD+Patent.

LGTM

Jun 25 2019, 5:23 PM

Jun 21 2019

brooks added a comment to D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..

I'd eventually like to move mount(2) under COMPATXX, but that's probably a long road. I've talked to one storage vendor who hasn't migrated their internal filesystem to nmount yet which suggests there are more.

Jun 21 2019, 3:15 PM
brooks created D20716: Replace mount(2) calls to in-tree filesystems will nmount(2)..
Jun 21 2019, 3:15 AM

Jun 20 2019

brooks committed rS349245: Add PROT_MAX to the HISTORY section..
Add PROT_MAX to the HISTORY section.
Jun 20 2019, 9:52 PM
Herald added a reviewer for D20713: Add PROT_MAX to the HISTORY section.: manpages.
Jun 20 2019, 9:52 PM
brooks created D20713: Add PROT_MAX to the HISTORY section..
Jun 20 2019, 9:22 PM
brooks committed rS349240: Extend mmap/mprotect API to specify the max page protections..
Extend mmap/mprotect API to specify the max page protections.
Jun 20 2019, 6:24 PM
Herald added a reviewer for D18880: Extend mmap/mprotect API to specify the max page protections.: manpages.
Jun 20 2019, 6:24 PM
brooks added inline comments to D20709: Clarify that vm_map_protect cannot upgrade max_protection.
Jun 20 2019, 6:04 PM
D20709: Clarify that vm_map_protect cannot upgrade max_protection is now accepted and ready to land.
Jun 20 2019, 6:04 PM

Jun 19 2019

brooks added a comment to D18880: Extend mmap/mprotect API to specify the max page protections..

One last thing before I commit this version. I'm trying to decide if I care about being able to detect PROT_MAX(PROT_NONE) and mostly leaning towards "no, use MAP_GUARD instead". Any alternative views?

IMO "use MAP_GUARD" is fine and if we really need to we can revisit after we have some experience with arbitrary software.

Jun 19 2019, 9:29 PM