Page MenuHomeFreeBSD

val_packett.cool (Val Packett (they/them))
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 9 2017, 2:51 PM (276 w, 6 d)

Recent Activity

Yesterday

val_packett.cool added a comment to D39283: vt: add a vt_dummy driver.

Yeah, I solved the same problem in drm initially by writing a dummy driver too, but now it's been replaced by FB_FLAG_NOWRITE.
This is how we're doing it, it's a bit annoying that we have to check the driver and reach into its softc, ideally flags like that would be a more outer-level thing somehow (?)

Thu, Mar 30, 12:44 AM

Mon, Mar 27

val_packett.cool added a comment to D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.

Found some interesting discussion from almost a decade ago: https://lists.freebsd.org/pipermail/freebsd-arch/2013-August/014707.html confirming that MONOTONIC should include suspended time:

Mon, Mar 27, 10:07 PM
val_packett.cool added a comment to D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.
In D39270#894574, @imp wrote:

How that aligns with Linux and other OSes is going to be messy, I fear.

Mon, Mar 27, 8:29 PM

Sun, Mar 26

val_packett.cool added a comment to D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.

Oh, what's also pretty neat about the "MONOTONIC includes suspend like OpenBSD" choice is that software doing some security timeouts like sudo does would default to the secure behavior (not prolonging timeouts across suspends) even without doing anything for suspend-awareness / while being just POSIX without any OS-specific code!! :)

Sun, Mar 26, 6:21 PM
val_packett.cool added a comment to D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.
In D39270#894014, @imp wrote:

we specifically aligned with Linux here because more software is written for linux and we had a lot of patches in the ports tree to emulate the linux behavior prior to my changes.

Sun, Mar 26, 6:14 PM

Sat, Mar 25

val_packett.cool added reviewers for D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME: Contributor Reviews (base), imp, dchagin, kib.
Sat, Mar 25, 7:59 PM
val_packett.cool requested review of D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.
Sat, Mar 25, 7:57 PM

Thu, Mar 2

val_packett.cool added a comment to D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.
Thu, Mar 2, 4:34 PM
val_packett.cool added a comment to D21746: acpi_cros_kblt: New driver for Chromebook keyboard backlight control.

Can this driver generate org.freedesktop.UPower.KbdBacklight events ?

Thu, Mar 2, 4:31 PM

Feb 22 2023

val_packett.cool added a comment to D28704: md: check uid when non-root users detach/resize the mds.

Oops… cr_cansee actually would only deny this with security.bsd.see_other_uids=0 btw. Is there a "fs write" style check anywhere in the common code?

Feb 22 2023, 6:56 AM
val_packett.cool added inline comments to D28704: md: check uid when non-root users detach/resize the mds.
Feb 22 2023, 6:01 AM

Feb 20 2023

val_packett.cool added a comment to D38675: open.2: describe O_RESOLVE_BENEATH errors correctly.

Though, hm, various AT_RESOLVE_BENEATH documentation does collapse it all into one item:

Feb 20 2023, 9:21 PM
val_packett.cool updated the diff for D38675: open.2: describe O_RESOLVE_BENEATH errors correctly.

Yeah, makes sense, let's try like this

Feb 20 2023, 8:57 PM

Feb 19 2023

val_packett.cool updated the diff for D38675: open.2: describe O_RESOLVE_BENEATH errors correctly.

Hopefully more clear this way?

Feb 19 2023, 9:05 PM
val_packett.cool added reviewers for D38675: open.2: describe O_RESOLVE_BENEATH errors correctly: manpages, Contributor Reviews (base), kib.
Feb 19 2023, 8:20 PM
val_packett.cool requested review of D38675: open.2: describe O_RESOLVE_BENEATH errors correctly.
Feb 19 2023, 8:18 PM
val_packett.cool added inline comments to D38351: [RFC/Proposal] Mechanism for in-kernel AT_FDCWD substitution with provided FD for oblivious sandboxing with Capsicum.
Feb 19 2023, 8:03 PM

Feb 12 2023

val_packett.cool added inline comments to D26836: linsysfs: add drm render node.
Feb 12 2023, 12:59 AM

Feb 10 2023

val_packett.cool accepted D38497: specialfd: Extend interface to support many fds.
Feb 10 2023, 9:49 PM
val_packett.cool added a comment to D38497: specialfd: Extend interface to support many fds.

I couldn't figure out a good way to generalize the falloc_noinstall/finstall/fdrop calls since the finstall needs fflags that are unique per special fd. I could move falloc_noinstall and fdrop into sys___specialfd(), I believe.

Feb 10 2023, 9:48 PM
val_packett.cool added a comment to D38497: specialfd: Extend interface to support many fds.

Wait wait wait… if we decided not to put gettime/settime here, to keep it as an interface only for creating various kinds of descriptors, why are we still going to duplicate the falloc_noinstall/finstall/fdrop dance across the individual functions for each descriptor kind?

Feb 10 2023, 9:37 PM
val_packett.cool added a comment to D38459: timerfd: Add native support for Linux's timerfd.
In D38459#875880, @kib wrote:

I suggest to add ioctl's to perform the ops on the descriptor, instead of filling the syscall table with more one-purpose entries.

Feb 10 2023, 5:15 PM · linuxkpi, Linux Emulation

Feb 9 2023

val_packett.cool added a comment to D38459: timerfd: Add native support for Linux's timerfd.

One wrinkle that I can see is that timerfd lets you specify a clock ID, but this implementation doesn't really do anything with it...

Feb 9 2023, 8:16 PM · linuxkpi, Linux Emulation
val_packett.cool added a comment to D38459: timerfd: Add native support for Linux's timerfd.

just implement these to as syscalls leaving __specialfd for descriptor creation

Feb 9 2023, 7:09 PM · linuxkpi, Linux Emulation
val_packett.cool added inline comments to D38445: tzcode: Resurrect tzsetwall(3) with a deprecation warning..
Feb 9 2023, 6:12 AM
val_packett.cool abandoned D38409: tzcode: garbage collect references to tzsetwall.

sure, D38445 LGTM

Feb 9 2023, 6:09 AM

Feb 7 2023

val_packett.cool abandoned D38389: Fix building the ia32 vDSO with --no-undefined-version.

ok, let's go with D38392

Feb 7 2023, 1:35 AM
val_packett.cool accepted D38392: amd64 ia32 vdso: always define some __vdso_ symbols.
Feb 7 2023, 1:34 AM

Feb 6 2023

val_packett.cool updated the diff for D32879: ext2fs: extract crc16 into sys/crc16.h.

Remove $FreeBSD$ tags, add header include to the .c file to fix missing-prototype

Feb 6 2023, 9:23 PM
val_packett.cool updated the summary of D38409: tzcode: garbage collect references to tzsetwall.
Feb 6 2023, 8:14 PM
val_packett.cool requested review of D38409: tzcode: garbage collect references to tzsetwall.
Feb 6 2023, 8:13 PM
val_packett.cool updated the summary of D38408: xlocale: garbage collect references to strtoq_l/strtouq_l.
Feb 6 2023, 7:48 PM
val_packett.cool requested review of D38408: xlocale: garbage collect references to strtoq_l/strtouq_l.
Feb 6 2023, 7:47 PM
val_packett.cool added inline comments to D38407: arpa: garbage collect ns_newmsg/ns_rdata decls.
Feb 6 2023, 7:16 PM
val_packett.cool updated the summary of D38407: arpa: garbage collect ns_newmsg/ns_rdata decls.
Feb 6 2023, 7:14 PM
val_packett.cool requested review of D38407: arpa: garbage collect ns_newmsg/ns_rdata decls.
Feb 6 2023, 7:13 PM
val_packett.cool added a comment to D28703: Allow sysctl hw.machine/hw.machine_arch in capability mode.

Do you have a public Git branch somewhere that I can fetch your changes from?

Feb 6 2023, 6:50 PM
val_packett.cool added inline comments to D26836: linsysfs: add drm render node.
Feb 6 2023, 6:26 PM
val_packett.cool retitled D38389: Fix building the ia32 vDSO with --no-undefined-version from Fix building the ia32 vDSO with LLVM binutils to Fix building the ia32 vDSO with --no-undefined-version.
Feb 6 2023, 6:49 AM
val_packett.cool added a comment to D38389: Fix building the ia32 vDSO with --no-undefined-version.

btw, what toggles the error is --(no-)undefined-version, no became the default. It seems difficult to make *everything* work with --no-undefined-version, but this was the only thing in the kernel.

Feb 6 2023, 6:49 AM
val_packett.cool updated the diff for D34248: LinuxKPI: return an address string in pci_name.

Rebase after D38222

Feb 6 2023, 3:19 AM · linuxkpi
val_packett.cool added a comment to D38389: Fix building the ia32 vDSO with --no-undefined-version.

Yes, it has failed. I wouldn't be that bothered with a little warning :)

Feb 6 2023, 3:12 AM

Feb 5 2023

val_packett.cool updated the diff for D34248: LinuxKPI: return an address string in pci_name.

Rebased. Ping!

Feb 5 2023, 9:08 PM · linuxkpi
val_packett.cool updated the summary of D34248: LinuxKPI: return an address string in pci_name.
Feb 5 2023, 9:05 PM · linuxkpi
val_packett.cool edited P538 D34248 format-patch.
Feb 5 2023, 9:01 PM
val_packett.cool updated the summary of D32879: ext2fs: extract crc16 into sys/crc16.h.
Feb 5 2023, 9:00 PM
val_packett.cool updated the diff for D32879: ext2fs: extract crc16 into sys/crc16.h.

rebased / author name changed / etc. (dang it's been a year)

Feb 5 2023, 8:59 PM
val_packett.cool updated the diff for D28703: Allow sysctl hw.machine/hw.machine_arch in capability mode.

rebased (bye bye MIPS \o/). ping!

Feb 5 2023, 8:54 PM
val_packett.cool updated the summary of D26836: linsysfs: add drm render node.
Feb 5 2023, 8:50 PM
val_packett.cool updated the diff for D26836: linsysfs: add drm render node.

rebased patch, no functional changes. ping!

Feb 5 2023, 8:50 PM
val_packett.cool updated the summary of D28704: md: check uid when non-root users detach/resize the mds.
Feb 5 2023, 8:48 PM
val_packett.cool updated the diff for D28704: md: check uid when non-root users detach/resize the mds.

rebased patch, no changes

Feb 5 2023, 8:48 PM
val_packett.cool updated the summary of D38389: Fix building the ia32 vDSO with --no-undefined-version.
Feb 5 2023, 5:00 PM
val_packett.cool requested review of D38389: Fix building the ia32 vDSO with --no-undefined-version.
Feb 5 2023, 4:53 PM

Feb 4 2023

val_packett.cool abandoned D23043: rtld-elf: Fix loading libraries with ORIGIN flag (like LLVM) via LD_LIBRARY_PATH_FDS.
Feb 4 2023, 8:32 PM · capsicum
val_packett.cool updated the summary of D21746: acpi_cros_kblt: New driver for Chromebook keyboard backlight control.
Feb 4 2023, 7:13 AM
val_packett.cool updated the diff for D21746: acpi_cros_kblt: New driver for Chromebook keyboard backlight control.

Add man page and sys/conf/files entry

Feb 4 2023, 7:13 AM
val_packett.cool updated the summary of D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.
Feb 4 2023, 7:06 AM
val_packett.cool updated the diff for D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.

update via git-arc

Feb 4 2023, 7:04 AM
val_packett.cool updated the diff for D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.
Feb 4 2023, 6:49 AM
val_packett.cool updated the diff for D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.

oops, also don't add $FreeBSD$ to new files

Feb 4 2023, 6:43 AM
val_packett.cool updated the diff for D21612: acpi_cros_tbmc: New driver for Chromebook Tablet Mode Switch.

Added a manpage and a files entry for building into the kernel

Feb 4 2023, 6:22 AM

Feb 3 2023

val_packett.cool added a comment to D38351: [RFC/Proposal] Mechanism for in-kernel AT_FDCWD substitution with provided FD for oblivious sandboxing with Capsicum.

Are you sure this patch is correctly generated?
I know that you said you want the review of the general idea, but still..

Feb 3 2023, 5:21 PM

Feb 2 2023

val_packett.cool updated the diff for D38351: [RFC/Proposal] Mechanism for in-kernel AT_FDCWD substitution with provided FD for oblivious sandboxing with Capsicum.

added patch context

Feb 2 2023, 7:28 AM
val_packett.cool requested review of D38351: [RFC/Proposal] Mechanism for in-kernel AT_FDCWD substitution with provided FD for oblivious sandboxing with Capsicum.
Feb 2 2023, 7:27 AM
val_packett.cool updated val_packett.cool.
Feb 2 2023, 7:12 AM

Jan 14 2023

val_packett.cool updated val_packett.cool.
Jan 14 2023, 10:55 PM
bofh renamed val_packett.cool from greg_unrelenting.technology to val_packett.cool.
Jan 14 2023, 5:44 PM
val_packett.cool updated val_packett.cool.
Jan 14 2023, 5:37 PM

Jan 4 2023

val_packett.cool requested review of D37945: copyright: chase my name and email change.
Jan 4 2023, 8:10 PM

Oct 8 2022

val_packett.cool updated val_packett.cool.
Oct 8 2022, 2:31 PM

Sep 2 2022

val_packett.cool removed a member for arm64: val_packett.cool.
Sep 2 2022, 12:22 AM
val_packett.cool removed a member for rust: val_packett.cool.
Sep 2 2022, 12:22 AM
val_packett.cool removed a member for linuxkpi: val_packett.cool.
Sep 2 2022, 12:22 AM
val_packett.cool updated val_packett.cool.
Sep 2 2022, 12:20 AM

Jun 27 2022

val_packett.cool added a reviewer for D34633: devmatch: Actually ignore fields tagged as '#': manu.
Jun 27 2022, 6:55 PM

Jun 17 2022

val_packett.cool added inline comments to D35512: LinuxKPI: add asm/neon.h.
Jun 17 2022, 6:36 PM
val_packett.cool added reviewers for D35512: LinuxKPI: add asm/neon.h: linuxkpi, manu, hselasky.
Jun 17 2022, 4:33 PM
val_packett.cool updated the diff for D35512: LinuxKPI: add asm/neon.h.

remove submodule patch

Jun 17 2022, 4:32 PM
val_packett.cool requested review of D35512: LinuxKPI: add asm/neon.h.
Jun 17 2022, 4:30 PM

Jun 6 2022

val_packett.cool added a comment to D34633: devmatch: Actually ignore fields tagged as '#'.

ping

Jun 6 2022, 1:39 PM

Jun 1 2022

val_packett.cool added a comment to D35366: arm64: Print per-CPU cache summary.

Especially if this will be per-CPU, it should probably be more compact. A \n per cache level seems like a lot of dmesg spam.

Jun 1 2022, 2:32 PM

May 22 2022

val_packett.cool accepted D35287: devel/wasi-libcxx: update to 14.0.6.
May 22 2022, 8:44 PM
val_packett.cool accepted D35286: devel/wasi-libc: update to g20220509.
May 22 2022, 8:44 PM

Apr 30 2022

val_packett.cool updated the summary of D35105: bwn: eliminate dead writes in BWN_GPL_PHY.
Apr 30 2022, 11:22 PM
val_packett.cool requested review of D35105: bwn: eliminate dead writes in BWN_GPL_PHY.
Apr 30 2022, 11:19 PM

Apr 15 2022

val_packett.cool updated the diff for D34252: LinuxKPI: add proper support for charp module parameters.
  • rebase
  • add SYSUNINIT for deallocating the strings
  • remove useless null check (kfree supports null)
Apr 15 2022, 2:03 PM · linuxkpi
val_packett.cool added inline comments to D34252: LinuxKPI: add proper support for charp module parameters.
Apr 15 2022, 11:00 AM · linuxkpi

Mar 22 2022

val_packett.cool updated the diff for D34633: devmatch: Actually ignore fields tagged as '#'.

add missed case

Mar 22 2022, 4:15 PM
val_packett.cool updated the summary of D34633: devmatch: Actually ignore fields tagged as '#'.
Mar 22 2022, 12:04 PM
val_packett.cool requested review of D34633: devmatch: Actually ignore fields tagged as '#'.
Mar 22 2022, 12:02 PM

Mar 5 2022

val_packett.cool added a comment to D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity.

As mentioned in the comment, around 3500 is what I measured for a really hard press, so I rounded up to the next power of two, that's why it's 4096.

Mar 5 2022, 2:19 PM

Mar 4 2022

val_packett.cool added inline comments to D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.
Mar 4 2022, 3:32 PM
val_packett.cool updated the diff for D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.

Endian convert the initial 32 bit field, use given IDs, do not report width major/minor

Mar 4 2022, 3:30 PM
val_packett.cool updated the diff for D34433: bcm5974: fix endian conversion signedness bug.

switch to macro

Mar 4 2022, 3:12 PM
val_packett.cool retitled D34433: bcm5974: fix endian conversion signedness bug from bcm5974: fix endianness bug to bcm5974: fix endian conversion signedness bug.
Mar 4 2022, 3:12 PM
val_packett.cool added inline comments to D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity.
Mar 4 2022, 11:03 AM

Mar 3 2022

val_packett.cool updated the summary of D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.
Mar 3 2022, 11:35 PM
val_packett.cool requested review of D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.
Mar 3 2022, 11:32 PM
val_packett.cool updated the summary of D34436: bcm5974: add support for SPI bus (WIP).
Mar 3 2022, 11:29 PM