remote: add sysusers file to create 'libvirt' group
[libvirt.git] / tests / virprocessmock.c
blob4236099ac3ccf6cc5202348417fc32472c7290ca
1 /*
2 * Copyright (C) 2019 Red Hat, Inc.
3 * Copyright (C) 2019 IBM Corp.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library 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 GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see
17 * <http://www.gnu.org/licenses/>.
21 #include <config.h>
22 #include "virprocess.h"
24 int
25 virProcessGetMaxMemLock(pid_t pid G_GNUC_UNUSED,
26 unsigned long long *bytes)
28 *bytes = 0;
29 return 0;
32 int
33 virProcessSetMaxMemLock(pid_t pid G_GNUC_UNUSED, unsigned long long bytes G_GNUC_UNUSED)
35 return 0;