Deleted Added
full compact
syscallsubr.h (177786) syscallsubr.h (177997)
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 177786 2008-03-31 12:04:20Z kib $
25 * $FreeBSD: head/sys/sys/syscallsubr.h 177997 2008-04-08 09:45:49Z 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>

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

55int kern_accept(struct thread *td, int s, struct sockaddr **name,
56 socklen_t *namelen, struct file **fp);
57int kern_access(struct thread *td, char *path, enum uio_seg pathseg,
58 int flags);
59int kern_accessat(struct thread *td, int fd, char *path,
60 enum uio_seg pathseg, int flags, int mode);
61int kern_adjtime(struct thread *td, struct timeval *delta,
62 struct timeval *olddelta);
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>

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

55int kern_accept(struct thread *td, int s, struct sockaddr **name,
56 socklen_t *namelen, struct file **fp);
57int kern_access(struct thread *td, char *path, enum uio_seg pathseg,
58 int flags);
59int kern_accessat(struct thread *td, int fd, char *path,
60 enum uio_seg pathseg, int flags, int mode);
61int kern_adjtime(struct thread *td, struct timeval *delta,
62 struct timeval *olddelta);
63int kern_alternate_path(struct thread *td, const char *prefix, char *path,
64 enum uio_seg pathseg, char **pathbuf, int create);
63int kern_alternate_path(struct thread *td, const char *prefix, const char *path,
64 enum uio_seg pathseg, char **pathbuf, int create, int dirfd);
65int kern_bind(struct thread *td, int fd, struct sockaddr *sa);
66int kern_chdir(struct thread *td, char *path, enum uio_seg pathseg);
67int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg,
68 int mode);
69int kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid,
70 int gid);
71int kern_clock_getres(struct thread *td, clockid_t clock_id,
72 struct timespec *ts);

--- 146 unchanged lines hidden ---
65int kern_bind(struct thread *td, int fd, struct sockaddr *sa);
66int kern_chdir(struct thread *td, char *path, enum uio_seg pathseg);
67int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg,
68 int mode);
69int kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid,
70 int gid);
71int kern_clock_getres(struct thread *td, clockid_t clock_id,
72 struct timespec *ts);

--- 146 unchanged lines hidden ---