commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.5-88-g6204a71


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-88-g6204a71
Date: Wed, 04 Dec 2013 12:45:42 +0000

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 "Hurd".

The branch, master has been updated
       via  6204a717fc63891839faefda75e95a364ec0434e (commit)
       via  93976a816e6d690a6c7d77801e31ce6ee5bc4899 (commit)
       via  df66588b0f6daf99573153cb384a676ced27f0b1 (commit)
       via  c7030a9c0ac36cccb07ef562908b62c2ef9d8bb4 (commit)
       via  bbe90168171e6aa8bc0045162ef9f03a01e36309 (commit)
       via  cc2464c4969f232ed6efb305adfdb69b2176ff34 (commit)
       via  03e6f1fa6846dd860d0cd7babee62b8767cade30 (commit)
      from  b8b92e2455c2a9652e60a17dd38fc8dc031b77c3 (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 6204a717fc63891839faefda75e95a364ec0434e
Author: Justus Winter <address@hidden>
Date:   Wed Dec 4 10:53:15 2013 +0100

    trans: make the fakeroot environment more transparent
    
    Previously fakeroot did not explicitly proxy io_identity requests, so
    the default implementation from libnetfs handled them. But as the fsys
    identity port returned was always netfs_fsys_identity, this broke the
    getcwd logic (assuming /media/scratch is a translator):
    
    % cd /media/scratch/foo && fakeroot-hurd pwd
    /foo
    
    Fix this by proxying io_identity requests. Since then no-one is
    handing out our netfs_fsys_identity port anymore, an optimization in
    netfs_fsys_identity is made obsolete by this change.
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Adjust code accordingly.
    (netfs_S_io_identity): New function.

commit 93976a816e6d690a6c7d77801e31ce6ee5bc4899
Author: Justus Winter <address@hidden>
Date:   Wed Dec 4 10:43:04 2013 +0100

    trans: fix transparent reauthentication in fakeroot
    
    When looking up files, fakeroot intercepts reauthentication requests
    and executes io_reauthenticate and auth_user_authenticate
    transparently for the client. This, however, makes the client
    incorrectly assume that the lookup is finished (assuming
    /media/scratch is a translator):
    
    % cd /media/scratch && fakeroot-hurd pwd
    pwd: reading directory `..': Bad file descriptor
    
    Make the reauthentication completely transparent to the client by
    re-doing the lookup ourselves.
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Fix transparent reauthentication.

commit df66588b0f6daf99573153cb384a676ced27f0b1
Author: Justus Winter <address@hidden>
Date:   Tue Dec 3 17:46:58 2013 +0100

    trans: fix the creation of files in fakeroot
    
    Previously, fakeroot failed to create files in certain circumstances,
    e. g. assuming /tmp is a tmpfs and /tmp/some_file does not exist:
    
    % cd /tmp && fakeroot-hurd /bin/sh -c ':>/tmp/some_file'
    /bin/sh: 1: cannot create /tmp/some_file: Is a directory
    
    Fix this by sanitizing the flags value not to contain O_WRITE if we're
    not at the last path component.
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Strip O_WRITE from flags when
      looking up all but the last path component.

commit c7030a9c0ac36cccb07ef562908b62c2ef9d8bb4
Author: Justus Winter <address@hidden>
Date:   Tue Dec 3 19:37:54 2013 +0100

    trans: improve the netfs_demuxer function in fakeroot.c
    
    Handle multiple request types as recommended by the Mach Server
    Writer's Guide section 4, subsection "Handling Multiple Request
    Types".  This avoids initializing the reply message in every X_server
    function.  The reply message has already been properly initialized in
    libports, so there is no need to call mig_reply_setup.
    
    * trans/fakeroot.c (netfs_demuxer): Improve the demuxer function.

commit bbe90168171e6aa8bc0045162ef9f03a01e36309
Author: Justus Winter <address@hidden>
Date:   Tue Dec 3 18:56:21 2013 +0100

    trans: remove unused declaration from fakeroot.c
    
    Any messages we do not intercept are forwarded to the underlying file.
    
    * trans/fakeroot.c (netfs_demuxer): Remove unused declaration of
      function netfs_ifsock_server.

commit cc2464c4969f232ed6efb305adfdb69b2176ff34
Author: Justus Winter <address@hidden>
Date:   Wed Dec 4 10:21:41 2013 +0100

    utils: improve the auth_demuxer function in fakeauth.c
    
    Handle multiple request types as recommended by the Mach Server
    Writer's Guide section 4, subsection "Handling Multiple Request
    Types".  This avoids initializing the reply message in every X_server
    function.  The reply message has already been properly initialized in
    libports, so there is no need to call mig_reply_setup.
    
    * utils/fakeauth.c (auth_demuxer): Improve the demuxer function.

commit 03e6f1fa6846dd860d0cd7babee62b8767cade30
Author: Justus Winter <address@hidden>
Date:   Wed Dec 4 10:13:56 2013 +0100

    auth: improve the auth_demuxer function
    
    Handle multiple request types as recommended by the Mach Server
    Writer's Guide section 4, subsection "Handling Multiple Request
    Types".  This avoids initializing the reply message in every X_server
    function.  The reply message has already been properly initialized in
    libports, so there is no need to call mig_reply_setup.
    
    * auth/auth.c (auth_demuxer): Improve the demuxer function.

-----------------------------------------------------------------------

Summary of changes:
 auth/auth.c      |   18 ++++++++++---
 trans/fakeroot.c |   74 +++++++++++++++++++++++++++++++++++------------------
 utils/fakeauth.c |   19 ++++++++++---
 3 files changed, 77 insertions(+), 34 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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