11.13Sdholland/* $NetBSD: ulfs_dinode.h,v 1.13 2016/06/20 03:25:46 dholland Exp $ */ 21.13Sdholland/* from NetBSD: dinode.h,v 1.25 2016/01/22 23:06:10 dholland Exp */ 31.1Sdholland 41.1Sdholland/* 51.1Sdholland * Copyright (c) 2002 Networks Associates Technology, Inc. 61.1Sdholland * All rights reserved. 71.1Sdholland * 81.1Sdholland * This software was developed for the FreeBSD Project by Marshall 91.1Sdholland * Kirk McKusick and Network Associates Laboratories, the Security 101.1Sdholland * Research Division of Network Associates, Inc. under DARPA/SPAWAR 111.1Sdholland * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS 121.1Sdholland * research program 131.1Sdholland * 141.1Sdholland * Copyright (c) 1982, 1989, 1993 151.1Sdholland * The Regents of the University of California. All rights reserved. 161.1Sdholland * (c) UNIX System Laboratories, Inc. 171.1Sdholland * All or some portions of this file are derived from material licensed 181.1Sdholland * to the University of California by American Telephone and Telegraph 191.1Sdholland * Co. or Unix System Laboratories, Inc. and are reproduced herein with 201.1Sdholland * the permission of UNIX System Laboratories, Inc. 211.1Sdholland * 221.1Sdholland * Redistribution and use in source and binary forms, with or without 231.1Sdholland * modification, are permitted provided that the following conditions 241.1Sdholland * are met: 251.1Sdholland * 1. Redistributions of source code must retain the above copyright 261.1Sdholland * notice, this list of conditions and the following disclaimer. 271.1Sdholland * 2. Redistributions in binary form must reproduce the above copyright 281.1Sdholland * notice, this list of conditions and the following disclaimer in the 291.1Sdholland * documentation and/or other materials provided with the distribution. 301.1Sdholland * 3. Neither the name of the University nor the names of its contributors 311.1Sdholland * may be used to endorse or promote products derived from this software 321.1Sdholland * without specific prior written permission. 331.1Sdholland * 341.1Sdholland * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 351.1Sdholland * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 361.1Sdholland * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 371.1Sdholland * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 381.1Sdholland * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 391.1Sdholland * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 401.1Sdholland * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 411.1Sdholland * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 421.1Sdholland * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 431.1Sdholland * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 441.1Sdholland * SUCH DAMAGE. 451.1Sdholland * 461.1Sdholland * @(#)dinode.h 8.9 (Berkeley) 3/29/95 471.1Sdholland */ 481.1Sdholland 491.2Sdholland#ifndef _UFS_LFS_ULFS_DINODE_H_ 501.2Sdholland#define _UFS_LFS_ULFS_DINODE_H_ 511.1Sdholland 521.3Sdholland#include <ufs/lfs/lfs.h> 531.3Sdholland 541.1Sdholland/* File permissions. */ 551.1Sdholland#define IEXEC 0000100 /* Executable. */ 561.1Sdholland#define IWRITE 0000200 /* Writable. */ 571.1Sdholland#define IREAD 0000400 /* Readable. */ 581.1Sdholland#define ISVTX 0001000 /* Sticky bit. */ 591.1Sdholland#define ISGID 0002000 /* Set-gid. */ 601.1Sdholland#define ISUID 0004000 /* Set-uid. */ 611.1Sdholland 621.2Sdholland#endif /* !_UFS_LFS_ULFS_DINODE_H_ */ 63