1 /*
2 * Copyright (C) 2021
3 * Author Manuel Bouyer <bouyer@netbsd.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation; version 2.1 only. with the special
8 * exception on linking described in file LICENSE.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 */
15
16 #include "libxl_osdeps.h" /* must come before any other headers */
17
18 #include "libxl_internal.h"
19
libxl__setresuid(uid_t ruid,uid_t euid,uid_t suid)20 int libxl__setresuid(uid_t ruid, uid_t euid, uid_t suid)
21 {
22 return setresuid(ruid, euid, suid);
23 }
24