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-436-g334801c


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-436-g334801c
Date: Sun, 31 Aug 2014 15:56:28 +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  334801c52c9844c06eacbe2e3af65852f7412e3c (commit)
       via  c5f866e17c72302d826b885f098b1c07d7abdbc7 (commit)
       via  6fd075df8f71c95cff04d58643e5da0d58dbbada (commit)
      from  cf8df03cf9002642a9399da47242d819cc3653e4 (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 334801c52c9844c06eacbe2e3af65852f7412e3c
Author: Justus Winter <address@hidden>
Date:   Sun Aug 31 14:47:42 2014 +0200

    hurd: fix semantic of file_get_children
    
    When first introduced as fsys_get_children, it made sense to return
    the list of children using paths relative to the root of the
    filesystem that was queried.  Making the get_children method part of
    the fsys protocol was a mistake that has since been corrected in
    9366d6b2.
    
    Instead of returning paths relative to the root of the translator,
    return paths relative to the path of the receiving node.
    
    This fixes a problem with the mtab translator.  Previously, the mtab
    translator invoked on a target that was not the root directory of a
    translator would compute invalid paths, e.g.:
    
    /hurd/mtab: /any/path/servers/socket/26 No such file or directory
    
    * hurd/fs.defs (file_get_children): Update comment.
    * libfshelp/translator-list.c (fshelp_get_active_translators): Add
    argument PREFIX.  Filter entries not beginning with PREFIX if
    non-NULL, and omit PREFIX from the returned paths.
    * libfshelp/fshelp.h (fshelp_get_active_translators): Update comment
    accordingly.  Also clarify that both FILTER and PREFIX can be NULL.
    * libdiskfs/file-get-children.c (diskfs_S_file_get_children): Update
    comment, pass prefix to fshelp_get_active_translators.
    * libnetfs/file-get-children.c (netfs_S_file_get_children): Likewise.

commit c5f866e17c72302d826b885f098b1c07d7abdbc7
Author: Justus Winter <address@hidden>
Date:   Sun Aug 31 14:36:50 2014 +0200

    libihash: fix comparison between signed and unsigned integer
    
    * libihash/ihash.h (HURD_IHASH_ITERATE): Fix comparison between signed
    and unsigned integer expressions.

commit 6fd075df8f71c95cff04d58643e5da0d58dbbada
Author: Justus Winter <address@hidden>
Date:   Sun Aug 31 12:46:25 2014 +0200

    trans/mtab: use setnullauth to drop privileges
    
    * trans/mtab.c (main): Use setnullauth to drop privileges.

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

Summary of changes:
 hurd/fs.defs                  |    4 ++--
 libdiskfs/file-get-children.c |    9 +++++----
 libfshelp/fshelp.h            |    9 ++++++---
 libfshelp/translator-list.c   |   21 +++++++++++++++++----
 libihash/ihash.h              |    3 ++-
 libnetfs/file-get-children.c  |    9 +++++----
 trans/mtab.c                  |   15 ++-------------
 7 files changed, 39 insertions(+), 31 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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