diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 12:13:49 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 12:13:49 +0100 |
commit | a22a44d56a9776c04151f43b495baf12d8718739 (patch) | |
tree | b27cd1335dbf0670281b13e98720e1b732379f55 /debian/patches/0009-console-add-a-payload-aware-intrans-function.patch | |
parent | 295f563ee0f825971c77d91a77fa21d81b889759 (diff) |
drop old patch series
Diffstat (limited to 'debian/patches/0009-console-add-a-payload-aware-intrans-function.patch')
-rw-r--r-- | debian/patches/0009-console-add-a-payload-aware-intrans-function.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/debian/patches/0009-console-add-a-payload-aware-intrans-function.patch b/debian/patches/0009-console-add-a-payload-aware-intrans-function.patch deleted file mode 100644 index f1a371cd..00000000 --- a/debian/patches/0009-console-add-a-payload-aware-intrans-function.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 30455b89e101739084a18c2ea49028c1de723f83 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Thu, 28 Nov 2013 10:40:56 +0100 -Subject: [PATCH hurd 09/29] console: add a payload-aware intrans function - -* console/priv.h (begin_using_protid_payload): New function. -* console/mutations.h: Add mutators. ---- - console/mutations.h | 3 +++ - libnetfs/priv.h | 6 ++++++ - 2 files changed, 9 insertions(+) - -diff --git a/console/mutations.h b/console/mutations.h -index 4e1cc7e..87906cc 100644 ---- a/console/mutations.h -+++ b/console/mutations.h -@@ -21,12 +21,15 @@ - /* Only CPP macro definitions should go in this file. */ - - #define IO_INTRAN protid_t begin_using_protid_port (io_t) -+#define IO_INTRAN_PAYLOAD protid_t begin_using_protid_payload - #define IO_DESTRUCTOR end_using_protid_port (protid_t) - - #define TIOCTL_IMPORTS import "libnetfs/priv.h"; - - #define NOTIFY_INTRAN \ - port_info_t begin_using_port_info_port (mach_port_t) -+#define NOTIFY_INTRAN_PAYLOAD \ -+ port_info_t begin_using_port_info_payload - #define NOTIFY_DESTRUCTOR \ - end_using_port_info (port_info_t) - #define NOTIFY_IMPORTS \ -diff --git a/libnetfs/priv.h b/libnetfs/priv.h -index 36c8f53..3c5bcd4 100644 ---- a/libnetfs/priv.h -+++ b/libnetfs/priv.h -@@ -31,6 +31,12 @@ begin_using_protid_port (file_t port) - return ports_lookup_port (netfs_port_bucket, port, netfs_protid_class); - } - -+static inline struct protid * __attribute__ ((unused)) -+begin_using_protid_payload (unsigned long payload) -+{ -+ return ports_lookup_payload (netfs_port_bucket, payload, netfs_protid_class); -+} -+ - static inline void __attribute__ ((unused)) - end_using_protid_port (struct protid *cred) - { --- -2.1.3 - |