renamed sys_getlogin to sys___getlogin. required by libc namespace conventions
This commit is contained in:
parent
7c8f14e947
commit
16fe807b60
|
@ -147,8 +147,8 @@ struct sysent sysent[] = {
|
|||
sys_getgid }, /* 47 = getgid */
|
||||
{ 2, s(struct sys_sigprocmask_args),
|
||||
sys_sigprocmask }, /* 48 = sigprocmask */
|
||||
{ 2, s(struct sys_getlogin_args),
|
||||
sys_getlogin }, /* 49 = getlogin */
|
||||
{ 2, s(struct sys___getlogin_args),
|
||||
sys___getlogin }, /* 49 = __getlogin */
|
||||
{ 1, s(struct sys_setlogin_args),
|
||||
sys_setlogin }, /* 50 = setlogin */
|
||||
{ 1, s(struct sys_acct_args),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern_prot.c,v 1.36 1996/08/09 10:30:23 mrg Exp $ */
|
||||
/* $NetBSD: kern_prot.c,v 1.37 1996/09/19 04:54:16 jtc Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
|
||||
|
@ -623,12 +623,12 @@ crdup(cr)
|
|||
*/
|
||||
/* ARGSUSED */
|
||||
int
|
||||
sys_getlogin(p, v, retval)
|
||||
sys___getlogin(p, v, retval)
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
struct sys_getlogin_args /* {
|
||||
struct sys___getlogin_args /* {
|
||||
syscallarg(char *) namebuf;
|
||||
syscallarg(u_int) namelen;
|
||||
} */ *uap = v;
|
||||
|
|
|
@ -59,7 +59,7 @@ char *syscallnames[] = {
|
|||
"sigaction", /* 46 = sigaction */
|
||||
"getgid", /* 47 = getgid */
|
||||
"sigprocmask", /* 48 = sigprocmask */
|
||||
"getlogin", /* 49 = getlogin */
|
||||
"__getlogin", /* 49 = __getlogin */
|
||||
"setlogin", /* 50 = setlogin */
|
||||
"acct", /* 51 = acct */
|
||||
"sigpending", /* 52 = sigpending */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: syscalls.master,v 1.36 1996/09/07 14:16:42 mycroft Exp $
|
||||
$NetBSD: syscalls.master,v 1.37 1996/09/19 04:52:12 jtc Exp $
|
||||
|
||||
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
|||
struct sigaction *osa); }
|
||||
47 STD { gid_t sys_getgid(void); }
|
||||
48 STD { int sys_sigprocmask(int how, sigset_t mask); }
|
||||
49 STD { int sys_getlogin(char *namebuf, u_int namelen); }
|
||||
49 STD { int sys___getlogin(char *namebuf, u_int namelen); }
|
||||
50 STD { int sys_setlogin(char *namebuf); }
|
||||
51 STD { int sys_acct(char *path); }
|
||||
52 STD { int sys_sigpending(void); }
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
#define SYS_sigaction 46
|
||||
#define SYS_getgid 47
|
||||
#define SYS_sigprocmask 48
|
||||
#define SYS_getlogin 49
|
||||
#define SYS___getlogin 49
|
||||
#define SYS_setlogin 50
|
||||
#define SYS_acct 51
|
||||
#define SYS_sigpending 52
|
||||
|
|
|
@ -216,7 +216,7 @@ struct sys_sigprocmask_args {
|
|||
syscallarg(sigset_t) mask;
|
||||
};
|
||||
|
||||
struct sys_getlogin_args {
|
||||
struct sys___getlogin_args {
|
||||
syscallarg(char *) namebuf;
|
||||
syscallarg(u_int) namelen;
|
||||
};
|
||||
|
@ -1023,7 +1023,7 @@ int sys_ktrace __P((struct proc *, void *, register_t *));
|
|||
int sys_sigaction __P((struct proc *, void *, register_t *));
|
||||
int sys_getgid __P((struct proc *, void *, register_t *));
|
||||
int sys_sigprocmask __P((struct proc *, void *, register_t *));
|
||||
int sys_getlogin __P((struct proc *, void *, register_t *));
|
||||
int sys___getlogin __P((struct proc *, void *, register_t *));
|
||||
int sys_setlogin __P((struct proc *, void *, register_t *));
|
||||
int sys_acct __P((struct proc *, void *, register_t *));
|
||||
int sys_sigpending __P((struct proc *, void *, register_t *));
|
||||
|
|
Loading…
Reference in New Issue