Page MenuHomeFreeBSD

pstef (Piotr Stefaniak)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 25 2016, 9:00 PM (209 w, 5 d)

Recent Activity

Mon, Jun 29

pstef committed rS362773: MFC r362495:.
MFC r362495:
Mon, Jun 29, 6:28 AM

Sat, Jun 27

pstef committed rS362707: ps(1): don't try to handle non-SMP systems.
ps(1): don't try to handle non-SMP systems
Sat, Jun 27, 8:02 PM
pstef closed D25377: ps(1): reuse keyword "cpu" to show CPU number.
Sat, Jun 27, 7:09 PM
pstef committed rS362705: ps(1): reuse keyword "cpu" to show CPU number.
ps(1): reuse keyword "cpu" to show CPU number
Sat, Jun 27, 7:09 PM
pstef added a comment to D25487: kern.tty_info_kstacks: add a compact format.
In D25487#562808, @mjg wrote:

Side note is that I think the shorter format should be the default.

Sat, Jun 27, 3:10 PM
pstef committed rS362673: MFC r362429 and r362430:.
MFC r362429 and r362430:
Sat, Jun 27, 9:01 AM

Fri, Jun 26

pstef added a comment to D25433: ports.7: mention SU_CMD.
In D25433#562475, @0mp wrote:

Just a note for your consideration: I wonder if we should mention there, that people often use set SU_CMD to use sudo (I do at least):

.if exists(/usr/local/bin/sudo)
SU_CMD= /usr/local/bin/sudo -E sh -c
.endif
Fri, Jun 26, 9:13 PM · portmgr, manpages
pstef added a comment to D25433: ports.7: mention SU_CMD.

What I did is I think consistent with the rest of the file, for example

.It Cm fetch
Fetch all of the files needed to build this port from the sites
listed in
.Va MASTER_SITES
and
.Va PATCH_SITES .
See
.Va FETCH_CMD , MASTER_SITE_OVERRIDE
and
.Va MASTER_SITE_BACKUP .
Fri, Jun 26, 9:06 PM · portmgr, manpages

Thu, Jun 25

pstef updated the diff for D25377: ps(1): reuse keyword "cpu" to show CPU number.

Don't make keyword descriptions even less sorted than they are now.

Thu, Jun 25, 2:49 PM
pstef added a comment to D25447: /usr/libexec/flua: Add bindings for libifconfig.

I can see some potential for automation and orchestration.

Thu, Jun 25, 2:39 PM

Wed, Jun 24

pstef edited projects for D25433: ports.7: mention SU_CMD, added: portmgr; removed Ports Committers.
Wed, Jun 24, 8:58 PM · portmgr, manpages
pstef added a project to D25433: ports.7: mention SU_CMD: Ports Committers.
Wed, Jun 24, 8:56 PM · portmgr, manpages
pstef edited projects for D25433: ports.7: mention SU_CMD, added: manpages; removed docs.
Wed, Jun 24, 8:50 PM · portmgr, manpages
pstef added a project to D25433: ports.7: mention SU_CMD: docs.
Wed, Jun 24, 8:36 PM · portmgr, manpages
pstef requested review of D25433: ports.7: mention SU_CMD.
Wed, Jun 24, 8:33 PM · portmgr, manpages

Tue, Jun 23

pstef committed rS362547: pstat(8): improve the Size header width after r358181.
pstat(8): improve the Size header width after r358181
Tue, Jun 23, 6:19 PM
pstef added a comment to D25398: w: remove proc_compare().

It's not immediately obivious to me why rS29310 would render this a no-op, but I know that the use of ki_estcpu instead of ki_pctcpu is bogus for anything but the 4BSD scheduler.

Tue, Jun 23, 5:04 PM
pstef closed D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Tue, Jun 23, 3:23 AM
pstef closed D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Tue, Jun 23, 3:17 AM

Mon, Jun 22

pstef committed rS362508: MFC r358405 (by hrs):.
MFC r358405 (by hrs):
Mon, Jun 22, 7:16 PM
pstef committed rS362507: MFC r357186 (by imp): Remove old device list.
MFC r357186 (by imp): Remove old device list
Mon, Jun 22, 7:09 PM
pstef committed rS362506: MFC r357186 (by imp): Remove old device list.
MFC r357186 (by imp): Remove old device list
Mon, Jun 22, 7:09 PM
pstef committed rS362495: strtok(3): make it easier to find the RETURN VALUES section.
strtok(3): make it easier to find the RETURN VALUES section
Mon, Jun 22, 11:03 AM

Sun, Jun 21

pstef committed rS362469: MFC r349235 (by allanjude):.
MFC r349235 (by allanjude):
Sun, Jun 21, 8:23 PM
pstef accepted D24844: libc/resolv: attempt to fix the test under WARNS=6.
Sun, Jun 21, 1:12 PM
pstef added a comment to D23429: rescue: add fetch.

This seems big, I'd suggest asking freebsd-arch@

Sun, Jun 21, 8:56 AM
pstef accepted D23942: Document that gettimeofday() is obsolescent.
Sun, Jun 21, 8:22 AM
pstef added inline comments to D24844: libc/resolv: attempt to fix the test under WARNS=6.
Sun, Jun 21, 8:06 AM
pstef accepted D25009: flua: add ucl library.
Sun, Jun 21, 8:00 AM
pstef accepted D25174: w: use locale-based format specifiers.
Sun, Jun 21, 7:56 AM
pstef added inline comments to D25365: Early WIP: convert login.conf to UCL.
Sun, Jun 21, 7:52 AM
pstef added a comment to D25338: Do not recommend sleeping when using vipw(8) non-interactively.

I would move the "The mechanism for checking for password file modifications requires that the modification time of the password file changes." part under a NOTES section and then remove the BUGS section.

Sun, Jun 21, 7:29 AM

Sat, Jun 20

pstef retitled D25377: ps(1): reuse keyword "cpu" to show CPU number from ps(1): add a cpu# flag to ps(1): reuse keyword "cpu" to show CPU number.
Sat, Jun 20, 10:56 PM
pstef updated the diff for D25377: ps(1): reuse keyword "cpu" to show CPU number.

Handle non-SMP systems

Sat, Jun 20, 10:44 PM
pstef updated the diff for D25377: ps(1): reuse keyword "cpu" to show CPU number.

Changed my mind, the new functionality will replace the old one.

Sat, Jun 20, 9:53 PM
pstef updated the summary of D25377: ps(1): reuse keyword "cpu" to show CPU number.
Sat, Jun 20, 7:31 PM
pstef updated the summary of D25377: ps(1): reuse keyword "cpu" to show CPU number.
Sat, Jun 20, 7:30 PM
pstef requested review of D25377: ps(1): reuse keyword "cpu" to show CPU number.
Sat, Jun 20, 7:30 PM
pstef closed D25369: Make vipw error message less cryptic.
Sat, Jun 20, 6:20 AM
pstef committed rS362430: Make vipw error message less cryptic.
Make vipw error message less cryptic
Sat, Jun 20, 6:20 AM
pstef committed rS362429: libutil: remove extraneous ": " from error messages.
libutil: remove extraneous ": " from error messages
Sat, Jun 20, 6:11 AM
pstef updated the summary of D25369: Make vipw error message less cryptic.
Sat, Jun 20, 1:10 AM
pstef requested review of D25369: Make vipw error message less cryptic.
Sat, Jun 20, 1:10 AM

Thu, Jun 18

pstef added a comment to D25312: Relax the rule against declaring variables in nested scopes..
In D25312#558270, @kib wrote:

I found empirically that it is easier to _read_ when locals are collected at the start of the function. Perhaps it is because I can see all local parameters in one place.

Thu, Jun 18, 9:18 AM
pstef added a comment to D25312: Relax the rule against declaring variables in nested scopes..

I'm in favor of the change. However, it's been pointed out to me in the past that with all object declarations at the start of the function body it's easier to reason about the stack.

Except that it isn't true unless you compile at -O0: any vaguely recent compiler will reuse stack slots for variables for which it knows the lifetime cannot overlap.

Thanks for this change!

Thu, Jun 18, 9:18 AM
pstef accepted D25312: Relax the rule against declaring variables in nested scopes..

I'm in favor of the change. However, it's been pointed out to me in the past that with all object declarations at the start of the function body it's easier to reason about the stack.

Thu, Jun 18, 9:18 AM

May 28 2020

pstef committed rS361585: MFS r361026.
MFS r361026
May 28 2020, 1:19 PM

May 24 2020

pstef committed rS361430: MFC r361337: indent(1): add fallthrough markers.
MFC r361337: indent(1): add fallthrough markers
May 24 2020, 9:47 AM

May 21 2020

pstef committed rS361337: indent(1): add fallthrough markers.
indent(1): add fallthrough markers
May 21 2020, 5:34 PM

May 14 2020

pstef committed rS361027: MFC r360786:.
MFC r360786:
May 14 2020, 6:07 AM
pstef committed rS361026: MFC r360786:.
MFC r360786:
May 14 2020, 6:05 AM

May 7 2020

pstef committed rS360786: ps: extend the non-standard option -d (tree view) to work with -p.
ps: extend the non-standard option -d (tree view) to work with -p
May 7 2020, 4:56 PM

Apr 17 2020

pstef updated the diff for D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.

I missed that -p with single argument prevents -d from working, since I always use -a :)

Apr 17 2020, 6:25 PM

Apr 16 2020

pstef added a comment to D24407: Export argc, argv, envc, envv, and ps_strings in auxargs..

How does this relate to D16111?

Apr 16 2020, 5:31 AM

Apr 14 2020

pstef requested review of D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.

my goodness, phabricator

Apr 14 2020, 9:48 AM
pstef reclaimed D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Apr 14 2020, 9:48 AM
pstef abandoned D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Apr 14 2020, 9:46 AM

Apr 12 2020

pstef added a comment to D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.

Possible use cases:

  • ps auxd -p $$
  • ps auxd -p 1
  • while x=$(pgrep svnlite); do clear; ps auxd -p $x; sleep 2; done
  • ps auxd -p `pgrep make`
Apr 12 2020, 8:38 PM
pstef added a comment to D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Apr 12 2020, 6:36 PM
pstef created D24380: ps(1): extend the non-standard option -d (tree view) to work with -p.
Apr 12 2020, 2:50 PM

Aug 17 2019

pstef added inline comments to D21296: Remove some compatability with Seventh Edition UNIX realloc()..
Aug 17 2019, 6:07 AM

Aug 16 2019

D21290: zpool-features.7: Fix a typo is now accepted and ready to land.
Aug 16 2019, 10:26 AM

Aug 15 2018

pstef committed rS337862: indent(1): bug fix after r336333.
indent(1): bug fix after r336333
Aug 15 2018, 6:20 PM

Aug 11 2018

pstef committed rS337651: indent(1): revert r334640 and r334632.
indent(1): revert r334640 and r334632
Aug 11 2018, 7:20 PM

Jul 22 2018

pstef committed rS336601: Remove old Kyua test files for indent(1) after a rename..
Remove old Kyua test files for indent(1) after a rename.
Jul 22 2018, 12:45 PM

Jul 16 2018

pstef committed rS336333: indent(1): rewrite the integer/floating constant scanning part of lexi.c.
indent(1): rewrite the integer/floating constant scanning part of lexi.c
Jul 16 2018, 5:47 AM

Jul 15 2018

pstef committed rS336318: indent(1): move case_indent from parser state to the options struct.
indent(1): move case_indent from parser state to the options struct
Jul 15 2018, 9:04 PM

Jun 11 2018

pstef committed rS334944: indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs.
indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs
Jun 11 2018, 5:36 AM

Jun 10 2018

pstef committed rS334927: indent(1): group global option variables into an options structure.
indent(1): group global option variables into an options structure
Jun 10 2018, 4:44 PM

Jun 4 2018

pstef committed rS334640: indent(1): fix buildworld after r334632.
indent(1): fix buildworld after r334632
Jun 4 2018, 9:22 PM
pstef committed rS334636: indent(1): add --version option.
indent(1): add --version option
Jun 4 2018, 9:06 PM
pstef committed rS334632: indent(1): remove the STACKSIZE macro and all of its use.
indent(1): remove the STACKSIZE macro and all of its use
Jun 4 2018, 8:40 PM
pstef committed rS334630: indent(1): remove static const char copyright[].
indent(1): remove static const char copyright[]
Jun 4 2018, 8:24 PM
pstef committed rS334628: indent(1): replace BSD bcopy() with C memmove().
indent(1): replace BSD bcopy() with C memmove()
Jun 4 2018, 7:47 PM

Jun 3 2018

pstef committed rS334590: indent(1): new option -lpl.
indent(1): new option -lpl
Jun 3 2018, 9:40 PM
pstef committed rS334589: indent(1): revert introduction of -lpl.
indent(1): revert introduction of -lpl
Jun 3 2018, 9:34 PM
pstef committed rS334588: indent(1): new option -lpl (always line up to parenthesis).
indent(1): new option -lpl (always line up to parenthesis)
Jun 3 2018, 9:00 PM
pstef committed rS334587: indent(1): manual page corretions.
indent(1): manual page corretions
Jun 3 2018, 8:49 PM
pstef committed rS334583: indent(1): if an identifier can be either a typedef name or as a struct.
indent(1): if an identifier can be either a typedef name or as a struct
Jun 3 2018, 7:05 PM
pstef committed rS334581: indent(1): if the token is a "[" then neither of the blocks is relevant.
indent(1): if the token is a "[" then neither of the blocks is relevant
Jun 3 2018, 6:38 PM
pstef committed rS334580: indent(1): don't add a space after a label.
indent(1): don't add a space after a label
Jun 3 2018, 6:34 PM
pstef committed rS334579: indent(1): ignore null characters from input.
indent(1): ignore null characters from input
Jun 3 2018, 6:32 PM
pstef committed rS334578: indent(1): don't overflow di_stack[].
indent(1): don't overflow di_stack[]
Jun 3 2018, 6:29 PM
pstef committed rS334576: indent(1): improve CHECK_SIZE_ macros.
indent(1): improve CHECK_SIZE_ macros
Jun 3 2018, 6:19 PM
pstef committed rS334574: indent(1): remove troff output support.
indent(1): remove troff output support
Jun 3 2018, 5:56 PM
pstef committed rS334571: indent(1): avoid resetting last_bl to a bogus value when reallocating.
indent(1): avoid resetting last_bl to a bogus value when reallocating
Jun 3 2018, 5:11 PM
pstef committed rS334570: indent(1): the check for buffer overflow has to be done before copy.
indent(1): the check for buffer overflow has to be done before copy
Jun 3 2018, 5:08 PM
pstef committed rS334569: indent(1): use errx() instead of abort().
indent(1): use errx() instead of abort()
Jun 3 2018, 5:06 PM
pstef committed rS334568: indent(1): limit character classification functions' input to unsigned char.
indent(1): limit character classification functions' input to unsigned char
Jun 3 2018, 5:04 PM
pstef committed rS334567: indent(1): recognize more type names.
indent(1): recognize more type names
Jun 3 2018, 4:52 PM
pstef committed rS334566: indent(1): don't format function declarations as variables.
indent(1): don't format function declarations as variables
Jun 3 2018, 4:43 PM
pstef committed rS334565: indent(1): remove is_procname..
indent(1): remove is_procname.
Jun 3 2018, 4:28 PM
pstef committed rS334564: indent(1): disjoint parser state from lexi().
indent(1): disjoint parser state from lexi()
Jun 3 2018, 4:21 PM
pstef committed rS334563: indent(1): improve handling of boxed comments indentation.
indent(1): improve handling of boxed comments indentation
Jun 3 2018, 3:29 PM
pstef committed rS334560: indent(1): improve predictability of lexi().
indent(1): improve predictability of lexi()
Jun 3 2018, 2:13 PM
pstef committed rS334559: indent(1): improve handling of comments and newlines between "if (...)" or.
indent(1): improve handling of comments and newlines between "if (...)" or
Jun 3 2018, 2:03 PM
pstef committed rS334556: indent(1): remove undocumented and rather useless option (-ps).
indent(1): remove undocumented and rather useless option (-ps)
Jun 3 2018, 1:41 PM

Jun 1 2018

pstef committed rS334495: indent(1): improve an error message.
indent(1): improve an error message
Jun 1 2018, 8:45 PM
pstef committed rS334493: indent(1): restore working -pcs.
indent(1): restore working -pcs
Jun 1 2018, 7:57 PM
pstef committed rS334480: indent(1): don't add unneeded space to function pointer declarations.
indent(1): don't add unneeded space to function pointer declarations
Jun 1 2018, 9:59 AM