diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-08 16:54:44 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-08 16:54:44 +0000 |
commit | 25eae02948b40667495fbb021dd130180180a05e (patch) | |
tree | d0dffa4caed0faf7473d162528551c850c9a914b /source3/include | |
parent | a67a697b3624c51d38cacd4aea134286a372b756 (diff) | |
download | samba-25eae02948b40667495fbb021dd130180180a05e.tar.gz samba-25eae02948b40667495fbb021dd130180180a05e.tar.bz2 samba-25eae02948b40667495fbb021dd130180180a05e.zip |
Makefile: Added AIX targets from Ole Holm Nielsen <Ole.H.Nielsen@uni-c.dk>
chgpasswd.c: Added Samba/GPL notice (for obvious reasons).
clitar.c: Updated Copyright date to include 1997 (for obvious reasons).
getsmbpass.c: Updated Copyright date to include 1997 (for obvious reasons).
includes.h: Added stropts for solaris.
loadparm.c: Changed comment for hide files option.
nameconf.c: Updated Copyright date to include 1997 (for obvious reasons).
nmbd.c: Updated Copyright date to include 1997 (for obvious reasons).
pcap.c: Updated Copyright date to include 1997 (for obvious reasons).
proto.h: Re-added accidentaly deleted smb_shm_ calls.
quotas.c: Added AIX quota patch from Ole Holm Nielsen <ohnielse@fysik.dtu.dk>
server.c: Optimization on calling is_hidden_path. Updated Copyrights.
smb.h: Changed DEFAULT_FILES_TO_HIDE from "*/.*" to ".*".
smbpass.c: Updated Copyright date to include 1997 (for obvious reasons).
ufc.c: Updated Copyright date to include 1997 (for obvious reasons).
util.c: Added last component code to is_in_path().
Jeremy (jallison@whistle.com)
(This used to be commit 9385ae1005f13c8ed51f1319e3949b5c8571e62d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 44707673ee..a5adb35077 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -291,6 +291,7 @@ typedef unsigned short mode_t; #include <arpa/inet.h> #include <rpcsvc/ypclnt.h> #include <termios.h> +#include <sys/stropts.h> #ifndef USE_LIBDES #include <crypt.h> #endif /* USE_LIBDES */ diff --git a/source3/include/proto.h b/source3/include/proto.h index aae5b3a63b..5ba308561f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -736,6 +736,9 @@ BOOL smb_shm_unlock_hash_entry( unsigned int entry ); BOOL smb_shm_get_usage(int *bytes_free, int *bytes_used, int *bytes_overhead); +smb_shm_offset_t smb_shm_alloc(int size); +smb_shm_offset_t smb_shm_addr2offset(void *addr); +smb_shm_offset_t smb_shm_get_userdef_off(void); /*The following definitions come from smbencrypt.c */ @@ -951,7 +954,6 @@ void ajt_panic(void); char *readdirname(void *p); BOOL is_hidden_path(int snum, char *name); BOOL is_vetoed_name(int snum, char *name); -BOOL is_in_path(char *name, char *namelist); BOOL fcntl_lock(int fd,int op,uint32 offset,uint32 count,int type); int file_lock(char *name,int timeout); void file_unlock(int fd); diff --git a/source3/include/smb.h b/source3/include/smb.h index d4ad9105fe..463dcb1373 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -916,6 +916,6 @@ enum case_handling {CASE_LOWER,CASE_UPPER}; #define COPYBUF_SIZE (8*1024) /* service-based parameter - files are not visible, but are accessible */ -#define DEFAULT_FILES_TO_HIDE "*/.*" +#define DEFAULT_FILES_TO_HIDE ".*" /* _SMB_H */ |