Deleted Added
full compact
syscallsubr.h (270042) syscallsubr.h (272246)
1/*-
2 * Copyright (c) 2002 Ian Dowse. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 2002 Ian Dowse. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
25 * $FreeBSD: stable/10/sys/sys/syscallsubr.h 270042 2014-08-16 12:59:47Z bz $
25 * $FreeBSD: stable/10/sys/sys/syscallsubr.h 272246 2014-09-28 11:08:32Z kib $
26 */
27
28#ifndef _SYS_SYSCALLSUBR_H_
29#define _SYS_SYSCALLSUBR_H_
30
31#include <sys/signal.h>
32#include <sys/uio.h>
33#include <sys/socket.h>

--- 58 unchanged lines hidden (view full) ---

92 int flags);
93int kern_execve(struct thread *td, struct image_args *args,
94 struct mac *mac_p);
95int kern_fchmodat(struct thread *td, int fd, char *path,
96 enum uio_seg pathseg, mode_t mode, int flag);
97int kern_fchownat(struct thread *td, int fd, char *path,
98 enum uio_seg pathseg, int uid, int gid, int flag);
99int kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg);
26 */
27
28#ifndef _SYS_SYSCALLSUBR_H_
29#define _SYS_SYSCALLSUBR_H_
30
31#include <sys/signal.h>
32#include <sys/uio.h>
33#include <sys/socket.h>

--- 58 unchanged lines hidden (view full) ---

92 int flags);
93int kern_execve(struct thread *td, struct image_args *args,
94 struct mac *mac_p);
95int kern_fchmodat(struct thread *td, int fd, char *path,
96 enum uio_seg pathseg, mode_t mode, int flag);
97int kern_fchownat(struct thread *td, int fd, char *path,
98 enum uio_seg pathseg, int uid, int gid, int flag);
99int kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg);
100int kern_fcntl_freebsd(struct thread *td, int fd, int cmd, long arg);
100int kern_fhstat(struct thread *td, fhandle_t fh, struct stat *buf);
101int kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf);
102int kern_fstat(struct thread *td, int fd, struct stat *sbp);
103int kern_fstatfs(struct thread *td, int fd, struct statfs *buf);
104int kern_ftruncate(struct thread *td, int fd, off_t length);
105int kern_futimes(struct thread *td, int fd, struct timeval *tptr,
106 enum uio_seg tptrseg);
107int kern_getdirentries(struct thread *td, int fd, char *buf, u_int count,

--- 159 unchanged lines hidden ---
101int kern_fhstat(struct thread *td, fhandle_t fh, struct stat *buf);
102int kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf);
103int kern_fstat(struct thread *td, int fd, struct stat *sbp);
104int kern_fstatfs(struct thread *td, int fd, struct statfs *buf);
105int kern_ftruncate(struct thread *td, int fd, off_t length);
106int kern_futimes(struct thread *td, int fd, struct timeval *tptr,
107 enum uio_seg tptrseg);
108int kern_getdirentries(struct thread *td, int fd, char *buf, u_int count,

--- 159 unchanged lines hidden ---