commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.7-116-g94ce9fa


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.7-116-g94ce9fa
Date: Tue, 26 Apr 2016 12:54:07 +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  94ce9fa4c443ec9a0e6ecc92cb6b07534c321c75 (commit)
       via  d67a86c9690c2a9984ca6e9f3c376956495897f4 (commit)
      from  afbed6fbf2335476c9ca64aa82d5f591be6c4ded (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 94ce9fa4c443ec9a0e6ecc92cb6b07534c321c75
Author: Justus Winter <address@hidden>
Date:   Mon Apr 25 01:38:45 2016 +0200

    libtrivfs: fix notion of privileged user
    
    Set 'is_root' if the node has been opened by the root user (this was
    the old behavior) or if it has been opened by the user the translator
    is executing under.
    
    This fixes the irritating bug that an unprivileged user cannot control
    her own trivfs-based translators.  It does not change how privileged
    trivfs translators work.
    
    * libtrivfs/io-reauthenticate.c (trivfs_S_io_reauthenticate): Use the
    new function to compute 'isroot'.
    * libtrivfs/io-restrict-auth.c (trivfs_S_io_restrict_auth): Likewise.
    * libtrivfs/open.c (trivfs_open): Likewise.
    * libtrivfs/priv.h (_is_privileged): New function.
    * libtrivfs/trivfs.h (struct peropen): Clarify what 'isroot' means.

commit d67a86c9690c2a9984ca6e9f3c376956495897f4
Author: Justus Winter <address@hidden>
Date:   Mon Apr 25 00:48:56 2016 +0200

    libtrivfs: fix error handling
    
    * libtrivfs/times.c (trivfs_set_{a,m}time): Fix error handling.

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

Summary of changes:
 libtrivfs/io-reauthenticate.c |    3 +--
 libtrivfs/io-restrict-auth.c  |    4 +---
 libtrivfs/open.c              |    2 +-
 libtrivfs/priv.h              |    9 +++++++++
 libtrivfs/times.c             |   22 +++++++++++++++-------
 libtrivfs/trivfs.h            |    3 ++-
 6 files changed, 29 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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