Use `SYS_afs_syscall' if defined.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@604 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -38,16 +38,10 @@
|
|||||||
#define AFS_SYSCALL 31
|
#define AFS_SYSCALL 31
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux)
|
|
||||||
#define AFS_SYSCALL 137
|
|
||||||
/* Kent Engstr<74>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__)
|
#if defined(__NetBSD__)
|
||||||
#define AFS_SYSCALL 210
|
#define AFS_SYSCALL 210
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SYS_afs_syscall
|
||||||
|
#define AFS_SYSCALL SYS_afs_syscall
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user