filedesc.h (285390) | filedesc.h (285391) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)filedesc.h 8.1 (Berkeley) 6/2/93 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)filedesc.h 8.1 (Berkeley) 6/2/93 |
30 * $FreeBSD: head/sys/sys/filedesc.h 285390 2015-07-11 16:19:11Z mjg $ | 30 * $FreeBSD: head/sys/sys/filedesc.h 285391 2015-07-11 16:22:48Z mjg $ |
31 */ 32 33#ifndef _SYS_FILEDESC_H_ 34#define _SYS_FILEDESC_H_ 35 36#include <sys/caprights.h> 37#include <sys/queue.h> 38#include <sys/event.h> --- 164 unchanged lines hidden (view full) --- 203{ 204 205 return (!seq_consistent(fd_seq(fdp->fd_files, fd), seq)); 206} 207 208/* cdir/rdir/jdir manipulation functions. */ 209void pwd_chdir(struct thread *td, struct vnode *vp); 210int pwd_chroot(struct thread *td, struct vnode *vp); | 31 */ 32 33#ifndef _SYS_FILEDESC_H_ 34#define _SYS_FILEDESC_H_ 35 36#include <sys/caprights.h> 37#include <sys/queue.h> 38#include <sys/event.h> --- 164 unchanged lines hidden (view full) --- 203{ 204 205 return (!seq_consistent(fd_seq(fdp->fd_files, fd), seq)); 206} 207 208/* cdir/rdir/jdir manipulation functions. */ 209void pwd_chdir(struct thread *td, struct vnode *vp); 210int pwd_chroot(struct thread *td, struct vnode *vp); |
211void pwd_ensure_dirs(void); |
|
211 212#endif /* _KERNEL */ 213 214#endif /* !_SYS_FILEDESC_H_ */ | 212 213#endif /* _KERNEL */ 214 215#endif /* !_SYS_FILEDESC_H_ */ |