mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 17:49:22 -04:00
unstaticize change_ruid() because it is needed by osf1_setuid()
This commit is contained in:
parent
7e06ffaa30
commit
810bfc8ea1
2 changed files with 2 additions and 3 deletions
|
|
@ -58,8 +58,6 @@
|
|||
|
||||
static MALLOC_DEFINE(M_CRED, "cred", "credentials");
|
||||
|
||||
static void change_ruid(struct proc *p, uid_t ruid);
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
struct getpid_args {
|
||||
int dummy;
|
||||
|
|
@ -1286,7 +1284,7 @@ change_euid(p, euid)
|
|||
* The per-uid process count for this process is transfered from
|
||||
* the old uid to the new uid.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
change_ruid(p, ruid)
|
||||
struct proc *p;
|
||||
uid_t ruid;
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ struct ucred {
|
|||
struct proc;
|
||||
|
||||
void change_euid __P((struct proc *p, uid_t euid));
|
||||
void change_ruid __P((struct proc *p, uid_t ruid));
|
||||
struct ucred *crcopy __P((struct ucred *cr));
|
||||
struct ucred *crdup __P((struct ucred *cr));
|
||||
void crfree __P((struct ucred *cr));
|
||||
|
|
|
|||
Loading…
Reference in a new issue