Page MenuHomeFreeBSD

olce (Olivier Certner)
User

Projects

User Details

User Since
Feb 26 2021, 3:47 PM (275 w, 23 h)

Recent Activity

Thu, Jun 4

olce added a comment to D57252: libc: Constify the getcap API.

* (indicating pointers) should preferably be stuck onto the next token without intervening spaces everywhere, e.g.: const char * const *db_array => const char *const *db_array, because in a declaration the presence of the first * delimits the declarator list, which means that what is after the first * is specific to the variable being declared, and not to the next one in the list (that's IMO why that's the common practice for a single *).

Thu, Jun 4, 4:34 PM
olce committed rG4f7d987015dd: .git-blame-ignore-revs: <assert.h> whitespace changes: Fix comment (authored by olce).
.git-blame-ignore-revs: <assert.h> whitespace changes: Fix comment
Thu, Jun 4, 1:34 PM
olce committed rG8ee0f80252d1: .git-blame-ignore-revs: <assert.h> whitespace changes (authored by olce).
.git-blame-ignore-revs: <assert.h> whitespace changes
Thu, Jun 4, 1:18 PM
olce committed rG7487932f4fbc: assert.h: style(9): Space after #define, between #endif and comment (authored by olce).
assert.h: style(9): Space after #define, between #endif and comment
Thu, Jun 4, 11:51 AM
olce closed D57391: assert.h: style(9): Space after #define, between #endif and comment.
Thu, Jun 4, 11:51 AM
olce updated the diff for D57414: acpi: Forbid requesting S4 when S4BIOS is not supported.
  • Remove remaining declaration for acpi_s4bios_sysctl() in acpi.c
  • Add a comment in the acpi_sleep_machdep() functions explaining why we are just testing on S4 state before calling AcpiEnterSleepStateS4bios().
Thu, Jun 4, 11:45 AM
olce committed rG0c2d64ce3da9: MAC/do: Clarify comments about flags attached per-ID or per-ID-type (authored by olce).
MAC/do: Clarify comments about flags attached per-ID or per-ID-type
Thu, Jun 4, 11:07 AM
olce committed rG1c0e5c53ff16: kern_prot.c: Belatedly add copyright (authored by olce).
kern_prot.c: Belatedly add copyright
Thu, Jun 4, 11:07 AM

Wed, Jun 3

olce requested review of D57414: acpi: Forbid requesting S4 when S4BIOS is not supported.
Wed, Jun 3, 4:54 PM
olce requested review of D57413: acpi: Move supported states arrays into the softc.
Wed, Jun 3, 4:54 PM
olce requested review of D57412: acpi: Fix panic when reading 'hw.acpi.suspend_state' knob on S1/S2.
Wed, Jun 3, 4:54 PM
olce committed rG9a133eee1ed9: thunderbolt: Fix INVARIANTS compilation (authored by olce).
thunderbolt: Fix INVARIANTS compilation
Wed, Jun 3, 4:01 PM
olce closed D57402: i386: Fix build (of 'genassym.o').
Wed, Jun 3, 3:04 PM
olce committed rGce243df20aa8: i386: Fix build (of 'genassym.o') (authored by olce).
i386: Fix build (of 'genassym.o')
Wed, Jun 3, 3:04 PM
olce requested review of D57402: i386: Fix build (of 'genassym.o').
Wed, Jun 3, 1:20 PM
olce added a comment to D57391: assert.h: style(9): Space after #define, between #endif and comment.
In D57391#1315144, @imp wrote:

I think that the specific need that drove the bell labs folks have aged out. It doesn't matter that much anymore. So I agree we're transitioning to spaces for new code, which this clearly is. I'm mostly agnostic, but I lean towards this is fine.

Wed, Jun 3, 12:31 PM

Tue, Jun 2

olce added a comment to D57391: assert.h: style(9): Space after #define, between #endif and comment.

If there are no objections in a few days, I'll commit it.

Tue, Jun 2, 2:49 PM
olce requested review of D57391: assert.h: style(9): Space after #define, between #endif and comment.
Tue, Jun 2, 10:12 AM

Mon, Jun 1

olce closed D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.
Mon, Jun 1, 3:33 PM
olce accepted D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.
Mon, Jun 1, 3:33 PM
olce updated the diff for D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.

(Update to the diff that was committed.)

Mon, Jun 1, 3:33 PM
olce reopened D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.
Mon, Jun 1, 3:32 PM
olce closed D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.

(Closing by hand, forgot to tag the commit properly.)

Mon, Jun 1, 3:31 PM
olce removed a reviewer for D57376: MAC/do: Fix double-free on parse error after "executable paths" feature: cperciva.
Mon, Jun 1, 3:31 PM
olce committed rG79d0dbc9c6d6: MAC/do: Fix double-free on parse error after "executable paths" feature (authored by olce).
MAC/do: Fix double-free on parse error after "executable paths" feature
Mon, Jun 1, 3:26 PM
olce added a comment to D57376: MAC/do: Fix double-free on parse error after "executable paths" feature.

Is it possible to add a regression test?

Mon, Jun 1, 2:45 PM
olce accepted D57377: hwpstate_intel: Disable package control on hybrid CPU.

Fine like this.

Mon, Jun 1, 2:37 PM
olce added a reviewer for D57376: MAC/do: Fix double-free on parse error after "executable paths" feature: cperciva.
Mon, Jun 1, 9:30 AM
olce published D57376: MAC/do: Fix double-free on parse error after "executable paths" feature for review.
Mon, Jun 1, 9:10 AM
olce committed rG1876f629b976: style.9: Fix a typo (missing word) (authored by olce).
style.9: Fix a typo (missing word)
Mon, Jun 1, 7:41 AM

Fri, May 29

olce committed rG851499046d25: MAC/do: Add consistency tests (authored by olce).
MAC/do: Add consistency tests
Fri, May 29, 4:03 PM
olce committed rGa95ff5ef7d1f: MAC/do: Tests: Add support for exec paths, jail parameters, subjails (authored by olce).
MAC/do: Tests: Add support for exec paths, jail parameters, subjails
Fri, May 29, 4:03 PM
olce committed rG33daea3f862d: MAC/do: Tests: Quote the source directory (authored by olce).
MAC/do: Tests: Quote the source directory
Fri, May 29, 4:03 PM
olce committed rG6159187329b5: MAC/do: Tests: Declare required programs closer to use (authored by olce).
MAC/do: Tests: Declare required programs closer to use
Fri, May 29, 4:03 PM
olce committed rGb0c948fe92ac: MAC/do: Tests: Fix copyrights (authored by olce).
MAC/do: Tests: Fix copyrights
Fri, May 29, 4:03 PM
olce committed rG79a987aba154: MAC/do: Tests: Remove shebang lines (authored by olce).
MAC/do: Tests: Remove shebang lines
Fri, May 29, 4:03 PM
olce committed rG39818654ae87: mac_do.4: Document executable paths, default jail values and consistency (authored by olce).
mac_do.4: Document executable paths, default jail values and consistency
Fri, May 29, 4:03 PM
olce committed rGfcb0018634c7: MAC/do: Update copyright (authored by olce).
MAC/do: Update copyright
Fri, May 29, 4:03 PM
olce committed rG4c98f7a0025e: MAC/do: Serialize installing/modifying some jail's configuration (authored by olce).
MAC/do: Serialize installing/modifying some jail's configuration
Fri, May 29, 4:03 PM
olce committed rG1fa1e3f3950f: MAC/do: Do not skip blanks when parsing executable paths (authored by olce).
MAC/do: Do not skip blanks when parsing executable paths
Fri, May 29, 4:03 PM
olce committed rG5b194a4ae319: MAC/do: Sequential consistency for configuration retrieval (authored by olce).
MAC/do: Sequential consistency for configuration retrieval
Fri, May 29, 4:03 PM
olce committed rG01e2b0ce1820: MAC/do: Visually separate some file sections (authored by olce).
MAC/do: Visually separate some file sections
Fri, May 29, 4:03 PM
olce committed rG0db7f110cb81: MAC/do: Support for atomically modifying configurations (authored by olce).
MAC/do: Support for atomically modifying configurations
Fri, May 29, 4:03 PM
olce committed rG5bedb5e44757: MAC/do: Comment to explain the main invariant for configurations (authored by olce).
MAC/do: Comment to explain the main invariant for configurations
Fri, May 29, 4:03 PM
olce committed rG31ef4ee2e357: MAC/do: Allocate only one default configuration (authored by olce).
MAC/do: Allocate only one default configuration
Fri, May 29, 4:03 PM
olce committed rG888a84ceeded: MAC/do: Fix reporting of "mac.do" post-"executable paths" (authored by olce).
MAC/do: Fix reporting of "mac.do" post-"executable paths"
Fri, May 29, 4:03 PM
olce committed rG7929f364ef51: MAC/do: Fix the recent logic to set jail parameters, make it more tolerant (authored by olce).
MAC/do: Fix the recent logic to set jail parameters, make it more tolerant
Fri, May 29, 4:03 PM
olce committed rG51cc5840b66c: MAC/do: Configuration: Fix default values: Remove jail creation method (authored by olce).
MAC/do: Configuration: Fix default values: Remove jail creation method
Fri, May 29, 4:03 PM
olce committed rG37bc08d5fe99: MAC/do: Constify is_null_or_empty() (authored by olce).
MAC/do: Constify is_null_or_empty()
Fri, May 29, 4:03 PM
olce committed rGdbf8f0895ad8: MAC/do: Fix obsolete wording in a comment ("ascendant" => "ancestor") (authored by olce).
MAC/do: Fix obsolete wording in a comment ("ascendant" => "ancestor")
Fri, May 29, 4:03 PM
olce committed rGd254322f6fa4: MAC/do: parse_and_set_conf(): Obey empty parameters; Add doc (authored by olce).
MAC/do: parse_and_set_conf(): Obey empty parameters; Add doc
Fri, May 29, 4:02 PM
olce committed rG73215eba8b91: MAC/do: parse_and_set_conf(): Require the model configuration (authored by olce).
MAC/do: parse_and_set_conf(): Require the model configuration
Fri, May 29, 4:02 PM
olce committed rGce59a4181593: MAC/do: clone_rules(): Readability improvements, constification (authored by olce).
MAC/do: clone_rules(): Readability improvements, constification
Fri, May 29, 4:02 PM
olce committed rG11b567e94ad2: MAC/do: Remove superfluous configuration initialization (authored by olce).
MAC/do: Remove superfluous configuration initialization
Fri, May 29, 4:02 PM
olce committed rG4e27cc086b3f: MAC/do: Move static assertions on constants close to their definitions (authored by olce).
MAC/do: Move static assertions on constants close to their definitions
Fri, May 29, 4:02 PM
olce committed rGa7a9e6cc64aa: MAC/do: Fix releasing a nonexistent reference on configuration parsing error (authored by olce).
MAC/do: Fix releasing a nonexistent reference on configuration parsing error
Fri, May 29, 4:02 PM
olce committed rG68cc6aa2e93a: MAC/do: Constify clone_rules() and clone_exec_paths()'s source argument (authored by olce).
MAC/do: Constify clone_rules() and clone_exec_paths()'s source argument
Fri, May 29, 4:02 PM
olce committed rG4e4cf18b85cc: MAC/do: find_conf(): Return configuration with a true reference (authored by olce).
MAC/do: find_conf(): Return configuration with a true reference
Fri, May 29, 4:02 PM
olce committed rGcd1ac0440935: MAC/do: Move hold_conf() and drop_conf() earlier (authored by olce).
MAC/do: Move hold_conf() and drop_conf() earlier
Fri, May 29, 4:02 PM
olce committed rGcf942ac9e967: MAC/do: find_conf(): Turn an MPASS() into a KASSERT() (authored by olce).
MAC/do: find_conf(): Turn an MPASS() into a KASSERT()
Fri, May 29, 4:02 PM
olce committed rG28ebab7c3730: MAC/do: Rename size constants/variables to clear confusion with string lengths (authored by olce).
MAC/do: Rename size constants/variables to clear confusion with string lengths
Fri, May 29, 4:02 PM
olce committed rG3a4433425e63: MAC/do: Executable paths: Accept an empty string (authored by olce).
MAC/do: Executable paths: Accept an empty string
Fri, May 29, 4:02 PM
olce committed rG0aef1c059fae: MAC/do: Document and assert when parse error objects must be built (authored by olce).
MAC/do: Document and assert when parse error objects must be built
Fri, May 29, 4:02 PM
olce committed rG9818224174c4: MAC/do: Executable paths feature (GSoC 2025's final state) (authored by kushagra1403_gmail.com).
MAC/do: Executable paths feature (GSoC 2025's final state)
Fri, May 29, 4:02 PM
olce committed rGd554b89f4096: MAC/do: check_proc(): Remove a superfluous 'if' (authored by olce).
MAC/do: check_proc(): Remove a superfluous 'if'
Fri, May 29, 4:02 PM
olce committed rG22a0912bb1dc: MAC/do: Expand "conf" to "configuration" in a panic message on INVARIANTS (authored by olce).
MAC/do: Expand "conf" to "configuration" in a panic message on INVARIANTS
Fri, May 29, 4:02 PM
olce committed rG782533882441: MAC/do: Fix recently-introduced comments (authored by olce).
MAC/do: Fix recently-introduced comments
Fri, May 29, 4:02 PM
olce committed rGf93cd891aefd: MAC/do: Make it style(9) compliant again (authored by olce).
MAC/do: Make it style(9) compliant again
Fri, May 29, 4:02 PM
olce committed rG3e17f37c2cd2: MAC/do: Update copyright (authored by olce).
MAC/do: Update copyright
Fri, May 29, 4:02 PM

Thu, May 28

olce added a comment to D57305: vfs: work around the race between vget() and vnlru.
In D57305#1313259, @kib wrote:

So I do not think (...) generic vnode lifecycle there is to blame.

Thu, May 28, 9:14 PM
olce accepted D57305: vfs: work around the race between vget() and vnlru.

As detailed in an inline comment, this patch lowers the probability of the race, but does not make it disappear. The real problem is probably more along the lines of some code doing a vget() and assuming the obtained vnode is not doomed, which cannot be guaranteed in general.

Thu, May 28, 8:47 PM
olce added inline comments to D57305: vfs: work around the race between vget() and vnlru.
Thu, May 28, 8:28 PM
olce added a reviewer for D57305: vfs: work around the race between vget() and vnlru: olce.
Thu, May 28, 7:18 PM
olce added inline comments to D56791: Add intel_rapl driver.
Thu, May 28, 2:42 PM
olce attached a referenced file: F158110150: D56791-olce.patch.
Thu, May 28, 2:40 PM
olce added a comment to D56791: Add intel_rapl driver.

Patch with suggested changes:

Thu, May 28, 2:40 PM
olce added a comment to D56791: Add intel_rapl driver.

So, on multiple-package machines, this driver will malfunction as described in one of the inline comments (and I wasn't able to find a quick way to disable it in this case). I guess that's tolerable as a first shot.

Thu, May 28, 2:39 PM
olce added inline comments to D56790: Add MSR values for RAPL.
Thu, May 28, 8:07 AM

Wed, May 27

olce accepted D57275: cpufreq: Fix the incorrect format.
Wed, May 27, 2:34 PM
olce accepted D57264: x86: for wrmsr_early_safe(), catch all exceptions, not only #GP.

Thanks for the explanations.

Wed, May 27, 12:47 PM
olce added a comment to D57264: x86: for wrmsr_early_safe(), catch all exceptions, not only #GP.
In D57264#1312294, @kib wrote:

Simplify greatly.

Wed, May 27, 12:14 PM
olce added a comment to D57232: acpi: Replace mentions of the s2idle with suspend_to_idle.

@olce last point done by 7a11a6c64d4f52f41e63e535605d4187650c3651. Also updated sysctl descriptions in the acpi.4 manpage in 071d82d9973660742e771b23365a82eb8dd2dd0f

Wed, May 27, 9:31 AM
olce accepted D57258: login.conf(5): Add missing resource limits.
In D57258#1312247, @des wrote:

tbf I'm a bit annoyed at you in particular parachuting into this review.

Wed, May 27, 9:09 AM
olce added a comment to D57264: x86: for wrmsr_early_safe(), catch all exceptions, not only #GP.

Since wrmsr_early_safe_gp_handler() pops the hardware error code, isn't that going to botch upper frames of the stack for exceptions not pushing one?

Wed, May 27, 8:41 AM
olce accepted D57258: login.conf(5): Add missing resource limits.
In D57258#1312183, @des wrote:

Trying it out for yourself is free, Olivier.

Wed, May 27, 8:22 AM

Tue, May 26

olce accepted D57259: libsys, libutil: Document RLIMIT_VMM.
Tue, May 26, 9:11 PM
olce added a comment to D57258: login.conf(5): Add missing resource limits.

Sorting values is great. Using Ta in the header item, and only there, however, looks more confusing than anything else. What are you trying to "fix" in these headers? If it's the usage of TABs, then all the tables should be converted, not just the headers.

Tue, May 26, 9:10 PM
olce accepted D57254: zzz(8): Rewrite manual page.
Tue, May 26, 7:36 PM
olce accepted D56918: zzz: Rewrite to use new power device.

Good to go (with one more small nit, the ordering of headers, to fix).

Tue, May 26, 7:30 PM
olce committed rG44eb2883134e: acpi: On /dev/power suspend, trigger userspace notifications (authored by olce).
acpi: On /dev/power suspend, trigger userspace notifications
Tue, May 26, 1:33 PM
olce closed D57239: acpi: On /dev/power suspend, trigger userspace notifications.
Tue, May 26, 1:33 PM
olce added inline comments to D56918: zzz: Rewrite to use new power device.
Tue, May 26, 1:24 PM
olce added a comment to D56918: zzz: Rewrite to use new power device.

An update to the manual page would also be welcome, as its content is now essentially stale (except on the essential point that zzz serves to suspend :-)).

Tue, May 26, 1:20 PM
olce added a watcher for USB: olce.
Tue, May 26, 10:02 AM
olce added inline comments to D57239: acpi: On /dev/power suspend, trigger userspace notifications.
Tue, May 26, 9:12 AM

Mon, May 25

olce accepted D57232: acpi: Replace mentions of the s2idle with suspend_to_idle.

Maybe also change the comments in sys/compat/linuxkpi/common/src/linux_acpi.c:linux_handle_power_suspend_event() and sys/dev/acpi_support/acpi_ibm.c:acpi_ibm_eventhandler() accordingly?

Mon, May 25, 4:35 PM
olce accepted D56918: zzz: Rewrite to use new power device.

This change looks OK per se, but before committing we have to confirm that we can get the same behavior as before. The divergence in behavior with acpiconf -s 3 should be fixed by D57239. Could you give it a try?

Mon, May 25, 4:22 PM
olce requested review of D57239: acpi: On /dev/power suspend, trigger userspace notifications.
Mon, May 25, 4:21 PM

Thu, May 21

olce committed rGdcd2fedb2044: BSD.tests.dist: Add the new sys/mac/do directory (authored by olce).
BSD.tests.dist: Add the new sys/mac/do directory
Thu, May 21, 8:34 PM
olce committed rGad3d7666e00b: BSD.tests.dist: Add the new sys/mac/do directory (authored by olce).
BSD.tests.dist: Add the new sys/mac/do directory
Thu, May 21, 8:33 PM