summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-12-22 21:44:04 +0000
committerJeremy Allison <jra@samba.org>1998-12-22 21:44:04 +0000
commitf0ac4d3961e10ed0ed9543e5cebad0d3019e44c8 (patch)
treebf7de64a45a508d6777a8f8b3770348d6462929e /source/include
parent80810371e6ee2ed33cb22a3629373131e92a7ab4 (diff)
downloadsamba-f0ac4d3961e10ed0ed9543e5cebad0d3019e44c8.tar.gz
samba-f0ac4d3961e10ed0ed9543e5cebad0d3019e44c8.tar.xz
samba-f0ac4d3961e10ed0ed9543e5cebad0d3019e44c8.zip
Spelling mistake change due to very pick people (you know who you are :-).
Changed privilage to privilege. Also added set_real_uid() call to lib/util_sec.c. Removed last set[re]uid calls from quotas.c - all such calls now live only in lib/util_sec.c. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/client.h2
-rw-r--r--source/include/proto.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/include/client.h b/source/include/client.h
index 0f28fa0d089..458c50d87ba 100644
--- a/source/include/client.h
+++ b/source/include/client.h
@@ -80,7 +80,7 @@ struct cli_state {
int protocol;
int sec_mode;
int rap_error;
- int privilages;
+ int privileges;
fstring eff_name;
fstring desthost;
diff --git a/source/include/proto.h b/source/include/proto.h
index 77228036ec2..dc5763198f0 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -312,8 +312,8 @@ char *fgets_slash(char *s2,int maxlen,FILE *f);
/*The following definitions come from lib/util_sec.c */
-void gain_root_privilage(void);
-void gain_root_group_privilage(void);
+void gain_root_privilege(void);
+void gain_root_group_privilege(void);
int set_effective_uid(uid_t uid);
int set_effective_gid(gid_t gid);
BOOL become_user_permanently(uid_t uid, gid_t gid);