[liboping-changes] octo's ping library: Changes to 'master'

Florian Forster octo at verplant.org
Thu Oct 1 10:28:15 CEST 2009

 src/oping.c |  109 ++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 88 insertions(+), 21 deletions(-)

New commits:
commit 5a2d8718ca250276308a7e9a9395870de119b753
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Oct 1 10:28:10 2009 +0200

    oping: Temporarily drop privileges if supported by the system.
    This tries to solve the read-from-any-file-issue more elegantly by
    dropping privileges first thing after start-up and regaining privileges
    just to open the sockets.
    This has the advantage that the "-f" option is available for all users
    again and files are opened according to *their* permissions.
    Systems not supporting the _POSIX_SAVED_IDS feature still behave as
    before, i. e. if real and effective user IDs don't match, only "-" may
    be specified as input file.

More information about the liboping-changes mailing list