summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-31 16:28:24 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-31 16:28:24 +0200
commitf4e1faf818096cd09add988879cbf6fa8819e99b (patch)
tree15bf7f3df10a7470a48dad6c9168b7b584a21fbf /debian
parentb866c010ac332c5449d3fc00ad89b8e329d07cae (diff)
drop merged patches
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/fix0001-kern-fix-argument-handling.patch61
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 62 deletions
diff --git a/debian/patches/fix0001-kern-fix-argument-handling.patch b/debian/patches/fix0001-kern-fix-argument-handling.patch
deleted file mode 100644
index b505260..0000000
--- a/debian/patches/fix0001-kern-fix-argument-handling.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 6da39e9e955d8eb5420349de7b124857e131044c Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Fri, 29 May 2015 14:44:39 +0200
-Subject: [PATCH gnumach] kern: fix argument handling
-
-Previously, the processor argument was not checked. If called with a
-non-processor argument (like a task), `processor' is set to NULL,
-triggering a page fault. Likewise for the other functions.
-
-* kern/processor.c (processor_get_assignment): Fix argument handling.
-* kern/task.c (task_get_assignment): Likewise.
-* kern/thread.c (thread_get_assignment): Likewise.
----
- kern/processor.c | 2 ++
- kern/task.c | 3 +++
- kern/thread.c | 2 ++
- 3 files changed, 7 insertions(+)
-
-diff --git a/kern/processor.c b/kern/processor.c
-index 865c324..48e9273 100644
---- a/kern/processor.c
-+++ b/kern/processor.c
-@@ -657,6 +657,8 @@ processor_get_assignment(
- processor_set_t *pset)
- {
- int state;
-+ if (processor == PROCESSOR_NULL)
-+ return KERN_INVALID_ARGUMENT;
-
- state = processor->state;
- if (state == PROCESSOR_SHUTDOWN || state == PROCESSOR_OFF_LINE)
-diff --git a/kern/task.c b/kern/task.c
-index dcd5371..b384347 100644
---- a/kern/task.c
-+++ b/kern/task.c
-@@ -1063,6 +1063,9 @@ kern_return_t task_get_assignment(
- task_t task,
- processor_set_t *pset)
- {
-+ if (task == TASK_NULL)
-+ return KERN_INVALID_ARGUMENT;
-+
- if (!task->active)
- return KERN_FAILURE;
-
-diff --git a/kern/thread.c b/kern/thread.c
-index f52c95b..5af0cd5 100644
---- a/kern/thread.c
-+++ b/kern/thread.c
-@@ -1974,6 +1974,8 @@ kern_return_t thread_get_assignment(
- thread_t thread,
- processor_set_t *pset)
- {
-+ if (thread == THREAD_NULL)
-+ return KERN_INVALID_ARGUMENT;
- *pset = thread->processor_set;
- pset_reference(*pset);
- return KERN_SUCCESS;
---
-2.1.4
-
diff --git a/debian/patches/series b/debian/patches/series
index 93f3a68..a0008c7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,7 +12,6 @@ sysenter0001-yyy-sysenter-prototype.patch
vm-cache-policy0001-VM-cache-policy-change.patch
vm-cache-policy0002-vm-keep-track-of-clean-pages.patch
vm-cache-policy0003-vm-evict-clean-pages-first.patch
-fix0001-kern-fix-argument-handling.patch
docfix0001-Include-the-notify-protocol-in-gnumach.msgids.patch
docfix0002-maybefixup_notify_stuff.patch
docfix0003-fu.patch