playground

Sandbox, container or whatever utilities for linux.
git clone https://pi.duncano.de/git/playground.git
Log | Files | Refs | README

commit bd99ab9777c59f06f86ff2e6f2d85f944bc5e1fa
parent 101abe04c8810920dc0c1fdd180d28b63163149e
Author: Duncaen <mail@duncano.de>
Date:   Sun, 19 Feb 2017 07:21:31 +0100

libpledge: fix PLEDGE_* flags

Diffstat:
pledge.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pledge.h b/pledge.h @@ -3,7 +3,7 @@ enum { PLEDGED = 0x100000, PLEDGE_ALWAYS = 0xffffff, - PLEDGE_IOCTL = 0x010001, + PLEDGE_IOCTL = 0x000001, PLEDGE_RPATH = 0x000002, PLEDGE_WPATH = 0x000004, PLEDGE_CPATH = 0x000008, @@ -19,8 +19,8 @@ enum { PLEDGE_PROC = 0x002000, PLEDGE_ID = 0x004000, PLEDGE_SETTIME = 0x008000, - PLEDGE_UNIX = 0x008000, - PLEDGE_CHOWNUID = 0x010000, + PLEDGE_UNIX = 0x010000, + PLEDGE_CHOWNUID = 0x020000, }; struct sock_fprog *pledge_whitelist(uint64_t);