Deleted Added
full compact
syscallsubr.h (209613) syscallsubr.h (220158)
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: head/sys/sys/syscallsubr.h 209613 2010-06-30 18:03:42Z jhb $
25 * $FreeBSD: head/sys/sys/syscallsubr.h 220158 2011-03-30 14:46:12Z 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>

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

43struct msqid_ds;
44struct rlimit;
45struct rusage;
46union semun;
47struct sockaddr;
48struct stat;
49struct kevent;
50struct kevent_copyops;
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>

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

43struct msqid_ds;
44struct rlimit;
45struct rusage;
46union semun;
47struct sockaddr;
48struct stat;
49struct kevent;
50struct kevent_copyops;
51struct kld_file_stat;
51struct ksiginfo;
52struct sendfile_args;
53struct thr_param;
54
55int kern___getcwd(struct thread *td, u_char *buf, enum uio_seg bufseg,
56 u_int buflen);
57int kern_accept(struct thread *td, int s, struct sockaddr **name,
58 socklen_t *namelen, struct file **fp);

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

108 void *optval, enum uio_seg valseg, socklen_t *valsize);
109int kern_ioctl(struct thread *td, int fd, u_long com, caddr_t data);
110int kern_jail(struct thread *td, struct jail *j);
111int kern_jail_get(struct thread *td, struct uio *options, int flags);
112int kern_jail_set(struct thread *td, struct uio *options, int flags);
113int kern_kevent(struct thread *td, int fd, int nchanges, int nevents,
114 struct kevent_copyops *k_ops, const struct timespec *timeout);
115int kern_kldload(struct thread *td, const char *file, int *fileid);
52struct ksiginfo;
53struct sendfile_args;
54struct thr_param;
55
56int kern___getcwd(struct thread *td, u_char *buf, enum uio_seg bufseg,
57 u_int buflen);
58int kern_accept(struct thread *td, int s, struct sockaddr **name,
59 socklen_t *namelen, struct file **fp);

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

109 void *optval, enum uio_seg valseg, socklen_t *valsize);
110int kern_ioctl(struct thread *td, int fd, u_long com, caddr_t data);
111int kern_jail(struct thread *td, struct jail *j);
112int kern_jail_get(struct thread *td, struct uio *options, int flags);
113int kern_jail_set(struct thread *td, struct uio *options, int flags);
114int kern_kevent(struct thread *td, int fd, int nchanges, int nevents,
115 struct kevent_copyops *k_ops, const struct timespec *timeout);
116int kern_kldload(struct thread *td, const char *file, int *fileid);
117int kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat);
116int kern_kldunload(struct thread *td, int fileid, int flags);
117int kern_lchown(struct thread *td, char *path, enum uio_seg pathseg,
118 int uid, int gid);
119int kern_link(struct thread *td, char *path, char *link,
120 enum uio_seg segflg);
121int kern_linkat(struct thread *td, int fd1, int fd2, char *path1,
122 char *path2, enum uio_seg segflg, int follow);
123int kern_lstat(struct thread *td, char *path, enum uio_seg pathseg,

--- 112 unchanged lines hidden ---
118int kern_kldunload(struct thread *td, int fileid, int flags);
119int kern_lchown(struct thread *td, char *path, enum uio_seg pathseg,
120 int uid, int gid);
121int kern_link(struct thread *td, char *path, char *link,
122 enum uio_seg segflg);
123int kern_linkat(struct thread *td, int fd1, int fd2, char *path1,
124 char *path2, enum uio_seg segflg, int follow);
125int kern_lstat(struct thread *td, char *path, enum uio_seg pathseg,

--- 112 unchanged lines hidden ---