xref: /qemu/bsd-user/bsd-proc.c (revision 0caa3768)
10caa3768SStacey Son /*
20caa3768SStacey Son  *  BSD process related system call helpers
30caa3768SStacey Son  *
40caa3768SStacey Son  *  Copyright (c) 2013-14 Stacey D. Son
50caa3768SStacey Son  *
60caa3768SStacey Son  *  This program is free software; you can redistribute it and/or modify
70caa3768SStacey Son  *  it under the terms of the GNU General Public License as published by
80caa3768SStacey Son  *  the Free Software Foundation; either version 2 of the License, or
90caa3768SStacey Son  *  (at your option) any later version.
100caa3768SStacey Son  *
110caa3768SStacey Son  *  This program is distributed in the hope that it will be useful,
120caa3768SStacey Son  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
130caa3768SStacey Son  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
140caa3768SStacey Son  *  GNU General Public License for more details.
150caa3768SStacey Son  *
160caa3768SStacey Son  *  You should have received a copy of the GNU General Public License
170caa3768SStacey Son  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
180caa3768SStacey Son  */
190caa3768SStacey Son #include "qemu/osdep.h"
200caa3768SStacey Son 
210caa3768SStacey Son #include <sys/param.h>
220caa3768SStacey Son #include <sys/types.h>
230caa3768SStacey Son #include <sys/cpuset.h>
240caa3768SStacey Son #include <sys/resource.h>
250caa3768SStacey Son #include <sys/wait.h>
260caa3768SStacey Son 
270caa3768SStacey Son #include "qemu.h"
280caa3768SStacey Son #include "qemu-bsd.h"
290caa3768SStacey Son #include "signal-common.h"
300caa3768SStacey Son 
310caa3768SStacey Son #include "bsd-proc.h"
320caa3768SStacey Son 
330caa3768SStacey Son /*
340caa3768SStacey Son  * resource/rusage conversion
350caa3768SStacey Son  */
360caa3768SStacey Son int target_to_host_resource(int code)
370caa3768SStacey Son {
380caa3768SStacey Son     return code;
390caa3768SStacey Son }
400caa3768SStacey Son 
41