diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-06-10 17:13:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:55 -0500 |
commit | 53babbb519759e415671278d44bddf13ef46334c (patch) | |
tree | 068ce2d732304685ace3dc34f87050dbfc6dbe06 /source3 | |
parent | 76ca0f6f3f57c487564697c795da65672bbf4052 (diff) | |
download | samba-53babbb519759e415671278d44bddf13ef46334c.tar.gz samba-53babbb519759e415671278d44bddf13ef46334c.tar.bz2 samba-53babbb519759e415671278d44bddf13ef46334c.zip |
r1106: Lars Mueller <lmuelle@suse.de> asked me to apply this patch, as this is needed
for their build environment. The AFS stuff is linux 2.4 only currently, it
works for me on this platform, so apply it.
Volker
(This used to be commit 69e8c65f1f0cb0c5237bb3b2560cd6f936503eb7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/afs_settoken.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index eb10c4c66d..5c646c72e4 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -28,12 +28,16 @@ #include <afs/venus.h> #include <asm/unistd.h> #include <openssl/des.h> +#include <sys/syscall.h> -_syscall5(int, afs_syscall, int, subcall, - char *, path, - int, cmd, - char *, cmarg, - int, follow); +int afs_syscall( int subcall, + char * path, + int cmd, + char * cmarg, + int follow) +{ + return( syscall( SYS_afs_syscall, subcall, path, cmd, cmarg, follow)); +} struct ClearToken { uint32 AuthHandle; |