1*82657471SMarkus Pfeiffer /* 2*82657471SMarkus Pfeiffer * Copyright (c) 2013 Larisa Grigore <larisagrigore@gmail.com>. 3*82657471SMarkus Pfeiffer * All rights reserved. 4*82657471SMarkus Pfeiffer * 5*82657471SMarkus Pfeiffer * Redistribution and use in source and binary forms, with or without 6*82657471SMarkus Pfeiffer * modification, are permitted provided that the following conditions 7*82657471SMarkus Pfeiffer * are met: 8*82657471SMarkus Pfeiffer * 1. Redistributions of source code must retain the above copyright 9*82657471SMarkus Pfeiffer * notice, this list of conditions and the following disclaimer. 10*82657471SMarkus Pfeiffer * 2. Redistributions in binary form must reproduce the above copyright 11*82657471SMarkus Pfeiffer * notice, this list of conditions and the following disclaimer in the 12*82657471SMarkus Pfeiffer * documentation and/or other materials provided with the distribution. 13*82657471SMarkus Pfeiffer * 3. All advertising materials mentioning features or use of this software 14*82657471SMarkus Pfeiffer * must display the following acknowledgement: 15*82657471SMarkus Pfeiffer * This product includes software developed by Herb Peyerl. 16*82657471SMarkus Pfeiffer * 4. The name of Herb Peyerl may not be used to endorse or promote products 17*82657471SMarkus Pfeiffer * derived from this software without specific prior written permission. 18*82657471SMarkus Pfeiffer * 19*82657471SMarkus Pfeiffer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20*82657471SMarkus Pfeiffer * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21*82657471SMarkus Pfeiffer * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22*82657471SMarkus Pfeiffer * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23*82657471SMarkus Pfeiffer * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24*82657471SMarkus Pfeiffer * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25*82657471SMarkus Pfeiffer * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26*82657471SMarkus Pfeiffer * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27*82657471SMarkus Pfeiffer * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28*82657471SMarkus Pfeiffer * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29*82657471SMarkus Pfeiffer */ 30*82657471SMarkus Pfeiffer 31*82657471SMarkus Pfeiffer #ifndef SYSVD_PERM_H 32*82657471SMarkus Pfeiffer #define SYSVD_PERM_H 33*82657471SMarkus Pfeiffer 34*82657471SMarkus Pfeiffer #include <sys/socket.h> 35*82657471SMarkus Pfeiffer #include <sys/ipc.h> 36*82657471SMarkus Pfeiffer 37*82657471SMarkus Pfeiffer int ipcperm(struct cmsgcred *, struct ipc_perm *, int); 38*82657471SMarkus Pfeiffer 39*82657471SMarkus Pfeiffer #endif 40