Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2ff1f755
Commit
2ff1f755
authored
Jan 28, 2011
by
Chong Yidong
Browse files
* lib-src/ntlib.c (setregid): New stub, renamed from setegid.
* lib-src/ntlib.h: Update prototype.
parent
67442738
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
lib-src/ChangeLog
lib-src/ChangeLog
+6
-0
lib-src/ntlib.c
lib-src/ntlib.c
+1
-1
lib-src/ntlib.h
lib-src/ntlib.h
+1
-1
No files found.
lib-src/ChangeLog
View file @
2ff1f755
2011-01-28 Chong Yidong <cyd@stupidchicken.com>
* ntlib.c (setregid): New stub, renamed from setegid.
* ntlib.h: Update prototype.
2011-01-23 Chong Yidong <cyd@stupidchicken.com>
2011-01-23 Chong Yidong <cyd@stupidchicken.com>
* movemail.c (main): Use setregid instead of setegid, which is
* movemail.c (main): Use setregid instead of setegid, which is
...
...
lib-src/ntlib.c
View file @
2ff1f755
...
@@ -144,7 +144,7 @@ setuid (unsigned uid)
...
@@ -144,7 +144,7 @@ setuid (unsigned uid)
}
}
int
int
setegid
(
unsigned
gid
)
set
r
egid
(
unsigned
rgid
,
unsigned
gid
)
{
{
return
0
;
return
0
;
}
}
...
...
lib-src/ntlib.h
View file @
2ff1f755
...
@@ -39,7 +39,7 @@ unsigned getuid ();
...
@@ -39,7 +39,7 @@ unsigned getuid ();
unsigned
getegid
();
unsigned
getegid
();
unsigned
getgid
();
unsigned
getgid
();
int
setuid
(
unsigned
uid
);
int
setuid
(
unsigned
uid
);
int
setegid
(
unsigned
gid
);
int
set
r
egid
(
unsigned
rgid
,
unsigned
gid
);
char
*
getpass
(
const
char
*
prompt
);
char
*
getpass
(
const
char
*
prompt
);
int
fchown
(
int
fd
,
unsigned
uid
,
unsigned
gid
);
int
fchown
(
int
fd
,
unsigned
uid
,
unsigned
gid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment