mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
runq: Remove userland references to RQ_PPQ in rtprio contexts
Concerns only a single test (ptrace_test.c). MFC after: 1 month Event: Kitchener-Waterloo Hackathon 202506 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45390
This commit is contained in:
parent
e3a4b989d7
commit
b2a9ee2a72
1 changed files with 2 additions and 3 deletions
|
|
@ -35,7 +35,6 @@
|
|||
#include <sys/ptrace.h>
|
||||
#include <sys/procfs.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/runq.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/user.h>
|
||||
|
|
@ -2028,7 +2027,7 @@ ATF_TC_BODY(ptrace__PT_KILL_competing_signal, tc)
|
|||
sched_get_priority_min(SCHED_FIFO)) / 2;
|
||||
CHILD_REQUIRE(pthread_setschedparam(pthread_self(),
|
||||
SCHED_FIFO, &sched_param) == 0);
|
||||
sched_param.sched_priority -= RQ_PPQ;
|
||||
sched_param.sched_priority -= 1;
|
||||
CHILD_REQUIRE(pthread_setschedparam(t, SCHED_FIFO,
|
||||
&sched_param) == 0);
|
||||
|
||||
|
|
@ -2131,7 +2130,7 @@ ATF_TC_BODY(ptrace__PT_KILL_competing_stop, tc)
|
|||
sched_get_priority_min(SCHED_FIFO)) / 2;
|
||||
CHILD_REQUIRE(pthread_setschedparam(pthread_self(),
|
||||
SCHED_FIFO, &sched_param) == 0);
|
||||
sched_param.sched_priority -= RQ_PPQ;
|
||||
sched_param.sched_priority -= 1;
|
||||
CHILD_REQUIRE(pthread_setschedparam(t, SCHED_FIFO,
|
||||
&sched_param) == 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue