summaryrefslogtreecommitdiff
path: root/lib/libc/sys/tame.c
blob: 077e1698edb02ba8577c19f745af4f586be38897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: tame.c,v 1.3 2015/10/09 06:10:57 deraadt Exp $	*/
/*
 *	Written by Artur Grabowski <art@openbsd.org> Public Domain
 */

#include <sys/types.h>
#include <sys/syscall.h>
#include <unistd.h>

int tame(const char *req, const char **paths);

int
tame(const char *req, const char **paths)
{
	return (pledge(req, paths));
}