diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-09-18 00:59:33 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-09-18 00:59:33 +0000 |
commit | cd9917e7205619623b3ff31356b46f2c74a21812 (patch) | |
tree | 90874030c492c1f0a512171afbb498c487f68e1e /kerberosIV | |
parent | 19bfd1a38ad5615ab78dc0cffbd66ef30a2ad6f6 (diff) |
gc afssysdefs.h, we have xfspioctl instead
Diffstat (limited to 'kerberosIV')
-rw-r--r-- | kerberosIV/include/kafs_locl.h | 4 | ||||
-rw-r--r-- | kerberosIV/kafs/afssysdefs.h | 93 |
2 files changed, 1 insertions, 96 deletions
diff --git a/kerberosIV/include/kafs_locl.h b/kerberosIV/include/kafs_locl.h index 4cf77bdb026..08fe2eee051 100644 --- a/kerberosIV/include/kafs_locl.h +++ b/kerberosIV/include/kafs_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kafs_locl.h,v 1.2 1998/02/18 11:53:34 art Exp $ */ +/* $OpenBSD: kafs_locl.h,v 1.3 1998/09/18 00:59:32 art Exp $ */ /* $KTH: kafs_locl.h,v 1.7 1997/10/14 22:57:11 joda Exp $ */ /* @@ -66,8 +66,6 @@ #include <kerberosIV/krb.h> #include <kerberosIV/kafs.h> -#include "afssysdefs.h" - struct kafs_data; typedef int (*afslog_uid_func_t)(struct kafs_data*, const char*, uid_t); diff --git a/kerberosIV/kafs/afssysdefs.h b/kerberosIV/kafs/afssysdefs.h deleted file mode 100644 index 9fd6964a391..00000000000 --- a/kerberosIV/kafs/afssysdefs.h +++ /dev/null @@ -1,93 +0,0 @@ -/* $OpenBSD: afssysdefs.h,v 1.5 1998/09/15 17:09:07 art Exp $ */ -/* - * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan - * (Royal Institute of Technology, Stockholm, Sweden). - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the Kungliga Tekniska - * Högskolan and its contributors. - * - * 4. Neither the name of the Institute nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -/* $Id: afssysdefs.h,v 1.5 1998/09/15 17:09:07 art Exp $ */ - -/* - * This section is for machines using single entry point AFS syscalls! - * and/or - * This section is for machines using multiple entry point AFS syscalls! - * - * SunOS 4 is an example of single entry point and sgi of multiple - * entry point syscalls. - */ - -#if SunOS == 4 -#define AFS_SYSCALL 31 -#endif - -#if SunOS == 5 -#define AFS_SYSCALL 105 -#endif - -#if defined(__hpux) -#define AFS_SYSCALL 50 -#define AFS_SYSCALL2 49 -#define AFS_SYSCALL3 48 -#endif - -#if defined(_AIX) -/* _AIX is too weird */ -#endif - -#if defined(__sgi) -#define AFS_PIOCTL (64+1000) -#define AFS_SETPAG (65+1000) -#endif - -#if defined(__osf__) -#define AFS_SYSCALL 232 -#define AFS_SYSCALL2 258 -#endif - -#if defined(__ultrix) -#define AFS_SYSCALL 31 -#endif - -#ifdef OpenBSD -#define AFS_SYSCALL 208 -#endif - -#if defined(__NetBSD__) -#define AFS_SYSCALL 210 -#endif - -#ifdef SYS_afs_syscall -#define AFS_SYSCALL3 SYS_afs_syscall -#endif |