Page MenuHomeFreeBSD

trasz (Edward Tomasz Napierała)
User

Projects

User Details

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

Recent Activity

Yesterday

trasz added a comment to D20411: Add devfs(5) support for VOP_MKDIR(9) and VOP_RMDIR(9).
In D20411#440660, @kib wrote:
In D20411#440658, @tijl wrote:
In D20411#440580, @mjg wrote:

I think arbitrary mkdir/rmdir is a can of worms, perfectly avoidable for the stated purpose.

Arbitrary symlinks are already supported. Why would mkdir be any different?

Sun, May 26, 10:56 AM

Sat, May 25

trasz added a comment to D20333: Make linux(4) create /dev/shm..

This is a bit hacky, even for my standards, so I've come up with this as an alternative: https://reviews.freebsd.org/D20411.

Sat, May 25, 7:40 PM
trasz created D20411: Add devfs(5) support for VOP_MKDIR(9) and VOP_RMDIR(9).
Sat, May 25, 7:34 PM
trasz committed rS348274: We don't really need two entries to describe how to deal with.
We don't really need two entries to describe how to deal with
Sat, May 25, 5:37 PM

Thu, May 23

trasz updated the diff for D20333: Make linux(4) create /dev/shm..

Also call stuff for i386.

Thu, May 23, 12:22 PM

Tue, May 21

trasz added a comment to D20333: Make linux(4) create /dev/shm..

linux_common is not used in i386

Tue, May 21, 3:12 PM
trasz updated the diff for D20333: Make linux(4) create /dev/shm..

Move stuff around.

Tue, May 21, 3:11 PM
trasz abandoned D19425: pre_execve/post_execve cleanup..
Tue, May 21, 1:15 PM
trasz added a comment to D20322: Make linux_enable="YES" result in mounting linprocfs, linsysfs, and handling /dev/shm/.

I like the idea although have users already put entries in /etc/fstab?

Tue, May 21, 12:30 PM
trasz added a comment to D20322: Make linux_enable="YES" result in mounting linprocfs, linsysfs, and handling /dev/shm/.
In D20322#438209, @tijl wrote:

We used to tell people to symlink /dev/shm to /tmp in pkg-message but some programs check the file system type of /dev/shm (using statfs) so after https://svnweb.freebsd.org/base?view=revision&revision=283461 /dev/shm must be tmpfs for these programs to work properly and /tmp isn't necessarily tmpfs. So I created /compat/linux/dev/shm in https://svnweb.freebsd.org/ports?view=revision&revision=424237. This also makes /dev/shm and /tmp separate namespaces like they are on Linux. The only problem I've encountered with this is when running 'command > /dev/null' as root it will create /compat/linux/dev/null as a regular file. There's no such problem when running commands as a regular user. I think the proper fix is to have a real /dev/shm directory, either by default or created by linux_common.ko. And then let linux_enable mount a tmpfs there.

Tue, May 21, 12:29 PM
trasz created D20333: Make linux(4) create /dev/shm..
Tue, May 21, 12:29 PM
trasz added a comment to D20116: Introduce <sys/qmath.h>.

Functions which create/initialise a Q number.

Is this Q number format defined elsewhere or is it specific to this set of routines?

Tue, May 21, 12:10 PM
trasz added inline comments to D20124: Mention atf(7) in tests(7).
Tue, May 21, 8:30 AM
trasz committed rS348050: Xr make_dev(9) from devfs(5)..
Xr make_dev(9) from devfs(5).
Tue, May 21, 8:24 AM
trasz committed rS348049: Make linux_ptrace() use linux_msg() instead of printf()..
Make linux_ptrace() use linux_msg() instead of printf().
Tue, May 21, 8:23 AM

Mon, May 20

trasz updated the diff for D20324: Introduce the ARB tree(3) macros.

Drop unneeded line

Mon, May 20, 6:43 PM
trasz updated the test plan for D20321: emulators/linux_base-c7: Don't create /compat/linux/dev.
Mon, May 20, 6:38 PM
trasz created D20324: Introduce the ARB tree(3) macros.
Mon, May 20, 6:37 PM
trasz committed rS348000: Improve tree(3) tests by using ATF_REQUIRE where applicable..
Improve tree(3) tests by using ATF_REQUIRE where applicable.
Mon, May 20, 6:35 PM
trasz created D20322: Make linux_enable="YES" result in mounting linprocfs, linsysfs, and handling /dev/shm/.
Mon, May 20, 5:01 PM
trasz created D20321: emulators/linux_base-c7: Don't create /compat/linux/dev.
Mon, May 20, 5:00 PM

Sun, May 19

trasz committed rS347971: Implement PTRACE_O_TRACESYSGOOD. This makes Linux strace(1) work..
Implement PTRACE_O_TRACESYSGOOD. This makes Linux strace(1) work.
Sun, May 19, 12:58 PM
trasz closed D20200: Implement PTRACE_O_TRACESYSGOOD.
Sun, May 19, 12:58 PM

Thu, May 16

trasz updated the diff for D20200: Implement PTRACE_O_TRACESYSGOOD.

Even more better ifdefs.

Thu, May 16, 11:53 AM
trasz added a comment to D20200: Implement PTRACE_O_TRACESYSGOOD.

Okay, there's still something wrong. While "kldload linux64" works, the "kldload linux" doesn't due to "link_elf_obj: symbol linux_ptrace_status undefined" error.

Thu, May 16, 11:26 AM
trasz committed rS347682: The "apropos ''" command no longer works; change development(7).
The "apropos ''" command no longer works; change development(7)
Thu, May 16, 9:49 AM

Wed, May 15

trasz updated the diff for D20200: Implement PTRACE_O_TRACESYSGOOD.

One more ifdef, per dchagin's suggestion.

Wed, May 15, 6:00 PM

Tue, May 14

trasz committed rS347580: Fix handling of r10 in Linux ptrace(2). This fixes decoding.
Fix handling of r10 in Linux ptrace(2). This fixes decoding
Tue, May 14, 8:59 PM
trasz closed D20223: Fix handling of r10 in Linux ptrace(2)..
Tue, May 14, 8:59 PM
trasz updated the diff for D20200: Implement PTRACE_O_TRACESYSGOOD.

Ifdef out the thing.

Tue, May 14, 8:44 PM
trasz committed rS347579: MFC r346120:.
MFC r346120:
Tue, May 14, 8:41 PM
trasz committed rS347577: MFC r346076:.
MFC r346076:
Tue, May 14, 8:31 PM
trasz committed rS347576: MFC r346053:.
MFC r346053:
Tue, May 14, 8:29 PM
trasz committed rS347575: MFC r346030:.
MFC r346030:
Tue, May 14, 8:28 PM
trasz committed rS347574: MFC r345661:.
MFC r345661:
Tue, May 14, 8:26 PM
trasz committed rS347573: MFC r345547:.
MFC r345547:
Tue, May 14, 8:19 PM
trasz committed rS347572: MFC r345448:.
MFC r345448:
Tue, May 14, 8:03 PM
trasz committed rS347571: MFC r344705:.
MFC r344705:
Tue, May 14, 7:52 PM
trasz added inline comments to D20200: Implement PTRACE_O_TRACESYSGOOD.
Tue, May 14, 2:05 PM

Mon, May 13

trasz updated the diff for D20116: Introduce <sys/qmath.h>.

Documentation/tests improvements.

Mon, May 13, 6:18 PM

Fri, May 10

trasz created D20223: Fix handling of r10 in Linux ptrace(2)..
Fri, May 10, 8:20 AM
trasz committed rS347426: Try to unbreak the build after r347425..
Try to unbreak the build after r347425.
Fri, May 10, 8:16 AM
trasz committed rP501160: New port: devel/linux-c7-strace.
New port: devel/linux-c7-strace
Fri, May 10, 7:57 AM
trasz closed D20030: [new port] devel/linux-c7-strace: System call tracer for version 7.
Fri, May 10, 7:57 AM
trasz committed rS347425: Add simple regression tests for tree(3). Those are ATF-ified versions.
Add simple regression tests for tree(3). Those are ATF-ified versions
Fri, May 10, 7:46 AM
trasz closed D20186: Add simple regression tests for tree(3)..
Fri, May 10, 7:46 AM

Wed, May 8

trasz committed rS347361: Add usage example to tree(3)..
Add usage example to tree(3).
Wed, May 8, 6:50 PM
trasz committed rS347360: Mark inline functions with __unused; prevents compiler warning.
Mark inline functions with __unused; prevents compiler warning
Wed, May 8, 6:47 PM
trasz closed D20185: Mark __inline functions which are not neccessarily used, with __unused..
Wed, May 8, 6:47 PM
trasz committed rP501036: New port: devel/linux-ltp.
New port: devel/linux-ltp
Wed, May 8, 6:41 PM
trasz closed D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).
Wed, May 8, 6:41 PM
trasz added a comment to D20185: Mark __inline functions which are not neccessarily used, with __unused..

That was copy/paste from OpenBSD's commit message, but okay. How about now?

Wed, May 8, 3:44 PM
trasz updated the summary of D20185: Mark __inline functions which are not neccessarily used, with __unused..
Wed, May 8, 3:43 PM
trasz created D20200: Implement PTRACE_O_TRACESYSGOOD.
Wed, May 8, 1:25 PM

Tue, May 7

trasz committed rS347231: Support PTRACE_GETREGSET w/ NT_PRSTATUS in Linux ptrace(2)..
Support PTRACE_GETREGSET w/ NT_PRSTATUS in Linux ptrace(2).
Tue, May 7, 7:06 PM
trasz closed D20152: Support NT_PRSTATUS in Linux ptrace(2).
Tue, May 7, 7:06 PM
trasz added a comment to D20185: Mark __inline functions which are not neccessarily used, with __unused..

Not sure what do you mean. I think I've marked all __inline functions there?

Tue, May 7, 7:04 PM
trasz created D20186: Add simple regression tests for tree(3)..
Tue, May 7, 5:56 PM
trasz created D20185: Mark __inline functions which are not neccessarily used, with __unused..
Tue, May 7, 5:53 PM
trasz added a comment to D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).
In D20092#434881, @ngie wrote:
In D20092#433990, @ngie wrote:

This looks good to me (not a ports committer though, so just reviewing the change).
As a volunteer/co-maintainer on the LTP project, your suggestions make sense.
The only thing that I would do is install LTP to /compat/linux/opt, if at all possible. If not, we can come up with a better way to build/relocate LTP (I wrote the current build system about a decade ago for the project).

But it does install to /compat/linux/opt - except for the documentation (where it follows Linux conventions) and two binaries - not sure what's going on with those two.

Which 2 binaries? Asking, because I can fix upstream potentially.

Tue, May 7, 5:50 PM
trasz updated the diff for D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).

Add LICENSE.

Tue, May 7, 5:48 PM
trasz accepted D20178: Prevent users from building obviously defective Linuxulator modules..

The title and description don't match the patch, but apart from that - looks good!

Tue, May 7, 4:46 PM
trasz added a comment to D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).

Okay. So... last chance for folks who want to be on the 'Reviewed by' list to mark it as Approved? Thanks :-)

Tue, May 7, 2:54 PM
trasz added a comment to D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).
In D20092#433990, @ngie wrote:

This looks good to me (not a ports committer though, so just reviewing the change).
As a volunteer/co-maintainer on the LTP project, your suggestions make sense.
The only thing that I would do is install LTP to /compat/linux/opt, if at all possible. If not, we can come up with a better way to build/relocate LTP (I wrote the current build system about a decade ago for the project).

Tue, May 7, 2:53 PM
trasz added a comment to D20178: Prevent users from building obviously defective Linuxulator modules..

Have you considered splitting it into two: one for getting rid of DEBUG, and one for preventing out of tree builds? The former looks fine, but I don’t understand the build system well enough wrt the latter.

Tue, May 7, 10:08 AM

Sun, May 5

trasz abandoned D19863: Rework vnode locking in the ELF loader.
Sun, May 5, 11:17 PM
trasz abandoned D19909: Improve vnode locking in ELF loader.
Sun, May 5, 11:16 PM

Fri, May 3

trasz updated the summary of D20152: Support NT_PRSTATUS in Linux ptrace(2).
Fri, May 3, 8:00 PM
trasz updated the summary of D20152: Support NT_PRSTATUS in Linux ptrace(2).
Fri, May 3, 7:59 PM
trasz created D20152: Support NT_PRSTATUS in Linux ptrace(2).
Fri, May 3, 7:51 PM
trasz committed rS347051: Decode more CPU flags in cpuinfo..
Decode more CPU flags in cpuinfo.
Fri, May 3, 8:27 AM
trasz closed D20145: Decode more CPU flags in cpuinfo.
Fri, May 3, 8:27 AM

Thu, May 2

trasz updated the diff for D20145: Decode more CPU flags in cpuinfo.

Fix whitespace.

Thu, May 2, 7:06 PM
trasz added a comment to D20139: Fix flags in cpuinfo..

Like https://reviews.freebsd.org/D20145?

Thu, May 2, 7:04 PM
trasz created D20145: Decode more CPU flags in cpuinfo.
Thu, May 2, 7:03 PM
trasz committed rS347030: Fix flags in cpuinfo..
Fix flags in cpuinfo.
Thu, May 2, 7:02 PM
trasz closed D20139: Fix flags in cpuinfo..
Thu, May 2, 7:02 PM
trasz added a comment to D20139: Fix flags in cpuinfo..

Not sure what you mean?

Thu, May 2, 1:20 PM
trasz created D20139: Fix flags in cpuinfo..
Thu, May 2, 11:55 AM
trasz added a comment to D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).

So, given the dispute above is more about guidelines for Linux packages and less about this port in particular, is there anything left to do before this can be committed?

Thu, May 2, 9:11 AM
trasz committed rS347015: Add sys/devices/system/cpu/{possible,present} to linsysfs(5)..
Add sys/devices/system/cpu/{possible,present} to linsysfs(5).
Thu, May 2, 8:17 AM
trasz closed D20131: Add sys/devices/system/cpu/{possible,present} to linsysfs(5). That makes Linux lscpu(1) work..
Thu, May 2, 8:17 AM
trasz committed rP500641: Install Linux df(1)..
Install Linux df(1).
Thu, May 2, 8:16 AM
trasz closed D20132: emulators/linux_base-c7: Install Linux df(1).
Thu, May 2, 8:16 AM

Wed, May 1

trasz added a comment to D20124: Mention atf(7) in tests(7).

The kyua(1) man page does reference atf... in a way - it just .Xrs to it, without mentioning it in the text itself. And yeah, the Wiki does include some more detail, but I always view it as kind of additional source - I know I went for the man page first, and simply pointing me in the right direction would spare me some work. Basically - 'man tests' is the first place I'd look for information on tests. And as it is now, it mentions how to run them, but not how to write them.

Wed, May 1, 10:47 PM
trasz committed rS347003: Unbreak the tests after r347002..
Unbreak the tests after r347002.
Wed, May 1, 7:35 PM
trasz updated the diff for D20092: [new port] devel/linux-ltp: Linux Test Project (openSUSE Leap 42.3).

Add pkg-descr.

Wed, May 1, 7:00 PM
trasz added a reviewer for D20132: emulators/linux_base-c7: Install Linux df(1): tijl.
Wed, May 1, 6:59 PM
trasz created D20132: emulators/linux_base-c7: Install Linux df(1).
Wed, May 1, 6:59 PM
trasz created D20131: Add sys/devices/system/cpu/{possible,present} to linsysfs(5). That makes Linux lscpu(1) work..
Wed, May 1, 6:58 PM
trasz closed D20130: Add 'Birth' to 'stat -x' output.
Wed, May 1, 6:56 PM
trasz committed rS347002: Add 'Birth' to 'stat -x' output. Current Linux stat(1).
Add 'Birth' to 'stat -x' output. Current Linux stat(1)
Wed, May 1, 6:56 PM
trasz committed rS347001: Add MLINKS to atf-c.3..
Add MLINKS to atf-c.3.
Wed, May 1, 6:54 PM
trasz closed D20125: Add MLINKS to atf-c.3.
Wed, May 1, 6:54 PM
trasz added reviewers for D20130: Add 'Birth' to 'stat -x' output: ngie, cem.
Wed, May 1, 5:27 PM
trasz created D20130: Add 'Birth' to 'stat -x' output.
Wed, May 1, 5:25 PM
trasz added a reviewer for D20125: Add MLINKS to atf-c.3: manpages.
Wed, May 1, 1:10 PM
trasz created D20125: Add MLINKS to atf-c.3.
Wed, May 1, 1:10 PM
trasz added a reviewer for D20124: Mention atf(7) in tests(7): ngie.
Wed, May 1, 1:02 PM
trasz created D20124: Mention atf(7) in tests(7).
Wed, May 1, 1:01 PM