Page MenuHomeFreeBSD
Feed Advanced Search

Aug 1 2021

trasz closed D31257: cam: enable kern.cam.da.enable_uma_ccbs by default.
Aug 1 2021, 9:51 AM

Jul 31 2021

trasz updated the summary of D31366: msdosfs: drop DE_RENAME.
Jul 31 2021, 6:15 PM
trasz requested review of D31366: msdosfs: drop DE_RENAME.
Jul 31 2021, 6:12 PM

Jul 30 2021

trasz added a comment to D31357: linux(4): Plug in aarch64 fcntl flags..

I wonder if we should move the old defines from linux_file.h somewhere under sys/x86/linux/, to prevent future confusion?

Jul 30 2021, 11:58 AM
trasz accepted D31345: linux(4): Implement faccessat2 system call..
Jul 30 2021, 11:38 AM

Jul 29 2021

trasz added inline comments to D31345: linux(4): Implement faccessat2 system call..
Jul 29 2021, 9:46 AM

Jul 27 2021

trasz committed rG30c6d9821904: linux: implement sigaltstack(2) on arm64 (authored by trasz).
linux: implement sigaltstack(2) on arm64
Jul 27 2021, 1:35 PM
trasz closed D31286: linux: implement sigaltstack(2) on arm64.
Jul 27 2021, 1:35 PM

Jul 26 2021

trasz updated the diff for D31286: linux: implement sigaltstack(2) on arm64.

Sigh, wrong diff.

Jul 26 2021, 2:53 PM
trasz updated the diff for D31286: linux: implement sigaltstack(2) on arm64.

Make it buildable on !arm64.

Jul 26 2021, 2:52 PM
trasz committed rGb54838003cd4: linux: fix sigaltstack on amd64 (authored by trasz).
linux: fix sigaltstack on amd64
Jul 26 2021, 11:21 AM
trasz closed D31298: linux: fix sigaltstack on amd64.
Jul 26 2021, 11:21 AM
trasz added a comment to D29288: Fix the 'linux' rc script on aarch64..

Honestly, for arm64 we need all of Linuxulator backported to 13-STABLE. The one currently there doesn't support some pretty basic things, like signal delivery.

Jul 26 2021, 11:03 AM
trasz closed D31258: linux: implement signal delivery on arm64.
Jul 26 2021, 10:31 AM
trasz committed rGccc510b46340: linux: implement signal delivery on arm64 (authored by trasz).
linux: implement signal delivery on arm64
Jul 26 2021, 10:31 AM

Jul 25 2021

trasz added a comment to D31258: linux: implement signal delivery on arm64.

(Tinderboxed.)

Jul 25 2021, 6:58 AM

Jul 24 2021

trasz updated the diff for D31258: linux: implement signal delivery on arm64.

Translate the signal number and siginfo.

Jul 24 2021, 2:33 PM
trasz added a reviewer for D31298: linux: fix sigaltstack on amd64: Linux Emulation.
Jul 24 2021, 2:27 PM
trasz requested review of D31298: linux: fix sigaltstack on amd64.
Jul 24 2021, 2:26 PM
trasz added a reviewer for D31286: linux: implement sigaltstack(2) on arm64: Linux Emulation.
Jul 24 2021, 12:07 PM
trasz updated the diff for D31286: linux: implement sigaltstack(2) on arm64.

Rebase.

Jul 24 2021, 12:06 PM
trasz committed rG72f7ddb587a7: linux: implement rt_sigsuspend(2) on arm64 (authored by trasz).
linux: implement rt_sigsuspend(2) on arm64
Jul 24 2021, 11:59 AM
trasz closed D31259: linux: implement rt_sigsuspend(2) on arm64.
Jul 24 2021, 11:59 AM
trasz added a comment to D31259: linux: implement rt_sigsuspend(2) on arm64.

(Tinderboxed.)

Jul 24 2021, 10:25 AM

Jul 23 2021

trasz requested review of D31286: linux: implement sigaltstack(2) on arm64.
Jul 23 2021, 12:45 PM
trasz updated the diff for D31259: linux: implement rt_sigsuspend(2) on arm64.

Add back missing chunk.

Jul 23 2021, 12:43 PM
trasz added a reviewer for D31285: linux: emit warning on SS_AUTODISARM: Linux Emulation.
Jul 23 2021, 12:39 PM
trasz requested review of D31285: linux: emit warning on SS_AUTODISARM.
Jul 23 2021, 12:32 PM
trasz updated the diff for D31259: linux: implement rt_sigsuspend(2) on arm64.

Follow dchagin@'s advise and make it MI.

Jul 23 2021, 11:33 AM
trasz added a comment to D31259: linux: implement rt_sigsuspend(2) on arm64.

On amd64 we have both 32-bit and 64-bit versions of linux_rt_sigsuspend(), though.

Jul 23 2021, 8:58 AM

Jul 22 2021

trasz added inline comments to D31258: linux: implement signal delivery on arm64.
Jul 22 2021, 12:32 PM
trasz updated the diff for D31258: linux: implement signal delivery on arm64.

Fix trampoline, don't use sv_sigcode_base.

Jul 22 2021, 12:30 PM
trasz added a comment to D30183: tzcode: Implement timezone change detection.

Now, about the upstream - I've looked at https://github.com/eggert/tz.git, and it... well, it does resemble our code, to an extent. Which is to say, their code is quite a bit different from ours. Not sure how to handle this, tbh.

Jul 22 2021, 11:03 AM

Jul 21 2021

trasz added a reviewer for D31259: linux: implement rt_sigsuspend(2) on arm64: Linux Emulation.
Jul 21 2021, 1:02 PM
trasz requested review of D31259: linux: implement rt_sigsuspend(2) on arm64.
Jul 21 2021, 1:02 PM
trasz added a reviewer for D31258: linux: implement signal delivery on arm64: Linux Emulation.
Jul 21 2021, 12:38 PM
trasz requested review of D31258: linux: implement signal delivery on arm64.
Jul 21 2021, 12:38 PM
trasz committed rG8bc3dc01005e: Regen after 2561da0636c. (authored by trasz).
Regen after 2561da0636c.
Jul 21 2021, 12:28 PM
trasz committed rG2561da0636c1: linux: Fix declaration of rt_sigreturn() on arm64 (authored by trasz).
linux: Fix declaration of rt_sigreturn() on arm64
Jul 21 2021, 12:26 PM
trasz closed D31251: linux: Fix declaration of rt_sigreturn().
Jul 21 2021, 12:26 PM
trasz added a comment to D30183: tzcode: Implement timezone change detection.
In D30183#702980, @imp wrote:

Indeed, this is intended to detect changes to the timezone. However, it's not just one file: it also needs to detect changes to a symlink components in the timezone file path; so while the stat(2) version is fine as it is - it uses the whole path - the kqueue(2)-based one would require keeping open file descriptors for each path component. And with both kqueue(2), and the current implementation using stat(2), we would need some kind of static timeout to avoid calling into the kernel every time.

Wouldn't it be sufficient to check the destination file as well as the symlink itself to detect any changes in anything other than a pathological deployment?

Jul 21 2021, 10:12 AM
trasz updated the diff for D30183: tzcode: Implement timezone change detection.

Use CLOCK_MONOTONIC, not CLOCK_MONOTONIC_FAST; remove comment.

Jul 21 2021, 10:11 AM
trasz added inline comments to D30183: tzcode: Implement timezone change detection.
Jul 21 2021, 10:09 AM
trasz added a reviewer for D31257: cam: enable kern.cam.da.enable_uma_ccbs by default: imp.
Jul 21 2021, 9:59 AM
trasz requested review of D31257: cam: enable kern.cam.da.enable_uma_ccbs by default.
Jul 21 2021, 9:58 AM
trasz committed rG616a676a0535: cam: clear stack-allocated CCB in the target layer (authored by trasz).
cam: clear stack-allocated CCB in the target layer
Jul 21 2021, 9:54 AM
trasz closed D30298: cam: clear stack-allocated CCB in the target layer.
Jul 21 2021, 9:53 AM
trasz committed rG0634390572b2: chroot: fix typo in usage (authored by trasz).
chroot: fix typo in usage
Jul 21 2021, 9:17 AM
trasz committed rGa15719671352: sesutil: Fix status checking (authored by trasz).
sesutil: Fix status checking
Jul 21 2021, 9:15 AM
trasz closed D31219: sesutil: Fix status checking.
Jul 21 2021, 9:15 AM
trasz added a comment to D31219: sesutil: Fix status checking.

(Tinderboxed.)

Jul 21 2021, 9:13 AM

Jul 20 2021

trasz added a comment to D31251: linux: Fix declaration of rt_sigreturn().

I think you should start by adapting arm64 sendsig and sigreturn, and trampoline

Jul 20 2021, 8:22 PM
trasz added a comment to D31251: linux: Fix declaration of rt_sigreturn().
Jul 20 2021, 8:20 PM
trasz added a comment to D31251: linux: Fix declaration of rt_sigreturn().

The change is trivial, but I'd like to make sure I got this right; I have a patch that implements signal delivery on arm64, but it's still somewhat buggy. I'm not sure where the argument got here in the first place.

Jul 20 2021, 7:46 PM
trasz added reviewers for D31251: linux: Fix declaration of rt_sigreturn(): Linux Emulation, dchagin, emaste.
Jul 20 2021, 7:45 PM
trasz requested review of D31251: linux: Fix declaration of rt_sigreturn().
Jul 20 2021, 7:45 PM
trasz committed rGa40cf4175c90: Implement unprivileged chroot (authored by trasz).
Implement unprivileged chroot
Jul 20 2021, 9:30 AM
trasz closed D30130: Unprivileged chroot.
Jul 20 2021, 9:30 AM

Jul 19 2021

trasz added a comment to D30183: tzcode: Implement timezone change detection.

Is this NetApp code being merged, or is this upstream tzcode? If this is not upstream, it should be submitted to the tz mailing list for wider review by the tz community.

Jul 19 2021, 5:12 PM
trasz updated the diff for D30183: tzcode: Implement timezone change detection.

Use clock_gettime(2) and make WITH_DETECT_TZ_CHANGES a proper build option.

Jul 19 2021, 5:10 PM
trasz requested review of D31219: sesutil: Fix status checking.
Jul 19 2021, 4:28 PM
trasz added a comment to D30183: tzcode: Implement timezone change detection.

Sorry for delay; I had quite a bit of a backlog...

Jul 19 2021, 1:42 PM
trasz added a comment to D31204: autofs: Make special_media more flexible.

Thank you for testing. The duplicated entries look interesting; I think this is another reason why the special_media map ignores geom_label(4) providers. I think we should have a sysctl that reports not just providers usage counts, but also their geom class names, so we can explicitely filter out labels, while keeping other providers with slash in their names.

Jul 19 2021, 1:33 PM
trasz accepted D31048: bin/ps: Avoid function name conflict with libc uname().
Jul 19 2021, 11:17 AM

Jul 17 2021

trasz added a reviewer for D31204: autofs: Make special_media more flexible: rkoberman_gmail.com.
Jul 17 2021, 11:31 AM
trasz added reviewers for D31204: autofs: Make special_media more flexible: rew, cperciva.
Jul 17 2021, 11:28 AM
trasz requested review of D31204: autofs: Make special_media more flexible.
Jul 17 2021, 11:27 AM
trasz added a comment to D30298: cam: clear stack-allocated CCB in the target layer.

I thought about this, and while I agree in principle with what this should eventually look like, I'd rather stay with the current patch for now. The deficiencies you've identified are real, but they are already there, and I'd prefer to first get finished with UMA CCBs, with minimally intrusive patches like this one, and only after that's done get back to more intrusive stuff. It's just easier to debug (and perhaps merge) this way. Not to mention I don't even have a way to test this code; I believe I'd need two physical isp(4) HBAs with a cable?

Jul 17 2021, 8:23 AM

Jul 13 2021

trasz added a comment to D30130: Unprivileged chroot.

(Tinderboxed.)

Jul 13 2021, 8:21 PM
trasz committed rG3eaf271d3c0e: linux(4): Improve comment about SA_RESTORER (authored by trasz).
linux(4): Improve comment about SA_RESTORER
Jul 13 2021, 10:13 AM
trasz updated the diff for D30130: Unprivileged chroot.

Fix Xr.

Jul 13 2021, 10:02 AM
trasz committed rG84a3963d5d94: linux(4): remove unfinished vsyscall bits on arm64 (authored by trasz).
linux(4): remove unfinished vsyscall bits on arm64
Jul 13 2021, 10:00 AM
trasz closed D31091: linux(4): remove unfinished vsyscall bits on arm64.
Jul 13 2021, 9:59 AM
trasz added a comment to D31091: linux(4): remove unfinished vsyscall bits on arm64.

(Tinderboxed.)

Jul 13 2021, 9:50 AM
trasz added a comment to D30298: cam: clear stack-allocated CCB in the target layer.

So... Scott, are you still against the change as it is?

Jul 13 2021, 9:36 AM

Jul 10 2021

trasz added a comment to D30940: proccontrol(1): implement 'nonewprivs'.

Thanks :-)

Jul 10 2021, 10:41 PM

Jul 9 2021

trasz accepted D30902: linux(4): Fixup the vDSO initialization order..
Jul 9 2021, 2:02 PM

Jul 7 2021

trasz added a reviewer for D31091: linux(4): remove unfinished vsyscall bits on arm64: Linux Emulation.
Jul 7 2021, 1:41 PM
trasz requested review of D31091: linux(4): remove unfinished vsyscall bits on arm64.
Jul 7 2021, 1:40 PM
trasz retitled D30130: Unprivileged chroot from PROC_NO_NEW_PRIVS and `chroot -n` to Unprivileged chroot.
Jul 7 2021, 10:09 AM
trasz updated the diff for D30130: Unprivileged chroot.

Regen, improve man page description.

Jul 7 2021, 10:08 AM
trasz closed D30567: cam: enable kern.cam.ada.enable_uma_ccbs by default.
Jul 7 2021, 9:48 AM
trasz committed rG6f147a0734e0: cam: enable kern.cam.ada.enable_uma_ccbs by default (authored by trasz).
cam: enable kern.cam.ada.enable_uma_ccbs by default
Jul 7 2021, 9:48 AM

Jul 6 2021

trasz closed D30698: cam: drop unused 'saved_ccb' field from softcs.
Jul 6 2021, 9:36 AM
trasz committed rGa081a943a0ec: cam: drop unused 'saved_ccb' field from softcs (authored by trasz).
cam: drop unused 'saved_ccb' field from softcs
Jul 6 2021, 9:36 AM
trasz committed rG13aa56fcd596: cam(4): preserve alloc_flags when copying CCBs (authored by trasz).
cam(4): preserve alloc_flags when copying CCBs
Jul 6 2021, 8:55 AM
trasz closed D31054: cam(4): preserve alloc_flags when copying CCBs.
Jul 6 2021, 8:55 AM
trasz added a comment to D31054: cam(4): preserve alloc_flags when copying CCBs.

(Tinderboxed.)

Jul 6 2021, 8:22 AM

Jul 5 2021

trasz added a comment to D30457: linuxulator: Some ptrace fixes...

Sorry for delay. I've just finished dusting off https://reviews.freebsd.org/D28212; hopefully it will hit the tree soon.

Jul 5 2021, 5:53 PM
trasz updated the diff for D28212: linux: implement PTRACE_GET_SYSCALL_INFO.

Fix problems reported by jhb@, also style(9).

Jul 5 2021, 5:51 PM
trasz added a comment to D30298: cam: clear stack-allocated CCB in the target layer.

There might be some deferred action going on here, but I'd rather not do any deeper changes simply because it's unrelated to the problem at hand. I'm not even sure how to test it properly - it probably involves an FC HBA (isp(4)?) in target mode.

Jul 5 2021, 3:32 PM
trasz added a reviewer for D31054: cam(4): preserve alloc_flags when copying CCBs: imp.
Jul 5 2021, 2:01 PM
trasz requested review of D31054: cam(4): preserve alloc_flags when copying CCBs.
Jul 5 2021, 1:58 PM

Jul 3 2021

trasz committed rG2f514e6f13de: linux(4): implement PR_SET_NO_NEW_PRIVS (authored by trasz).
linux(4): implement PR_SET_NO_NEW_PRIVS
Jul 3 2021, 8:00 AM
trasz closed D30973: linux(4): implement PR_SET_NO_NEW_PRIVS.
Jul 3 2021, 8:00 AM
trasz committed rG45d99014ca3a: linux(4): implement coredumps on arm64 (authored by trasz).
linux(4): implement coredumps on arm64
Jul 3 2021, 7:41 AM
trasz closed D30975: linux(4): implement coredumps on arm64.
Jul 3 2021, 7:41 AM

Jul 2 2021

trasz closed D30940: proccontrol(1): implement 'nonewprivs'.
Jul 2 2021, 7:51 AM
trasz committed rGacb1f1269c6f: proccontrol(1): implement 'nonewprivs' (authored by trasz).
proccontrol(1): implement 'nonewprivs'
Jul 2 2021, 7:51 AM

Jul 1 2021

trasz added a comment to D30973: linux(4): implement PR_SET_NO_NEW_PRIVS.

(Tinderboxed.)

Jul 1 2021, 9:50 PM