Page MenuHomeFreeBSD
Feed Advanced Search

Nov 15 2021

mw added a comment to D27666: Enable ASLR by default for 64-bit executables..

As a result, although the tests on 32-bit architectures with ASLR enabled were
mostly on par with what was observed on 64-bit ones, the defaults for the
former are not changed. Also, for the sake of safety keep the feature disabled for 32-bit
executables on 64-bit machines, too.

I might write are not changed at this time to suggest this is not necessarily a final decision (in fact, it's not really a decision at all, 32-bit is probably not relevant enough to spend much effort on).

Nov 15 2021, 3:17 PM · PowerPC, security, arm64
mw updated the summary of D27666: Enable ASLR by default for 64-bit executables..
Nov 15 2021, 3:17 PM · PowerPC, security, arm64
emaste added a comment to D27666: Enable ASLR by default for 64-bit executables..

As a result, although the tests on 32-bit architectures with ASLR enabled were
mostly on par with what was observed on 64-bit ones, the defaults for the
former are not changed. Also, for the sake of safety keep the feature disabled for 32-bit
executables on 64-bit machines, too.

Nov 15 2021, 3:10 PM · PowerPC, security, arm64
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#744905, @kib wrote:

Yes, leave it. I think it is verbose but explicit so that more people can notice that if pointed to.

Nov 15 2021, 2:53 PM · PowerPC, security, arm64
mw updated the summary of D27666: Enable ASLR by default for 64-bit executables..
Nov 15 2021, 2:52 PM · PowerPC, security, arm64
kib added a comment to D27666: Enable ASLR by default for 64-bit executables..

Yes, leave it. I think it is verbose but explicit so that more people can notice that if pointed to.

Nov 15 2021, 2:15 PM · PowerPC, security, arm64
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#744903, @kib wrote:

I suggest also dropping the

In case any change in the OS behavior is observed, that can be possibly
caused by this patch, it is recommended to use freebsd-bugs@freebsd.org
mailing list for reporting and discussing the encountered issue. Also,

wording.

Nov 15 2021, 2:12 PM · PowerPC, security, arm64
kib added a comment to D27666: Enable ASLR by default for 64-bit executables..

I suggest also dropping the

In case any change in the OS behavior is observed, that can be possibly
caused by this patch, it is recommended to use freebsd-bugs@freebsd.org
mailing list for reporting and discussing the encountered issue. Also,

wording.

Nov 15 2021, 1:44 PM · PowerPC, security, arm64
mw updated the summary of D27666: Enable ASLR by default for 64-bit executables..
Nov 15 2021, 10:47 AM · PowerPC, security, arm64

Nov 12 2021

kib added a comment to D27666: Enable ASLR by default for 64-bit executables..

I think it is better to provide short and concise list of potential issues with ASLR, like this:

  • changed ABI due to modified layout of address space
  • address space fragmentation
  • non-reproducable address space layout between runs
  • harder debugging
  • some debuggers automatically disable ASLR for spawned targets, making target' environment different between debug and non-debug runs
Nov 12 2021, 7:50 PM · PowerPC, security, arm64
mw updated the summary of D27666: Enable ASLR by default for 64-bit executables..
Nov 12 2021, 7:28 PM · PowerPC, security, arm64

Nov 4 2021

alfredo planned changes to D32838: powerpc64: add default boot option to enable autoboot.

assume it's a draft until proper tests are in progress

Nov 4 2021, 9:14 PM · PowerPC
alfredo retitled D32838: powerpc64: add default boot option to enable autoboot from draftpowerpc64: add default boot option to enable autoboot to [draft] powerpc64: add default boot option to enable autoboot.
Nov 4 2021, 9:13 PM · PowerPC
alfredo requested review of D32838: powerpc64: add default boot option to enable autoboot.
Nov 4 2021, 9:12 PM · PowerPC
mw updated the diff for D27666: Enable ASLR by default for 64-bit executables..

Limit setting of __elfN(pie_aslr_enabled) for only 64-bit PIE binaries.

Nov 4 2021, 3:42 PM · PowerPC, security, arm64
luporl added reviewers for D29000: Export RGB offsets with FBIO_GETRGBOFFS: ARM, PowerPC.
Nov 4 2021, 12:37 PM · PowerPC
alfredo accepted D29000: Export RGB offsets with FBIO_GETRGBOFFS.

LGTM. Would be good to add arm group for review and smoke test this change

Nov 4 2021, 12:31 PM · PowerPC

Nov 3 2021

alfredo closed D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Nov 3 2021, 1:50 PM · PowerPC

Nov 2 2021

mw added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Nov 2 2021, 5:18 PM · PowerPC, security, arm64
dgr_semihalf.com added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Nov 2 2021, 4:06 PM · PowerPC, security, arm64

Nov 1 2021

alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

correct comments wording

Nov 1 2021, 2:33 PM · PowerPC
luporl accepted D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Nov 1 2021, 12:29 PM · PowerPC

Oct 29 2021

alfredo added a reviewer for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64: PowerPC.
Oct 29 2021, 2:59 PM · PowerPC
alfredo added inline comments to D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Oct 29 2021, 2:57 PM · PowerPC
alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

address reviewer comments

Oct 29 2021, 2:57 PM · PowerPC
alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

addresses commiter's suggestions

Oct 29 2021, 2:50 PM · PowerPC
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..

Hi! Any comments/remarks to the updated version?

Oct 29 2021, 9:33 AM · PowerPC, security, arm64

Oct 25 2021

mw added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 25 2021, 2:09 AM · PowerPC, security, arm64
mw updated the diff for D27666: Enable ASLR by default for 64-bit executables..
Oct 25 2021, 2:05 AM · PowerPC, security, arm64

Oct 23 2021

imp added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 23 2021, 1:11 AM · PowerPC, security, arm64

Oct 22 2021

emaste added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 22 2021, 11:22 PM · PowerPC, security, arm64

Oct 18 2021

mw added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#734443, @mw wrote:

Hi,

I'm refreshing the discussion. The current status is following:

  1. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.

It seems like a problem with the underlying AS{L}R implementation. HardenedBSD has not needed to make any changes to any application since it completed its PaX-inspired ASLR implementation in 2015. If applications experience issues with FreeBSD's AS{L}R implementation, it'd be safe to assume a problem with the AS{L}R implementation, not the application.

Oct 18 2021, 1:55 PM · PowerPC, security, arm64
lattera-gmail.com added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#734443, @mw wrote:

Hi,

I'm refreshing the discussion. The current status is following:

  1. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.
Oct 18 2021, 12:09 PM · PowerPC, security, arm64
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..

I'm refreshing the discussion. The current status is following:

  1. PIE enabled by default in 64-builds.
  2. Ports' exp-run issues are fixed (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864)
  3. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.
Oct 18 2021, 11:36 AM · PowerPC, security, arm64

Oct 14 2021

luporl closed D30797: powerpc64: make radix with superpages default.
Oct 14 2021, 4:17 PM · PowerPC
luporl closed D31232: powerpc64: fix OFWFB with Radix MMU.
Oct 14 2021, 1:46 PM · PowerPC

Oct 13 2021

luporl retitled D29000: Export RGB offsets with FBIO_GETRGBOFFS from ofwfb: export RGB offsets with FBIO_GETRGBOFFS to Export RGB offsets with FBIO_GETRGBOFFS.
Oct 13 2021, 5:34 PM · PowerPC

Oct 6 2021

luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
Oct 6 2021, 8:06 PM · PowerPC
luporl updated the diff for D29000: Export RGB offsets with FBIO_GETRGBOFFS.

Initialize RGB offsets along with palette.

Oct 6 2021, 8:01 PM · PowerPC

Sep 28 2021

luporl updated the diff for D31232: powerpc64: fix OFWFB with Radix MMU.

Address reviewer's comments

Sep 28 2021, 6:17 PM · PowerPC

Sep 24 2021

jhibbits added inline comments to D31232: powerpc64: fix OFWFB with Radix MMU.
Sep 24 2021, 2:27 PM · PowerPC

Sep 15 2021

alfredo accepted D30797: powerpc64: make radix with superpages default.

I tested this patch with D31232 few weeks ago on the Blackbird and it looks good to me once it's approved.

Sep 15 2021, 3:05 PM · PowerPC

Sep 8 2021

luporl closed D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 8 2021, 11:44 AM · PowerPC

Sep 6 2021

jhibbits accepted D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 6 2021, 6:57 PM · PowerPC
luporl updated the diff for D31775: powerpc64: fix radix on pseries TLB invalidation.
  • Address reviewer's comments
Sep 6 2021, 6:16 PM · PowerPC

Sep 4 2021

jhibbits closed D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Sep 4 2021, 4:35 PM · PowerPC

Sep 3 2021

alfredo closed D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 3 2021, 1:35 PM · PowerPC
alfredo added a comment to D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
In D31804#717525, @dim wrote:

Let's do this for now to get the PowerPC builds working again. But also be aware that the bisected upstream commit is only exposing an underlying issue: most likely the root cause is in the PowerPC backend.

Sep 3 2021, 12:59 PM · PowerPC

Sep 2 2021

dim accepted D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.

Let's do this for now to get the PowerPC builds working again. But also be aware that the bisected upstream commit is only exposing an underlying issue: most likely the root cause is in the PowerPC backend.

Sep 2 2021, 9:26 PM · PowerPC
alfredo added a comment to D31698: powerpc64*: fix for broken binaries generated by llvm12.

This is not suitable for the upstream. The root cause behind dso_local needs to be found and fixed.

Sep 2 2021, 7:09 PM · PowerPC
alfredo retitled D31804: llvm: fix/workaround liblzma incorrect compress/uncompress from llvm: fix/workaround liblzma incorrect encode/decode to llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 2 2021, 5:31 PM · PowerPC
alfredo requested review of D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 2 2021, 3:06 PM · PowerPC

Sep 1 2021

jhibbits added a comment to D31775: powerpc64: fix radix on pseries TLB invalidation.

Glad to see you solve the last piece of this puzzle!

Sep 1 2021, 7:31 PM · PowerPC
luporl requested review of D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 1 2021, 6:20 PM · PowerPC

Aug 27 2021

fbsd-phab_maskray.me added a comment to D31698: powerpc64*: fix for broken binaries generated by llvm12.

This is not suitable for the upstream. The root cause behind dso_local needs to be found and fixed.

Aug 27 2021, 3:34 PM · PowerPC
alfredo closed D31698: powerpc64*: fix for broken binaries generated by llvm12.
Aug 27 2021, 11:49 AM · PowerPC

Aug 26 2021

dim accepted D31698: powerpc64*: fix for broken binaries generated by llvm12.

I wouldn't say "reverts LLVM commit 2518433f861fcb877d0a7bdd9aec1aec1f77505a", but something like "amends LLVM commit 2518433f861fcb877d0a7bdd9aec1aec1f77505a", as we're adding code here. But otherwise, LGTM!

Aug 26 2021, 7:48 PM · PowerPC
alfredo retitled D31698: powerpc64*: fix for broken binaries generated by llvm12 from powerpc64*: fixfor broken binaries generated by llvm12 to powerpc64*: fix for broken binaries generated by llvm12.
Aug 26 2021, 7:42 PM · PowerPC
alfredo abandoned D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Abandoned in favor of D31698

Aug 26 2021, 7:35 PM · PowerPC
alfredo requested review of D31698: powerpc64*: fix for broken binaries generated by llvm12.
Aug 26 2021, 7:34 PM · PowerPC

Aug 23 2021

alfredo updated subscribers of D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

This will work for src itself, but I think it won't work with ports that use /usr/share/mk?

Aug 23 2021, 8:28 PM · PowerPC
emaste added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

Aug 23 2021, 3:26 PM · PowerPC
alfredo added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

is there a PR to reference here?

Aug 23 2021, 3:02 PM · PowerPC
alfredo updated the diff for D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

Aug 23 2021, 2:45 PM · PowerPC
emaste added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

is there a PR to reference here?

Aug 23 2021, 2:12 PM · PowerPC
alfredo edited reviewers for D31646: powerpc64*: workaround for broken binaries generated with llvm12, added: luporl; removed: leandro.lupori_gmail.com.
Aug 23 2021, 2:06 PM · PowerPC
alfredo requested review of D31646: powerpc64*: workaround for broken binaries generated with llvm12.
Aug 23 2021, 2:06 PM · PowerPC

Aug 2 2021

alfredo accepted D31232: powerpc64: fix OFWFB with Radix MMU.
Aug 2 2021, 12:30 PM · PowerPC

Jul 30 2021

luporl added inline comments to D31232: powerpc64: fix OFWFB with Radix MMU.
Jul 30 2021, 2:33 PM · PowerPC
alfredo added a comment to D31232: powerpc64: fix OFWFB with Radix MMU.

Great job luporl!

Jul 30 2021, 12:22 AM · PowerPC

Jul 29 2021

markmi_dsl-only.net abandoned D23376: Avoid having PowerMacs ending up with stuck-sleeping threads: force some boot-time TB value relationships across sockets/cores..

I no longer have access to any operational old-PowerMacs. (And never had access to any other example types of PowerPC/Power hardware.) As such, I'll no longer be involved in powerpc64 or 32-bit powerpc activities.

Jul 29 2021, 7:13 AM · PowerPC

Jul 23 2021

luporl added a comment to D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

This approach of auto detecting the correct frame buffer physical address based on Vendor ID looks good.
It would help to make FreeBSD graphics work out of the box for Blackbird and Talos II machines, instead of forcing the user to figure out the physical address of its VGA adapter and pass it to the kernel manually, or else the system just hangs.
Ideally, Petitboot should fix it on their side, but I don't know if it will happen anytime soon, since Linux isn't affected, because it just talks directly to ASPEED video device, instead of relying on the framebuffer info exposed in the device tree.

Jul 23 2021, 2:49 PM · PowerPC
luporl added a reviewer for D29000: Export RGB offsets with FBIO_GETRGBOFFS: emaste.
Jul 23 2021, 12:26 PM · PowerPC
luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
Jul 23 2021, 12:26 PM · PowerPC
luporl added a comment to D30797: powerpc64: make radix with superpages default.

D31232 fixes OFWFB with radix. After it lands it should be safe to make radix default.

Jul 23 2021, 11:51 AM · PowerPC

Jul 20 2021

luporl requested review of D31232: powerpc64: fix OFWFB with Radix MMU.
Jul 20 2021, 1:16 PM · PowerPC

Jun 25 2021

alfredo abandoned D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

After discussion with @imp , we decided to try the "reroot" approach instead. It appears to be generic solution for other modules as well, and can be used on other platforms.
A new review entry will be created when it's ready for review.

Jun 25 2021, 11:47 AM · PowerPC

Jun 17 2021

alfredo requested changes to D30797: powerpc64: make radix with superpages default.

For some reason this breaks the boot with VGA console on Blackbird.
I'm using D30626 locally, but reverted it as well. With D30626 reverted and adding kernel parameter 'hw.ofwfb.physaddr=0x000600c280000000' the kernel hangs as well with no output.

Jun 17 2021, 7:58 PM · PowerPC
jhibbits accepted D30797: powerpc64: make radix with superpages default.

Looks fine to me.

Jun 17 2021, 4:49 PM · PowerPC
luporl requested review of D30797: powerpc64: make radix with superpages default.
Jun 17 2021, 11:20 AM · PowerPC

Jun 16 2021

jhibbits added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.
In D30793#692367, @imp wrote:

That is, I'd rather see ZFS64

include GENERIC64
options ZFS

etc

Jun 16 2021, 9:49 PM · PowerPC
imp added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

That is, I'd rather see ZFS64

include GENERIC64
options ZFS

etc

Jun 16 2021, 9:25 PM · PowerPC
imp added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

I'd really rather we didn't do this... I don't think it's a good idea....

Jun 16 2021, 9:24 PM · PowerPC
alfredo requested review of D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.
Jun 16 2021, 9:21 PM · PowerPC

Jun 11 2021

alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Jun 11 2021, 2:24 AM · PowerPC

May 10 2021

luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
May 10 2021, 7:25 PM · PowerPC
emaste added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
May 10 2021, 6:13 PM · PowerPC

May 7 2021

alfredo closed D28947: [POWERPC] Switch endian of common dev information.
May 7 2021, 2:55 AM · PowerPC

May 4 2021

bryanv accepted D28947: [POWERPC] Switch endian of common dev information.
May 4 2021, 2:54 PM · PowerPC

May 1 2021

bdragon added a comment to D22818: [PowerPC] Add .iplt to powerpc linker scripts.

It ended up being not entirely necessary due to the linker behavior of forcing required sections into whatever segment is a natural fit for them, unless we explicitly break it with /DISCARD/.

May 1 2021, 10:38 PM · PowerPC
jhibbits added a comment to D22818: [PowerPC] Add .iplt to powerpc linker scripts.

Is this still needed? We've had ifuncs for a year now, with no problems.

May 1 2021, 9:49 PM · PowerPC

Apr 23 2021

jhibbits accepted D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Seems to work fine on my G4.

Apr 23 2021, 8:12 PM · PowerPC

Apr 20 2021

bdragon added inline comments to D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 9:35 PM · PowerPC
alfredo closed D26040: Fix mprutil endianness.
Apr 20 2021, 7:23 PM · PowerPC
luporl accepted D26040: Fix mprutil endianness.
Apr 20 2021, 7:22 PM · PowerPC
bdragon added inline comments to D29136: WIP: [PowerPC] PowerMac timebase sync for G4.
Apr 20 2021, 4:40 AM · PowerPC
bdragon updated the diff for D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Rebase against latest code.

Apr 20 2021, 4:39 AM · PowerPC
bdragon added a comment to D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Updating comments

Apr 20 2021, 4:21 AM · PowerPC
bdragon retitled D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends from [PowerPC] Fix outdated FP regs on fork() and friends to [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 4:06 AM · PowerPC
bdragon updated the test plan for D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 4:03 AM · PowerPC