mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Const poisoning from ks_shortdesc.
This commit is contained in:
parent
358e851a59
commit
6881d20fbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31333
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_synch.c 8.9 (Berkeley) 5/19/95
|
||||
* $Id: kern_synch.c,v 1.38 1997/09/02 20:05:43 bde Exp $
|
||||
* $Id: kern_synch.c,v 1.39 1997/09/21 22:00:14 gibbs Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
@ -327,7 +327,7 @@ int
|
||||
tsleep(ident, priority, wmesg, timo)
|
||||
void *ident;
|
||||
int priority, timo;
|
||||
char *wmesg;
|
||||
const char *wmesg;
|
||||
{
|
||||
struct proc *p = curproc;
|
||||
int s, sig, catch = priority & PCATCH;
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)proc.h 8.15 (Berkeley) 5/19/95
|
||||
* $Id: proc.h,v 1.45 1997/10/12 20:26:03 phk Exp $
|
||||
* $Id: proc.h,v 1.46 1997/11/06 19:29:45 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PROC_H_
|
||||
@ -126,7 +126,7 @@ struct proc {
|
||||
int p_cpticks; /* Ticks of cpu time. */
|
||||
fixpt_t p_pctcpu; /* %cpu for this process during p_swtime */
|
||||
void *p_wchan; /* Sleep address. */
|
||||
char *p_wmesg; /* Reason for sleep. */
|
||||
const char *p_wmesg; /* Reason for sleep. */
|
||||
u_int p_swtime; /* Time swapped in or out. */
|
||||
u_int p_slptime; /* Time since last blocked. */
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)systm.h 8.7 (Berkeley) 3/29/95
|
||||
* $Id: systm.h,v 1.61 1997/10/10 18:15:47 phk Exp $
|
||||
* $Id: systm.h,v 1.62 1997/11/18 15:16:54 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSTM_H_
|
||||
@ -261,7 +261,7 @@ extern watchdog_tickle_fn wdog_tickler;
|
||||
* Common `proc' functions are declared here so that proc.h can be included
|
||||
* less often.
|
||||
*/
|
||||
int tsleep __P((void *chan, int pri, char *wmesg, int timo));
|
||||
int tsleep __P((void *chan, int pri, const char *wmesg, int timo));
|
||||
void wakeup __P((void *chan));
|
||||
|
||||
#endif /* !_SYS_SYSTM_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user