svr4_fuser.h revision 43412
143412Snewton/* 243412Snewton * Derived from: 343412Snewton * $NetBSD: svr4_fuser.h,v 1.4 1998/09/04 19:54:38 christos Exp $ */ 443412Snewton 543412Snewton/*- 643412Snewton * Original Copyright: 743412Snewton * 843412Snewton * Copyright (c) 1994 The NetBSD Foundation, Inc. 943412Snewton * All rights reserved. 1043412Snewton * 1143412Snewton * This code is derived from software contributed to The NetBSD Foundation 1243412Snewton * by Christos Zoulas. 1343412Snewton * 1443412Snewton * Redistribution and use in source and binary forms, with or without 1543412Snewton * modification, are permitted provided that the following conditions 1643412Snewton * are met: 1743412Snewton * 1. Redistributions of source code must retain the above copyright 1843412Snewton * notice, this list of conditions and the following disclaimer. 1943412Snewton * 2. Redistributions in binary form must reproduce the above copyright 2043412Snewton * notice, this list of conditions and the following disclaimer in the 2143412Snewton * documentation and/or other materials provided with the distribution. 2243412Snewton * 3. All advertising materials mentioning features or use of this software 2343412Snewton * must display the following acknowledgement: 2443412Snewton * This product includes software developed by the NetBSD 2543412Snewton * Foundation, Inc. and its contributors. 2643412Snewton * 4. Neither the name of The NetBSD Foundation nor the names of its 2743412Snewton * contributors may be used to endorse or promote products derived 2843412Snewton * from this software without specific prior written permission. 2943412Snewton * 3043412Snewton * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 3143412Snewton * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 3243412Snewton * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3343412Snewton * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 3443412Snewton * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 3543412Snewton * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 3643412Snewton * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3743412Snewton * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3843412Snewton * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3943412Snewton * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 4043412Snewton * POSSIBILITY OF SUCH DAMAGE. 4143412Snewton */ 4243412Snewton 4343412Snewton/* 4443412Snewton * Portions of this code have been derived from code contributed to the 4543412Snewton * FreeBSD Project by Mark Newton. 4643412Snewton * 4743412Snewton * Copyright (c) 1999 Mark Newton 4843412Snewton * All rights reserved. 4943412Snewton * 5043412Snewton * Redistribution and use in source and binary forms, with or without 5143412Snewton * modification, are permitted provided that the following conditions 5243412Snewton * are met: 5343412Snewton * 1. Redistributions of source code must retain the above copyright 5443412Snewton * notice, this list of conditions and the following disclaimer. 5543412Snewton * 2. Redistributions in binary form must reproduce the above copyright 5643412Snewton * notice, this list of conditions and the following disclaimer in the 5743412Snewton * documentation and/or other materials provided with the distribution. 5843412Snewton * 3. The name of the author may not be used to endorse or promote products 5943412Snewton * derived from this software without specific prior written permission 6043412Snewton * 6143412Snewton * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 6243412Snewton * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 6343412Snewton * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 6443412Snewton * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 6543412Snewton * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 6643412Snewton * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 6743412Snewton * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 6843412Snewton * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 6943412Snewton * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 7043412Snewton * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7143412Snewton */ 7243412Snewton 7343412Snewton#ifndef _SVR4_FUSER_H_ 7443412Snewton#define _SVR4_FUSER_H_ 7543412Snewton 7643412Snewton#include <svr4/svr4_types.h> 7743412Snewton 7843412Snewtonstruct svr4_f_user { 7943412Snewton svr4_pid_t fu_pid; 8043412Snewton int fu_flags; 8143412Snewton uid_t fu_uid; 8243412Snewton}; 8343412Snewton 8443412Snewton 8543412Snewton#define SVR4_F_FILE_ONLY 1 8643412Snewton#define SVR4_F_CONTAINED 2 8743412Snewton 8843412Snewton#define SVR4_F_CDIR 0x01 8943412Snewton#define SVR4_F_RDIR 0x02 9043412Snewton#define SVR4_F_TEXT 0x04 9143412Snewton#define SVR4_F_MAP 0x08 9243412Snewton#define SVR4_F_OPEN 0x10 9343412Snewton#define SVR4_F_TRACE 0x20 9443412Snewton#define SVR4_F_TTY 0x40 9543412Snewton 9643412Snewton#endif /* !_SVR4_FUSER_H_ */ 97