summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-01 15:25:30 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-01 15:25:30 +0000
commit81e398963dbaed9c6661c336fe98329098576b94 (patch)
treef925ad8355cb1e73b37245de80353c465e2b7e2b /source3/include
parent0966bf7fb7702b78e80ad3656581eda2091c930f (diff)
downloadsamba-81e398963dbaed9c6661c336fe98329098576b94.tar.gz
samba-81e398963dbaed9c6661c336fe98329098576b94.tar.bz2
samba-81e398963dbaed9c6661c336fe98329098576b94.zip
- moved the uid handling to uid.c
- added setfsuid() support (for Linux) - started adding some of Lukes changes, just the loadparm and ipc ones so far (This used to be commit 72543810ce3eb5ea7b141f957edf38b4c46b1ea4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/smb.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index dc1fe57e71..8b2821948c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -223,6 +223,7 @@ Here come some platform specific sections
#define USE_SETSID
#define HAVE_BZERO
#define HAVE_MEMMOVE
+#define USE_SETFS
#ifdef SHADOW_PWD
#ifndef crypt
#define crypt pw_encrypt
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 4d99529ef6..3e38f4c37e 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -583,6 +583,8 @@ struct from_host {
};
/* and a few prototypes */
+BOOL become_guest(void);
+void init_uid(void);
BOOL user_ok(char *user,int snum);
int sys_rename(char *from, char *to);
int sys_select(fd_set *fds,struct timeval *tval);