Page MenuHomeFreeBSD

trasz (Edward Tomasz Napierała)
User

Projects

User Details

User Since
Aug 2 2014, 12:45 PM (502 w, 2 d)

Recent Activity

Sat, Mar 16

trasz added inline comments to D44375: linux: use sa_family_t for address family conversions.
Sat, Mar 16, 2:20 PM

Fri, Mar 15

trasz added reviewers for D44373: Capsicum vs the Pathnames, a PoC: val_packett.cool, jonathan.
Fri, Mar 15, 1:51 PM
trasz updated the summary of D44373: Capsicum vs the Pathnames, a PoC.
Fri, Mar 15, 1:50 PM
trasz added a reviewer for D44373: Capsicum vs the Pathnames, a PoC: capsicum.
Fri, Mar 15, 12:48 PM
trasz requested review of D44373: Capsicum vs the Pathnames, a PoC.
Fri, Mar 15, 12:48 PM
trasz added a reviewer for D44372: Allow subset of wait4(2) functionality in Capsicum mode: capsicum.
Fri, Mar 15, 12:24 PM
trasz requested review of D44372: Allow subset of wait4(2) functionality in Capsicum mode.
Fri, Mar 15, 12:22 PM

Dec 27 2023

trasz added a comment to D42023: Ensure that automount(8) flushes autofs by checking fsid.

It appears to be working correctly now. Thank you all :)

Dec 27 2023, 3:17 PM

Dec 18 2023

trasz added a comment to D42023: Ensure that automount(8) flushes autofs by checking fsid.

I'm not sure what exactly happened here, but I suspect there was something wrong with testing it: while one of previous Kib's commits fixed the instapanic on "automount -c", it still doesn't work, see last few entries at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274992.

Dec 18 2023, 7:09 PM

Nov 10 2023

trasz added a comment to D42494: autofs: media: Always use sync option for fat*.

Thank you, I think I'm fine with toggling it from "async" to "sync" specifically for msdosfs.

Nov 10 2023, 5:11 PM

Nov 9 2023

trasz added a comment to D42494: autofs: media: Always use sync option for fat*.
In D42494#969894, @manu wrote:

I’m not a huge fan of this one tbh. I seem to remember I had it like this for a while, and it was 1. Unbearably slow and 2. Increased flash wear and tear.

For 1/ yes it will be slower. But safer.

Nov 9 2023, 3:45 PM
trasz added a comment to D42495: devd: autofs: Move autofs related events to a separate file.

Doesn't this also enable it by default? If so, it might be a good idea to fix the instapanic it's causing first, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274992.

Nov 9 2023, 3:35 PM

Nov 8 2023

trasz added a comment to D42494: autofs: media: Always use sync option for fat*.

I’m not a huge fan of this one tbh. I seem to remember I had it like this for a while, and it was 1. Unbearably slow and 2. Increased flash wear and tear.

Nov 8 2023, 8:16 AM

Sep 4 2023

trasz added a comment to D41564: Add fchroot(2) and chroot -d.

I wonder if a chrootat(fd, path) that allows a NULL path would be more general?

Should there be a flags argument?

Sep 4 2023, 9:28 AM

Aug 31 2023

trasz abandoned D23334: release(7) ZFS support.

Implemented in a better way by https://reviews.freebsd.org/D34426.

Aug 31 2023, 3:31 AM

Aug 23 2023

trasz requested review of D41564: Add fchroot(2) and chroot -d.
Aug 23 2023, 2:07 PM

Aug 17 2023

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

FWIW, I've been playing with this idea on and off, and I have some patches, some of them not even entirely broken :) In particular I have fchroot(2) working: https://reviews.freebsd.org/D41564

Aug 17 2023, 3:07 PM

Jun 7 2023

trasz abandoned D25501: Autochroot prototype.

Implemented as https://reviews.freebsd.org/D38933.

Jun 7 2023, 12:29 PM

Apr 26 2023

trasz added a reviewer for D39829: Allow vfork(2) in capsicum(4) capability mode: capsicum.
Apr 26 2023, 12:36 PM
trasz requested review of D39829: Allow vfork(2) in capsicum(4) capability mode.
Apr 26 2023, 12:36 PM

Apr 22 2023

trasz accepted D39649: linux(4): Bump osrelease to 5.15.0.
Apr 22 2023, 3:00 PM · Linux Emulation

Apr 12 2023

trasz added a comment to D39507: linux: Make uname less weird.

well, the part after a dash is not standart, depends on a distributive, so we can put here any information, and it would be nice to print p_osrel of the current process here.
However, I would propose completely remove the pr_osrelease from struct linux_prison as we have pr_osrel and due to the pr_osrelease was intended to map into the vdso page at the Note section. But its not possible due to jails and can be removed now.

Apr 12 2023, 3:32 PM
trasz updated the summary of D39507: linux: Make uname less weird.
Apr 12 2023, 3:31 PM
trasz added a comment to D38933: namei: Add the abilty for the ABI to specify an alternate root path.
In D38933#897702, @mjg wrote:

I strongly suspect the right way is to have linux binaries auto chrooted to /compat/linux or whatever you are looking up against and then have nullfs mounts inside for /home, /tmp and whatever else which makes sense to share. This avoids any suspicious lookups like failing to find a file in Linux because it is missing when it should not and trying to pick up the FreeBSD one. This also avoids adding any complexity to the kernel.

Apr 12 2023, 3:28 PM · Linux Emulation
trasz added a comment to D38351: [RFC/Proposal] Mechanism for in-kernel AT_FDCWD substitution with provided FD for oblivious sandboxing with Capsicum.

Hah, I've been working on something similar, although from a somewhat different, CHERI-related, angle :)

Apr 12 2023, 11:34 AM

Apr 11 2023

trasz added a reviewer for D39507: linux: Make uname less weird: Linux Emulation.
Apr 11 2023, 4:22 PM
trasz requested review of D39507: linux: Make uname less weird.
Apr 11 2023, 4:22 PM

Mar 18 2023

ihor_antonovs.family awarded D7474: Add rc.conf support for foo_daemon="-r". a Like token.
Mar 18 2023, 9:32 PM · rc

Nov 19 2022

trasz added a comment to D37305: vm: reduce lock contention when processing vm batchqueues.

Only tangentially related, but I wonder if this constant shouldn't be defined for arm64 too?

Nov 19 2022, 4:09 PM

May 19 2022

trasz added a comment to D35244: mountroot: On failure return ENOENT, not ENODEV.

My first thought about ENODEV was something about GEOM. ENOENT, on the other hand, would make it obvious what's going on: the root device node is simply not there.

May 19 2022, 12:13 PM

May 18 2022

trasz added a comment to D35222: Add kern.reboot_on_halt sysctl.

I've been burned by this in the past, but I've assumed it's just me. This time, though, there was another person involved, and this made me reconsider. In this case it's not even that it's a remote machine: this is for a homebrew remote management mechanism; essentially we have BeagleBone Blacks hooked up to the actual machines (mechanically they are inside the machines), which provide remote console and virtual media, and halting one of those by mistake - for example when you fail to notice the cu(1) to the "real" machine has been disconnected - results in having to power cycle the whole thing, which is one thing our BBB-based remote management does not provide.

May 18 2022, 9:25 PM
trasz requested review of D35244: mountroot: On failure return ENOENT, not ENODEV.
May 18 2022, 1:19 PM
trasz requested review of D35243: cfumass: Make it possible to export a ready-made image.
May 18 2022, 1:10 PM

May 16 2022

trasz requested review of D35222: Add kern.reboot_on_halt sysctl.
May 16 2022, 3:00 PM

May 14 2022

trasz added a comment to D35133: arm64: Dump a basic information about generated trap..

Linux, it’s a Linux core file :-) The easiest way is to use debootstrap port to bootstrap an Ubuntu Bionic userland, then chroot there and do “apt install gdb”. See https://wiki.freebsd.org/LinuxJails.

May 14 2022, 9:26 PM
trasz added a comment to D35133: arm64: Dump a basic information about generated trap..

I’m not opposed to this patch, but isn’t this what core files are for?

May 14 2022, 2:49 PM

Feb 22 2022

trasz committed rG0bf6e572bd44: rc.d/linux: Attempt to mount only if necessary (authored by 0mp).
rc.d/linux: Attempt to mount only if necessary
Feb 22 2022, 1:25 PM
trasz committed rG099b125337de: rc: improve dependencies for growfs (authored by trasz).
rc: improve dependencies for growfs
Feb 22 2022, 1:25 PM

Feb 21 2022

trasz committed rGd3f0d2c0eef6: linux: Add additional ptracestop only if the debugger is Linux (authored by trasz).
linux: Add additional ptracestop only if the debugger is Linux
Feb 21 2022, 2:55 PM
trasz closed D34134: website: Get rid of tables for snapshots in where/.
Feb 21 2022, 2:38 PM
trasz committed R9:754da8344b84: website: Get rid of tables for snapshots in where/ (authored by trasz).
website: Get rid of tables for snapshots in where/
Feb 21 2022, 2:38 PM
trasz committed rGbb726462cbea: linux: Make PTRACE_GETREGSET return proper buffer size (authored by trasz).
linux: Make PTRACE_GETREGSET return proper buffer size
Feb 21 2022, 1:51 PM
trasz committed rGf89bad7c9c61: linux: Fix ptrace panic with ERESTART (authored by trasz).
linux: Fix ptrace panic with ERESTART
Feb 21 2022, 1:51 PM
trasz committed rGf4fd475d457d: linux: Improve debug for PTRACE_GETEVENTMSG (authored by trasz).
linux: Improve debug for PTRACE_GETEVENTMSG
Feb 21 2022, 1:51 PM
trasz committed rGfc36cd43fd7f: linux: implement PTRACE_EVENT_EXEC (authored by trasz).
linux: implement PTRACE_EVENT_EXEC
Feb 21 2022, 1:51 PM
trasz committed rG3b7841de78a3: linux: Make PTRACE_GET_SYSCALL_INFO handle EJUSTRETURN (authored by trasz).
linux: Make PTRACE_GET_SYSCALL_INFO handle EJUSTRETURN
Feb 21 2022, 1:51 PM
trasz committed rG046274e798e6: linux: Improve debug for PTRACE_GETREGSET (authored by trasz).
linux: Improve debug for PTRACE_GETREGSET
Feb 21 2022, 1:51 PM
trasz committed rGd33684f3710e: linux: Implement some bits of PTRACE_PEEKUSER (authored by trasz).
linux: Implement some bits of PTRACE_PEEKUSER
Feb 21 2022, 1:51 PM
trasz committed rG98e26c32bb74: linux: Improve debugging for PTRACE_GETREGSET (authored by trasz).
linux: Improve debugging for PTRACE_GETREGSET
Feb 21 2022, 1:51 PM
trasz committed rG36ff5ce03c63: linux: Adjust PTRACE_GET_SYSCALL_INFO buffer size semantics (authored by trasz).
linux: Adjust PTRACE_GET_SYSCALL_INFO buffer size semantics
Feb 21 2022, 1:50 PM
trasz committed rG4cae9d803a95: Remove PT_GET_SC_ARGS_ALL (authored by kib).
Remove PT_GET_SC_ARGS_ALL
Feb 21 2022, 1:50 PM
trasz committed rG8371bf67d632: linux: implement PTRACE_GET_SYSCALL_INFO (authored by trasz).
linux: implement PTRACE_GET_SYSCALL_INFO
Feb 21 2022, 1:50 PM
trasz committed rG0737ef6fbce4: linux: make ptrace(2) return EIO when trying to peek invalid address (authored by trasz).
linux: make ptrace(2) return EIO when trying to peek invalid address
Feb 21 2022, 1:49 PM
trasz committed rG7256167dfd80: linux: refactor bsd_to_linux_regset() out of linux_ptrace.c (authored by trasz).
linux: refactor bsd_to_linux_regset() out of linux_ptrace.c
Feb 21 2022, 1:49 PM
trasz committed rG26105b4c13a0: linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes (authored by trasz).
linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes
Feb 21 2022, 1:49 PM
trasz committed rG1f948bb41f7e: linux(4): fix ptrace(2) to properly handle orig_rax (authored by trasz).
linux(4): fix ptrace(2) to properly handle orig_rax
Feb 21 2022, 1:49 PM

Feb 18 2022

trasz committed rG37671ee46dbf: linux: Make compat.linux.preserve_vstatus default to 1 (authored by trasz).
linux: Make compat.linux.preserve_vstatus default to 1
Feb 18 2022, 3:13 PM
trasz committed rGf89309617e10: linux: More man page tweaks (authored by trasz).
linux: More man page tweaks
Feb 18 2022, 3:13 PM
trasz committed rG5ed9dc8debc2: linux(4): man page tweaks (authored by trasz).
linux(4): man page tweaks
Feb 18 2022, 3:13 PM
trasz committed rGaf267ea84932: hier(7): add some new Xrs, remove some unrelated ones (authored by trasz).
hier(7): add some new Xrs, remove some unrelated ones
Feb 18 2022, 3:13 PM
trasz committed rG83c732fa3b3d: intro(3): Fix formatting (authored by trasz).
intro(3): Fix formatting
Feb 18 2022, 3:12 PM
trasz committed rG3efd090e4385: development(7): Use a more common architecture for examples (authored by trasz).
development(7): Use a more common architecture for examples
Feb 18 2022, 3:12 PM
trasz committed rG0051a294c4a5: linprocfs: Fix formatting of Uid and Gid lines (authored by trasz).
linprocfs: Fix formatting of Uid and Gid lines
Feb 18 2022, 3:11 PM
trasz committed rGb2db87294ab5: Make vmdaemon timeout configurable (authored by trasz).
Make vmdaemon timeout configurable
Feb 18 2022, 3:11 PM
trasz committed rG45fb3e74d2b9: procfs: Document as deprecated (authored by trasz).
procfs: Document as deprecated
Feb 18 2022, 3:11 PM
trasz committed rG15acd92e8f45: linux: implement rt_sigsuspend(2) on arm64 (authored by trasz).
linux: implement rt_sigsuspend(2) on arm64
Feb 18 2022, 2:53 PM
trasz committed rGdfd9bcf077ae: Regen after 2561da0636c. (authored by trasz).
Regen after 2561da0636c.
Feb 18 2022, 2:53 PM
trasz committed rG9a76e9f24688: linux: Fix declaration of rt_sigreturn() on arm64 (authored by trasz).
linux: Fix declaration of rt_sigreturn() on arm64
Feb 18 2022, 2:53 PM
trasz committed rGfd2ae8152d57: chroot: fix typo in usage (authored by trasz).
chroot: fix typo in usage
Feb 18 2022, 2:53 PM
trasz committed rG5b8c67766471: sesutil: Fix status checking (authored by trasz).
sesutil: Fix status checking
Feb 18 2022, 2:53 PM
trasz committed rG460b4b550dc9: Implement unprivileged chroot (authored by trasz).
Implement unprivileged chroot
Feb 18 2022, 2:53 PM

Feb 17 2022

trasz committed rGf948f5ed7cda: linux(4): Improve comment about SA_RESTORER (authored by trasz).
linux(4): Improve comment about SA_RESTORER
Feb 17 2022, 3:54 PM
trasz committed rG95f24ec842b5: linux(4): remove unfinished vsyscall bits on arm64 (authored by trasz).
linux(4): remove unfinished vsyscall bits on arm64
Feb 17 2022, 3:54 PM
trasz committed rGb630d64c3da1: linux: implement statx(2) (authored by pitwuu_gmail.com).
linux: implement statx(2)
Feb 17 2022, 3:54 PM
trasz committed rGb5cae0d5ed3e: linux(4): implement PR_SET_NO_NEW_PRIVS (authored by trasz).
linux(4): implement PR_SET_NO_NEW_PRIVS
Feb 17 2022, 3:54 PM
trasz committed rG20daa209e449: linux: implement set_upcall on aarch64 (authored by trasz).
linux: implement set_upcall on aarch64
Feb 17 2022, 3:54 PM
trasz committed rG552c230a570b: linux: implement set_cloned_tls() on arm64 (authored by trasz).
linux: implement set_cloned_tls() on arm64
Feb 17 2022, 3:54 PM
trasz committed rGe0effca49904: Install the linux(4) man page also for aarch64 (authored by trasz).
Install the linux(4) man page also for aarch64
Feb 17 2022, 3:54 PM
trasz committed rGb993d60f6059: Cross-reference camcontrol(8) and zonectl(8) man pages. (authored by trasz).
Cross-reference camcontrol(8) and zonectl(8) man pages.
Feb 17 2022, 3:54 PM
trasz committed rG5d5616acec5b: linux: export AT_HWCAP and AT_HWCAP2 on aarch64 (authored by trasz).
linux: export AT_HWCAP and AT_HWCAP2 on aarch64
Feb 17 2022, 1:47 PM
trasz committed rGa95b05950a2f: linux: remove locks around callout_drain in timerfd_close() (authored by ankohuu_outlook.com).
linux: remove locks around callout_drain in timerfd_close()
Feb 17 2022, 1:47 PM
trasz committed rGb36eaf0f4ce8: linux: fix architecture returned for uname on aarch64 (authored by trasz).
linux: fix architecture returned for uname on aarch64
Feb 17 2022, 1:47 PM
trasz committed rG2ffd6857cca0: rc: make the 'linux' script explicitly load filesystem modules (authored by trasz).
rc: make the 'linux' script explicitly load filesystem modules
Feb 17 2022, 1:47 PM
trasz committed rGa10a92d34ca7: linsysfs: create /sys/bus/ and /sys/subsystem/ (authored by trasz).
linsysfs: create /sys/bus/ and /sys/subsystem/
Feb 17 2022, 1:47 PM
trasz committed rG3931de89e8f1: linux: add support for SO_PEERGROUPS (authored by trasz).
linux: add support for SO_PEERGROUPS
Feb 17 2022, 1:47 PM
trasz committed rG24ac1bd8ec3d: arm64: optimize set_syscall_retval() (authored by trasz).
arm64: optimize set_syscall_retval()
Feb 17 2022, 1:47 PM
trasz committed rG89847f7e04a3: linux: Improve debugging by recognizing TIOCGPTPEER (authored by trasz).
linux: Improve debugging by recognizing TIOCGPTPEER
Feb 17 2022, 12:56 PM
trasz committed rGecfdca569820: linux: Also translate the signal if the code is CLD_KILLED (authored by trasz).
linux: Also translate the signal if the code is CLD_KILLED
Feb 17 2022, 12:56 PM
trasz committed rGc80c9fd9f6bc: linux: Fix ENOTSOCK handling in sendfile(2) (authored by trasz).
linux: Fix ENOTSOCK handling in sendfile(2)
Feb 17 2022, 12:56 PM
trasz committed rGe19cb5cc3c2c: linux: recognize TCP_INFO and ratelimit the warning (authored by trasz).
linux: recognize TCP_INFO and ratelimit the warning
Feb 17 2022, 12:56 PM
trasz committed rG1f86d04d02a6: linux: Partially implement TCSBRK (authored by trasz).
linux: Partially implement TCSBRK
Feb 17 2022, 12:55 PM
trasz committed rG6bddc3116668: linux: improve FUSE support (authored by trasz).
linux: improve FUSE support
Feb 17 2022, 12:55 PM
trasz committed rGcbab32bdf15d: linux: deduplicate DUMMY() entries (authored by trasz).
linux: deduplicate DUMMY() entries
Feb 17 2022, 12:55 PM
trasz committed rG56205425a9b3: linux: make linux64.ko loadable again on aarch64 (authored by trasz).
linux: make linux64.ko loadable again on aarch64
Feb 17 2022, 12:10 PM
trasz committed rG64b1197cce64: Regen after 6d926e850d2. (authored by trasz).
Regen after 6d926e850d2.
Feb 17 2022, 12:10 PM
trasz committed rG2e2337522fcc: linux: add new syscall numbers (authored by trasz).
linux: add new syscall numbers
Feb 17 2022, 12:09 PM
trasz committed rG1e44a4ea0d4a: linux: support AT_EMPTY_PATH flag in fchownat(2) (authored by trasz).
linux: support AT_EMPTY_PATH flag in fchownat(2)
Feb 17 2022, 10:56 AM
trasz committed rG8e4ef1c3a3d9: linux: make fstatat(2) handle AT_EMPTY_PATH (authored by trasz).
linux: make fstatat(2) handle AT_EMPTY_PATH
Feb 17 2022, 10:56 AM
trasz committed rGda51ef550cf5: linux: implement O_PATH (authored by trasz).
linux: implement O_PATH
Feb 17 2022, 10:56 AM
trasz committed rG10553107a824: linux: extend the LINUX_O_ constants to make room for O_PATH (authored by trasz).
linux: extend the LINUX_O_ constants to make room for O_PATH
Feb 17 2022, 10:56 AM