Files
heimdal/lib/kafs/afssysdefs.h
Unknown User d91-jda 7b18bea025 Add netbsd support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@198 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-12-02 03:54:35 +00:00

46 lines
934 B
C

/*
* This section is for machines using single entry point AFS syscalls!
* or
* This section is for machines using multiple entry point AFS syscalls!
*/
#if defined(sun) && !defined(__svr4__)
#define AFS_SYSCALL 31
#endif
#if defined(sun) && defined(__svr4__)
#define AFS_SYSCALL 105
#endif
#if defined(hpux)
#define AFS_SYSCALL 50
#define AFS_SYSCALL2 49
#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(__linux)
/* Kent Engström <kent@lysator.liu.se> 1995-08-22
Linux has no SIGSYS signal. Furthermore, the normal
kernels have no support for AFS. I'm not sure about
what to do, but for now I use SIGILL instead of SIGSYS.
*/
#define SIGSYS SIGILL
#endif /* __linux */
#if defined(__NetBSD__)
#define AFS_SYSCALL 210
#endif