diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 15:54:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 15:54:04 +0000 |
commit | e34e25d907ee92063fd2466a1634b961e292cc0f (patch) | |
tree | e47bb2ab6755df1e37082c6166d03f3183ec9195 /source3/smbwrapper/realcalls.h | |
parent | 767784550642439ccc86f96f3894490774448f10 (diff) | |
download | samba-e34e25d907ee92063fd2466a1634b961e292cc0f.tar.gz samba-e34e25d907ee92063fd2466a1634b961e292cc0f.tar.xz samba-e34e25d907ee92063fd2466a1634b961e292cc0f.zip |
more solaris 2.5 fixups. It now seems to be working pretty well.
(This used to be commit c4e450817886b40474cebdfc50c0c16fb4646baf)
Diffstat (limited to 'source3/smbwrapper/realcalls.h')
-rw-r--r-- | source3/smbwrapper/realcalls.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h index 13a73ae3549..2267d21a734 100644 --- a/source3/smbwrapper/realcalls.h +++ b/source3/smbwrapper/realcalls.h @@ -64,7 +64,7 @@ #elif HAVE___SEEKDIR #define real_seekdir(d) (__seekdir(d,l)) #else -#define NO_SEEKDIR +#define NO_SEEKDIR_WRAPPER #endif #ifdef HAVE__TELLDIR @@ -74,7 +74,7 @@ #elif HAVE___TELLDIR #define real_telldir(d) (__telldir(d)) #else -#define NO_TELLDIR +#define NO_TELLDIR_WRAPPER #endif #ifdef HAVE__DUP @@ -125,6 +125,26 @@ #define real_fstat(fd,st) (__fstat(fd,st)) #endif +#ifdef HAVE__ACL +#define real_acl(fn,cmd,n,buf) (_acl(fn,cmd,n,buf)) +#elif SYS_acl +#define real_acl(fn,cmd,n,buf) (syscall(SYS_acl,(fn),(cmd),(n),(buf))) +#elif HAVE___ACL +#define real_acl(fn,cmd,n,buf) (__acl(fn,cmd,n,buf)) +#else +#define NO_ACL_WRAPPER +#endif + +#ifdef HAVE__FACL +#define real_facl(fd,cmd,n,buf) (_facl(fd,cmd,n,buf)) +#elif SYS_facl +#define real_facl(fd,cmd,n,buf) (syscall(SYS_facl,(fd),(cmd),(n),(buf))) +#elif HAVE___FACL +#define real_facl(fd,cmd,n,buf) (__facl(fd,cmd,n,buf)) +#else +#define NO_FACL_WRAPPER +#endif + #define real_readlink(fn,buf,len) (syscall(SYS_readlink, (fn), (buf), (len))) #define real_rename(fn1, fn2) (syscall(SYS_rename, (fn1), (fn2))) |