linux_util.h (293526) | linux_util.h (293527) |
---|---|
1/*- 2 * Copyright (c) 1994 Christos Zoulas 3 * Copyright (c) 1995 Frank van der Linden 4 * Copyright (c) 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp 30 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp | 1/*- 2 * Copyright (c) 1994 Christos Zoulas 3 * Copyright (c) 1995 Frank van der Linden 4 * Copyright (c) 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp 30 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp |
31 * $FreeBSD: stable/10/sys/compat/linux/linux_util.h 293526 2016-01-09 16:01:57Z dchagin $ | 31 * $FreeBSD: stable/10/sys/compat/linux/linux_util.h 293527 2016-01-09 16:08:22Z dchagin $ |
32 */ 33 34#ifndef _LINUX_UTIL_H_ 35#define _LINUX_UTIL_H_ 36 37#include <vm/vm.h> 38#include <vm/vm_param.h> 39#include <vm/pmap.h> 40#include <machine/vmparam.h> 41#include <sys/exec.h> 42#include <sys/sysent.h> 43#include <sys/syslog.h> 44#include <sys/cdefs.h> 45#include <sys/uio.h> 46 | 32 */ 33 34#ifndef _LINUX_UTIL_H_ 35#define _LINUX_UTIL_H_ 36 37#include <vm/vm.h> 38#include <vm/vm_param.h> 39#include <vm/pmap.h> 40#include <machine/vmparam.h> 41#include <sys/exec.h> 42#include <sys/sysent.h> 43#include <sys/syslog.h> 44#include <sys/cdefs.h> 45#include <sys/uio.h> 46 |
47MALLOC_DECLARE(M_LINUX); 48 |
|
47extern const char linux_emul_path[]; 48 49int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int); 50 51#define LCONVPATH_AT(td, upath, pathp, i, dfd) \ 52 do { \ 53 int _error; \ 54 \ --- 86 unchanged lines hidden --- | 49extern const char linux_emul_path[]; 50 51int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int); 52 53#define LCONVPATH_AT(td, upath, pathp, i, dfd) \ 54 do { \ 55 int _error; \ 56 \ --- 86 unchanged lines hidden --- |