Page MenuHomeFreeBSD

firk_cantconnect.ru (firk)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 1 2022, 8:15 AM (16 w, 4 d)

Recent Activity

Fri, Jun 3

firk_cantconnect.ru updated subscribers of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Fri, Jun 3, 10:24 PM · network, Jails, security

Sat, May 28

firk_cantconnect.ru added a comment to D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..

@trasz could you please say something about this?

Sat, May 28, 9:21 PM · Jails

Mar 30 2022

firk_cantconnect.ru updated the diff for D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..

Found a race between sys_exit() -> exit1() -> thread_exit() and sys_wait() -> proc_reap().
Slightly moving down PROC_SUNLOCK() in thread_exit() to protect RACCT_RT calculations from proc_reap() destroying p->p_racct.

Mar 30 2022, 5:29 AM · Jails

Mar 29 2022

firk_cantconnect.ru added a comment to D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.

For example it is possible to share file descriptor tables, and one of the processes may not be encumbered by the jail.

Mar 29 2022, 2:34 PM · network, Jails, security

Mar 28 2022

firk_cantconnect.ru updated subscribers of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 28 2022, 9:48 PM · network, Jails, security

Mar 25 2022

firk_cantconnect.ru updated the diff for D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 25 2022, 8:56 AM · Jails

Mar 23 2022

firk_cantconnect.ru updated the summary of D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 23 2022, 11:25 PM · Jails
firk_cantconnect.ru added inline comments to D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 23 2022, 11:22 PM · Jails
firk_cantconnect.ru updated the diff for D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 23 2022, 11:19 PM · Jails

Mar 22 2022

firk_cantconnect.ru added a watcher for Jails: firk_cantconnect.ru.
Mar 22 2022, 5:45 PM
firk_cantconnect.ru updated the test plan for D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 22 2022, 5:40 PM · Jails
firk_cantconnect.ru updated the summary of D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 22 2022, 5:38 PM · Jails
firk_cantconnect.ru requested review of D34637: Allow realtime and precise accounting of cpu utilization for threads and racct-objects..
Mar 22 2022, 5:36 PM · Jails

Mar 19 2022

firk_cantconnect.ru updated the diff for D34558: Fix imprecisions and timestep in cputime counters.

Found same function in lib/libkvm/kvm_proc.c, patch it too.

Mar 19 2022, 4:57 PM

Mar 17 2022

firk_cantconnect.ru updated the test plan for D34559: clock_gettime(CLOCK_THREAD_CPUTIME_ID) was not monotonic due to race.
Mar 17 2022, 7:01 PM
firk_cantconnect.ru added a comment to D34558: Fix imprecisions and timestep in cputime counters.

As for 64/64 divides on 32bit platform: in fact, (nearly) all 32-bit CPUs have a 32-bit tickrate (<4.2GHz), and modern compilers/libraries seems to use 64/32 math in runtime for such a case in 32-bit mode (__udivdi3 function).

Mar 17 2022, 5:11 AM

Mar 16 2022

firk_cantconnect.ru added a comment to D34558: Fix imprecisions and timestep in cputime counters.

I didn't done the test by myself, but this is trivial integer arithmetic.

Mar 16 2022, 10:44 PM
firk_cantconnect.ru added a comment to D34558: Fix imprecisions and timestep in cputime counters.

Is it possible to find out how this was tested?

Mar 16 2022, 10:40 PM
firk_cantconnect.ru updated the test plan for D34558: Fix imprecisions and timestep in cputime counters.
Mar 16 2022, 10:37 PM
firk_cantconnect.ru updated the test plan for D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 16 2022, 6:59 PM · network, Jails, security
firk_cantconnect.ru added a comment to D34559: clock_gettime(CLOCK_THREAD_CPUTIME_ID) was not monotonic due to race.

Is "firk <firk@cantconnect.ru>" the desired author for the git commit?

Mar 16 2022, 3:04 PM
firk_cantconnect.ru requested review of D34579: Verify directory fds against chroot when receiving them through SCM_RIGHTS.
Mar 16 2022, 10:28 AM · network, Jails, security

Mar 15 2022

firk_cantconnect.ru updated the diff for D34559: clock_gettime(CLOCK_THREAD_CPUTIME_ID) was not monotonic due to race.

simplify things according to replies

Mar 15 2022, 11:52 PM
firk_cantconnect.ru added inline comments to D34559: clock_gettime(CLOCK_THREAD_CPUTIME_ID) was not monotonic due to race.
Mar 15 2022, 11:51 PM
firk_cantconnect.ru retitled D34560: Add mount option to disallow creating sockets on filesystem from Add mount option to disallow creating socketson filesystem to Add mount option to disallow creating sockets on filesystem.
Mar 15 2022, 12:25 AM · security, network, Jails

Mar 14 2022

firk_cantconnect.ru requested review of D34560: Add mount option to disallow creating sockets on filesystem.
Mar 14 2022, 11:28 PM · security, network, Jails
firk_cantconnect.ru requested review of D34559: clock_gettime(CLOCK_THREAD_CPUTIME_ID) was not monotonic due to race.
Mar 14 2022, 11:18 PM
firk_cantconnect.ru requested review of D34558: Fix imprecisions and timestep in cputime counters.
Mar 14 2022, 11:10 PM
firk_cantconnect.ru requested review of D34557: UNIX-socket bind(): distinguish between alive listening socket and random garbage.
Mar 14 2022, 10:58 PM · network