This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via b48740812a37461a4a5c9847cd15ea7e010a2242 (commit)
via a30402ef3196c10ef67b07dc538a0b3a637f5b38 (commit)
via 6333b1e5504e5673066370abfc44349f4a728662 (commit)
via a5467b213e640932c2864f5f829377afff1020f5 (commit)
from 970604df3b991777d2680032e40ffa6777ee81d3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b48740812a37461a4a5c9847cd15ea7e010a2242
Author: Diego Nieto Cid <[email protected]>
Date: Sun May 17 05:55:51 2026 +0100
tests-task: add test for task/thread priority RPCs
Message-ID:
<56b30e793bd65c3ad54623162c90996cf0163a4f.1778992827.git.dnie...@gmail.com>
commit a30402ef3196c10ef67b07dc538a0b3a637f5b38
Author: Diego Nieto Cid <[email protected]>
Date: Sun May 17 05:55:47 2026 +0100
initialise max_priority to BASEPRI_SYSTEM
Set the default thread and processor set max priority to
that of system threads to allow privileged task to raise
its own priority.
* kern/processor.c: modify pset_init to set the initial
max_priority to BASEPRI_SYSTE.
* kern/thread.c: set the thread template max_priority to
BASEPRI_SYSTEM.
lower priority of bootstrap tasks to BASEPRI_USER
* kern/task.h: add task_max_priority prototype
* kern/bootstrap.c: call task_max_priority in
boot_script_task_create to lower the task
priority to BASEPRI_USER.
commit 6333b1e5504e5673066370abfc44349f4a728662
Author: Diego Nieto Cid <[email protected]>
Date: Sun May 17 05:55:49 2026 +0100
check task's max_priority when setting priority
* kern/task.c (task_priority): check new priority against the
tasks max_priority. Reject with KERN_NO_ACCES when going
higher than it.
Message-ID:
<1150e14ebf3aaa1f6141748d41b32bcd00099120.1778992827.git.dnie...@gmail.com>
commit a5467b213e640932c2864f5f829377afff1020f5
Author: Diego Nieto Cid <[email protected]>
Date: Sun May 17 05:55:48 2026 +0100
add max_priority to task object
* inlcude/man/mach_host.def: add task_max_prioity RPC.
* kern/task.h: add max_priority to task struct.
* kern/task.c: implement task_max_priority RPC and inherit
max_priority from parent task (or default
processor set).
* kern/thread.c: initialize new threads' max_priority from
the task creating the thread.
Message-ID:
<f6f07da171bca6a24761f4bd3abfaf5494415d34.1778992827.git.dnie...@gmail.com>
-----------------------------------------------------------------------
Summary of changes:
doc/mach.texi | 21 ++
include/mach/mach_host.defs | 21 ++
kern/bootstrap.c | 2 +
kern/processor.c | 6 +-
kern/task.c | 113 +++++++++++
kern/task.h | 7 +
kern/thread.c | 13 +-
tests/test-task.c | 455 ++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 634 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU Mach