bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] Use server provided ioctl-handler


From: Carl Fredrik Hammar
Subject: [PATCH 0/3] Use server provided ioctl-handler
Date: Wed, 26 Aug 2009 16:42:31 +0200

Hi,

Patches that makes glibc make use of the new ioctl_handler protocol.
This should be applied in parallel to the protocol patches; the first
two patches depend on the first protocol patch, the third one depend on
the second protocol patch.  In addition all these patches depend on the
three cleanup patches I sent earlier.

There are some minor fixes in the first two patches in respect to the
earlier versions I sent.  Most notebly I now rely on `dlopen' doing
reauthentication when it reopens the ioctl-handler module file descriptor.
I have changed identifiers and file names containing `ioctl_handlers' to
`ioctl_handler'.  In addition there are some fixes I have not bothered
to track, but I don't thing anybody have reviewed my earlier patches
enough to be interested in listing those anyway.

Regards,
  Fredrik

Carl Fredrik Hammar (3):
  Reload fd ioctl handler on each call to ioctl
  Save handlers between calls to ioctl
  Use reverse authenticating ioctl-handler protocal

 hurd/Makefile             |    6 +-
 hurd/dtable.c             |    8 +-
 hurd/fd-close.c           |   13 ++-
 hurd/fd-ioctl-call.c      |  327 +++++++++++++++++++++++++++++++++++++++++++++
 hurd/fd-ioctl-cleanup.c   |   31 +++++
 hurd/hurd/fd.h            |   45 ++++++-
 hurd/hurd/ioctl.h         |   10 +-
 hurd/hurdioctl.c          |  143 +++++++++++++++-----
 hurd/new-fd.c             |    7 +-
 hurd/port2fd.c            |   11 ++-
 sysdeps/mach/hurd/ioctl.c |   51 +++++++-
 11 files changed, 603 insertions(+), 49 deletions(-)
 create mode 100644 hurd/fd-ioctl-call.c
 create mode 100644 hurd/fd-ioctl-cleanup.c





reply via email to

[Prev in Thread] Current Thread [Next in Thread]