diff options
| author | ross <ross@NetBSD.org> | 2001-05-14 19:56:22 +0000 |
|---|---|---|
| committer | ross <ross@NetBSD.org> | 2001-05-14 19:56:22 +0000 |
| commit | 26882092f428dac2c4e00c400a2a90ddaa9dfa2a (patch) | |
| tree | 3a8679d5a7f1551e7df1568a167001839aed92c6 /sys/arch/alpha/include | |
| parent | 0c779d0a014d2ab5d57f52388cfe2e5e937c67dc (diff) | |
o Deal with stray machine checks
o Add for alpha a security-sensitive rate-limiting printf(9) wrapper based
on ratecheck(9): void rlprintf(struct timeval *t, const char *fmt, ...);
Diffstat (limited to 'sys/arch/alpha/include')
| -rw-r--r-- | sys/arch/alpha/include/alpha.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/alpha.h b/sys/arch/alpha/include/alpha.h index 2ae746676c9..db6ed63e2f2 100644 --- a/sys/arch/alpha/include/alpha.h +++ b/sys/arch/alpha/include/alpha.h @@ -1,4 +1,4 @@ -/* $NetBSD: alpha.h,v 1.15 2001/04/26 03:10:46 ross Exp $ */ +/* $NetBSD: alpha.h,v 1.16 2001/05/14 19:56:23 ross Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -62,6 +62,7 @@ typedef union alpha_t_float { #ifdef _KERNEL #include <machine/bus.h> +#include <machine/stdarg.h> struct pcb; struct proc; @@ -117,6 +118,7 @@ void fpusave_cpu(struct cpu_info *, int); void fpusave_proc(struct proc *, int); /* Multiprocessor glue; cpu.c */ + struct cpu_info; int cpu_iccb_send(long, const char *); void cpu_iccb_receive(void); @@ -145,5 +147,9 @@ void alpha_write_fp_c(struct proc *, u_int64_t); void alpha_enable_fp(struct proc *, int); int alpha_fp_complete(u_long, u_long, struct proc *, u_int64_t *); +/* Security sensitive rate limiting printf */ + +void rlprintf(struct timeval *t, const char *fmt, ...); + #endif /* _KERNEL */ #endif /* _ALPHA_H_ */ |
