[all-commits] [llvm/llvm-project] 57778e: [libc] Fix scheduler test incorrectly guessing use...

OverMighty via All-commits all-commits at lists.llvm.org
Wed Jun 19 18:16:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57778ec36c9c7e96b76a167f19dccbe00d49c9d4
      https://github.com/llvm/llvm-project/commit/57778ec36c9c7e96b76a167f19dccbe00d49c9d4
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M libc/test/src/sched/param_and_scheduler_test.cpp

  Log Message:
  -----------
  [libc] Fix scheduler test incorrectly guessing user privileges (#95562)

Non-root users may be able to set real-time scheduling policies. Don't
expect failure to set real-time scheduling policies based on UID.
Instead, check that if it fails, it is either due to missing privileges,
or unsupported parameters if the scheduling policy is not mandated by
POSIX.

Fixes #95564.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list