Changeset 6f076e7 in code for logger.c


Ignore:
Timestamp:
Sep 21, 2016, 8:45:32 PM (9 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
36f8e7c, 5ea93bc
Parents:
67f3e60 (diff), 411aa63 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Mike Belopuhov <mbelop@…> (09/21/16 20:45:32)
git-committer:
GitHub <noreply@…> (09/21/16 20:45:32)
Message:

Merge pull request #3 from timkuijsten/pledge

pledge icbd and it's logger process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • logger.c

    r67f3e60 r6f076e7  
    119119        }
    120120
     121        if (pledge("stdio cpath wpath", NULL) == -1) {
     122                syslog(LOG_ERR, "%s: pledge", __func__);
     123                exit(EX_NOPERM);
     124        }
     125
    121126        event_init();
    122127
Note: See TracChangeset for help on using the changeset viewer.