[Swan-dev] contrib/labeled-ipsec/getpeercon_server.c changes

D. Hugh Redelmeier hugh at mimosa.com
Tue Jan 13 06:19:53 EET 2015


I just commited changes to this program.  I haven't tested them so beware!

Paul: can you see if I broke it?

New commits:
commit 1586f711dd0ea62a6eab0a2c1aade7b4c4f98b53
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date:   Mon Jan 12 23:07:51 2015 -0500

    tidy contrib/labeled-ipsec/getpeercon_server.c:
    - prevent overflow of buffer cli_sock_addr_str
    - eliminate -Wall warnings
    - reduce scope of many variables
    - clarify inner loop
    - for each system call error, print system call name and strerror(errno)
    - add required freecon calls


More information about the Swan-dev mailing list