1248613Sdes/* $Id: bsd-setres_id.h,v 1.1 2012/11/05 06:04:37 dtucker Exp $ */ 2248613Sdes 3248613Sdes/* 4248613Sdes * Copyright (c) 2012 Darren Tucker (dtucker at zip com au). 5248613Sdes * 6248613Sdes * Permission to use, copy, modify, and distribute this software for any 7248613Sdes * purpose with or without fee is hereby granted, provided that the above 8248613Sdes * copyright notice and this permission notice appear in all copies. 9248613Sdes * 10248613Sdes * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11248613Sdes * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12248613Sdes * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13248613Sdes * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14248613Sdes * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15248613Sdes * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16248613Sdes * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17248613Sdes */ 18248613Sdes 19248613Sdes#ifndef HAVE_SETRESGID 20248613Sdesint setresgid(gid_t, gid_t, gid_t); 21248613Sdes#endif 22248613Sdes#ifndef HAVE_SETRESUID 23248613Sdesint setresuid(uid_t, uid_t, uid_t); 24248613Sdes#endif 25