move setid core externs near defcorename, as requested by yamt@.

This commit is contained in:
elad 2006-02-04 16:11:36 +00:00
parent c43c5d6f66
commit 02e23f0fb1
2 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: resourcevar.h,v 1.30 2005/12/11 12:25:21 christos Exp $ */ /* $NetBSD: resourcevar.h,v 1.31 2006/02/04 16:11:36 elad Exp $ */
/* /*
* Copyright (c) 1991, 1993 * Copyright (c) 1991, 1993
@ -117,6 +117,13 @@ int chgsbsize(struct uidinfo *, u_long *, u_long, rlim_t);
struct uidinfo *uid_find(uid_t); struct uidinfo *uid_find(uid_t);
extern char defcorename[]; extern char defcorename[];
extern int security_setidcore_dump;
extern char security_setidcore_path[];
extern uid_t security_setidcore_owner;
extern gid_t security_setidcore_group;
extern mode_t security_setidcore_mode;
void addupc_intr(struct proc *, u_long); void addupc_intr(struct proc *, u_long);
void addupc_task(struct proc *, u_long, u_int); void addupc_task(struct proc *, u_long, u_int);
void calcru(struct proc *, struct timeval *, struct timeval *, void calcru(struct proc *, struct timeval *, struct timeval *,

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysctl.h,v 1.148 2006/02/02 17:48:51 elad Exp $ */ /* $NetBSD: sysctl.h,v 1.149 2006/02/04 16:11:36 elad Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -909,11 +909,6 @@ extern struct sysctlnode sysctl_root;
/* XXX this should not be here */ /* XXX this should not be here */
extern int security_curtain; extern int security_curtain;
extern int security_setidcore_dump;
extern char security_setidcore_path[];
extern uid_t security_setidcore_owner;
extern gid_t security_setidcore_group;
extern mode_t security_setidcore_mode;
/* /*
* A log of nodes created by a setup function or set of setup * A log of nodes created by a setup function or set of setup