diff options
Diffstat (limited to 'debian/patches/0017-random-add-a-payload-aware-intrans-function.patch')
-rw-r--r-- | debian/patches/0017-random-add-a-payload-aware-intrans-function.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/patches/0017-random-add-a-payload-aware-intrans-function.patch b/debian/patches/0017-random-add-a-payload-aware-intrans-function.patch deleted file mode 100644 index 1810c412..00000000 --- a/debian/patches/0017-random-add-a-payload-aware-intrans-function.patch +++ /dev/null @@ -1,47 +0,0 @@ -From c1d479aefe7b81f3e11b5ea610d8bc7d85f63f47 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Mon, 22 Sep 2014 23:19:38 +0200 -Subject: [PATCH hurd 17/29] random: add a payload-aware intrans function - -* random/mig-decls.h (begin_using_startup_payload): New function. -* random/mig-mutate.h: Add mutator. ---- - random/mig-decls.h | 8 ++++++++ - random/mig-mutate.h | 2 ++ - 2 files changed, 10 insertions(+) - -diff --git a/random/mig-decls.h b/random/mig-decls.h -index 87b7eb2..6ea87b6 100644 ---- a/random/mig-decls.h -+++ b/random/mig-decls.h -@@ -37,6 +37,14 @@ begin_using_startup_port (mach_port_t port) - shutdown_notify_class); - } - -+static inline struct port_info * __attribute__ ((unused)) -+begin_using_startup_payload (unsigned long payload) -+{ -+ return ports_lookup_payload (fsys->pi.bucket, -+ payload, -+ shutdown_notify_class); -+} -+ - static inline void __attribute__ ((unused)) - end_using_startup (struct port_info *p) - { -diff --git a/random/mig-mutate.h b/random/mig-mutate.h -index dab89e5..497ecbd 100644 ---- a/random/mig-mutate.h -+++ b/random/mig-mutate.h -@@ -19,6 +19,8 @@ - - #define STARTUP_INTRAN \ - port_info_t begin_using_startup_port (mach_port_t) -+#define STARTUP_INTRAN_PAYLOAD \ -+ port_info_t begin_using_startup_payload - #define STARTUP_DESTRUCTOR \ - end_using_startup (port_info_t) - #define STARTUP_IMPORTS \ --- -2.1.3 - |