proc.h (c6879c6c14eedbd060ba588a3129a6c60ebbe783) | proc.h (6f1fe3305a2be0a1395569b2ea5f56a93e491ae0) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1991 Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 26 unchanged lines hidden (view full) --- 35#ifndef _MACHINE_PROC_H_ 36#define _MACHINE_PROC_H_ 37 38#include <sys/queue.h> 39#include <machine/segments.h> 40 41/* 42 * List of locks | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1991 Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 26 unchanged lines hidden (view full) --- 35#ifndef _MACHINE_PROC_H_ 36#define _MACHINE_PROC_H_ 37 38#include <sys/queue.h> 39#include <machine/segments.h> 40 41/* 42 * List of locks |
43 * k - only accessed by curthread | 43 * c - proc lock 44 * k - only accessed by curthread |
44 * pp - pmap.c:invl_gen_mtx 45 */ 46 47struct proc_ldt { 48 caddr_t ldt_base; 49 int ldt_refcnt; 50}; 51 --- 12 unchanged lines hidden (view full) --- 64 struct pmap_invl_gen md_invl_gen; 65 register_t md_efirt_tmp; /* (k) */ 66 int md_efirt_dis_pf; /* (k) */ 67}; 68 69struct mdproc { 70 struct proc_ldt *md_ldt; /* (t) per-process ldt */ 71 struct system_segment_descriptor md_ldt_sd; | 45 * pp - pmap.c:invl_gen_mtx 46 */ 47 48struct proc_ldt { 49 caddr_t ldt_base; 50 int ldt_refcnt; 51}; 52 --- 12 unchanged lines hidden (view full) --- 65 struct pmap_invl_gen md_invl_gen; 66 register_t md_efirt_tmp; /* (k) */ 67 int md_efirt_dis_pf; /* (k) */ 68}; 69 70struct mdproc { 71 struct proc_ldt *md_ldt; /* (t) per-process ldt */ 72 struct system_segment_descriptor md_ldt_sd; |
73 u_int md_flags; /* (c) md process flags P_MD */ |
|
72}; 73 | 74}; 75 |
76#define P_MD_KPTI 0x00000001 /* Enable KPTI on exec */ 77 |
|
74#define KINFO_PROC_SIZE 1088 75#define KINFO_PROC32_SIZE 768 76 77struct syscall_args { 78 u_int code; 79 struct sysent *callp; 80 register_t args[8]; 81 int narg; --- 28 unchanged lines hidden --- | 78#define KINFO_PROC_SIZE 1088 79#define KINFO_PROC32_SIZE 768 80 81struct syscall_args { 82 u_int code; 83 struct sysent *callp; 84 register_t args[8]; 85 int narg; --- 28 unchanged lines hidden --- |