\hypertarget{kern__xxx_8c_source}{}\doxysection{kern\+\_\+xxx.\+c}
\label{kern__xxx_8c_source}\index{kern/kern\_xxx.c@{kern/kern\_xxx.c}}
\mbox{\hyperlink{kern__xxx_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/3-\/Clause}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 1982, 1986, 1989, 1993}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00005}00005 \textcolor{comment}{ *      The Regents of the University of California.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00015}00015 \textcolor{comment}{ * 3. Neither the name of the University nor the names of its contributors}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00016}00016 \textcolor{comment}{ *    may be used to endorse or promote products derived from this software}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00017}00017 \textcolor{comment}{ *    without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00018}00018 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00019}00019 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00020}00020 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00021}00021 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00022}00022 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00023}00023 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00024}00024 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00025}00025 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00026}00026 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00027}00027 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00028}00028 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00029}00029 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00030}00030 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00031}00031 \textcolor{comment}{ *      @(\#)kern\_xxx.c  8.2 (Berkeley) 11/14/93}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00032}00032 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00033}00033 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00034}00034 \textcolor{preprocessor}{\#include <sys/cdefs.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00035}\mbox{\hyperlink{kern__xxx_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{00035}} \mbox{\hyperlink{kern__xxx_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\_\_FBSDID}}(\textcolor{stringliteral}{"{}\$FreeBSD\$"{}});}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00036}00036 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00037}00037 \textcolor{preprocessor}{\#include <sys/param.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00038}00038 \textcolor{preprocessor}{\#include <sys/systm.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00039}00039 \textcolor{preprocessor}{\#include <sys/sysproto.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00040}00040 \textcolor{preprocessor}{\#include <sys/kernel.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00041}00041 \textcolor{preprocessor}{\#include <sys/priv.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00042}00042 \textcolor{preprocessor}{\#include <sys/proc.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00043}00043 \textcolor{preprocessor}{\#include <sys/lock.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00044}00044 \textcolor{preprocessor}{\#include <sys/mutex.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00045}00045 \textcolor{preprocessor}{\#include <sys/socket.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00046}00046 \textcolor{preprocessor}{\#include <sys/sysctl.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00047}00047 \textcolor{preprocessor}{\#include <sys/utsname.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00049}00049 \textcolor{preprocessor}{\#include <vm/vm\_param.h>}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00050}00050 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00051}00051 \textcolor{preprocessor}{\#if defined(COMPAT\_43)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00052}00052 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00053}00053 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00054}00054 ogethostname(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} ogethostname\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00055}00055 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00056}00056         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00057}00057         \textcolor{keywordtype}{size\_t} len = uap-\/>len;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00058}00058 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00059}00059         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00060}00060         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_HOSTNAME;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00061}00061         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>hostname, \&len,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00062}00062             1, 0, 0, 0, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00063}00063 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00065}00065 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00066}00066 osethostname(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} osethostname\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00067}00067 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00068}00068         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00069}00069 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00070}00070         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00071}00071         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_HOSTNAME;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00072}00072         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, 0, 0, 0, uap-\/>hostname,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00073}00073             uap-\/>len, 0, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00074}00074 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00075}00075 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00076}00076 \textcolor{preprocessor}{\#ifndef \_SYS\_SYSPROTO\_H\_}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00077}00077 \textcolor{keyword}{struct }ogethostid\_args \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00078}00078         \textcolor{keywordtype}{int}     \mbox{\hyperlink{uipc__sockbuf_8c_a7c1d654b7b6114d7a0abc8d351dd1bcd}{dummy}};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00079}00079 \};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00080}00080 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00081}00081 \textcolor{comment}{/* ARGSUSED */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00082}00082 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00083}00083 ogethostid(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} ogethostid\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00084}00084 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00085}00085         \textcolor{keywordtype}{size\_t} len = \textcolor{keyword}{sizeof}(long);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00086}00086         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00087}00087 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00088}00088         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00089}00089         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_HOSTID;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00090}00090         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a83db91cc78ae075cd5a1c7da9a69a169}{kernel\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, (\textcolor{keywordtype}{long} *)td-\/>td\_retval, \&len,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00091}00091             NULL, 0, NULL, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00092}00092 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00093}00093 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00094}00094 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00095}00095 osethostid(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} osethostid\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00096}00096 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00097}00097         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00098}00098 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00099}00099         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00100}00100         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_HOSTID;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00101}00101         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a83db91cc78ae075cd5a1c7da9a69a169}{kernel\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, NULL, NULL, \&uap-\/>hostid,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00102}00102             \textcolor{keyword}{sizeof}(uap-\/>hostid), NULL, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00103}00103 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00104}00104 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00105}00105 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00106}00106 oquota(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} oquota\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00107}00107 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00109}00109         \textcolor{keywordflow}{return} (ENOSYS);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00110}00110 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00111}00111 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00112}00112 \textcolor{preprocessor}{\#define KINFO\_PROC              (0<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00113}00113 \textcolor{preprocessor}{\#define KINFO\_RT                (1<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00114}00114 \textcolor{preprocessor}{\#define KINFO\_VNODE             (2<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00115}00115 \textcolor{preprocessor}{\#define KINFO\_FILE              (3<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00116}00116 \textcolor{preprocessor}{\#define KINFO\_METER             (4<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00117}00117 \textcolor{preprocessor}{\#define KINFO\_LOADAVG           (5<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00118}00118 \textcolor{preprocessor}{\#define KINFO\_CLOCKRATE         (6<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00119}00119 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00120}00120 \textcolor{comment}{/* Non-\/standard BSDI extension -\/ only present on their 4.3 net-\/2 releases */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00121}00121 \textcolor{preprocessor}{\#define KINFO\_BSDI\_SYSINFO      (101<<8)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00122}00122 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00123}00123 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00124}00124 \textcolor{comment}{ * XXX this is bloat, but I hope it's better here than on the potentially}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00125}00125 \textcolor{comment}{ * limited kernel stack...  -\/Peter}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00126}00126 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00127}00127 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00128}00128 \textcolor{keyword}{static} \textcolor{keyword}{struct }\{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00129}00129         \textcolor{keywordtype}{int}     bsdi\_machine;           \textcolor{comment}{/* "{}i386"{} on BSD/386 */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00130}00130 \textcolor{comment}{/*      \string^\string^\string^ this is an offset to the string, relative to the struct start */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00131}00131         \textcolor{keywordtype}{char}    *pad0;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00132}00132         \textcolor{keywordtype}{long}    pad1;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00133}00133         \textcolor{keywordtype}{long}    pad2;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00134}00134         \textcolor{keywordtype}{long}    pad3;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00135}00135         u\_long  pad4;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00136}00136         u\_long  pad5;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00137}00137         u\_long  pad6;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00139}00139         \textcolor{keywordtype}{int}     bsdi\_ostype;            \textcolor{comment}{/* "{}BSD/386"{} on BSD/386 */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00140}00140         \textcolor{keywordtype}{int}     bsdi\_osrelease;         \textcolor{comment}{/* "{}1.1"{} on BSD/386 */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00141}00141         \textcolor{keywordtype}{long}    pad7;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00142}00142         \textcolor{keywordtype}{long}    pad8;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00143}00143         \textcolor{keywordtype}{char}    *pad9;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00144}00144 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00145}00145         \textcolor{keywordtype}{long}    pad10;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00146}00146         \textcolor{keywordtype}{long}    pad11;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00147}00147         \textcolor{keywordtype}{int}     pad12;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00148}00148         \textcolor{keywordtype}{long}    pad13;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00149}00149         quad\_t  pad14;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00150}00150         \textcolor{keywordtype}{long}    pad15;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00151}00151 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00152}00152         \textcolor{keyword}{struct  }timeval pad16;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00153}00153         \textcolor{comment}{/* we dont set this, because BSDI's uname used gethostname() instead */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00154}00154         \textcolor{keywordtype}{int}     bsdi\_hostname;          \textcolor{comment}{/* hostname on BSD/386 */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00155}00155 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00156}00156         \textcolor{comment}{/* the actual string data is appended here */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00157}00157 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00158}00158 \} bsdi\_si;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00159}00159 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00160}00160 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00161}00161 \textcolor{comment}{ * this data is appended to the end of the bsdi\_si structure during copyout.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00162}00162 \textcolor{comment}{ * The "{}char *"{} offsets are relative to the base of the bsdi\_si struct.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00163}00163 \textcolor{comment}{ * This contains "{}FreeBSD\(\backslash\)02.0-\/BUILT-\/nnnnnn\(\backslash\)0i386\(\backslash\)0"{}, and these strings}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00164}00164 \textcolor{comment}{ * should not exceed the length of the buffer here... (or else!! :-\/)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00165}00165 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00166}00166 \textcolor{keyword}{static} \textcolor{keywordtype}{char} bsdi\_strings[80];   \textcolor{comment}{/* It had better be less than this! */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00167}00167 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00168}00168 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00169}00169 ogetkerninfo(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} ogetkerninfo\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00170}00170 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00171}00171         \textcolor{keywordtype}{int} error, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[6];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00172}00172         \textcolor{keywordtype}{size\_t} size;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00173}00173         u\_int needed = 0;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00174}00174 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00175}00175         \textcolor{keywordflow}{switch} (uap-\/>op \& 0xff00) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00176}00176         \textcolor{keywordflow}{case} KINFO\_RT:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00177}00177                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_NET;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00178}00178                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = PF\_ROUTE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00179}00179                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2] = 0;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00180}00180                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[3] = (uap-\/>op \& 0xff0000) >> 16;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00181}00181                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[4] = uap-\/>op \& 0xff;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00182}00182                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[5] = uap-\/>arg;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00183}00183                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 6, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00184}00184                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00185}00185                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00186}00186 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00187}00187         \textcolor{keywordflow}{case} KINFO\_VNODE:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00188}00188                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00189}00189                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_VNODE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00190}00190                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00191}00191                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00192}00192                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00193}00193 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00194}00194         \textcolor{keywordflow}{case} KINFO\_PROC:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00195}00195                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00196}00196                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_PROC;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00197}00197                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2] = uap-\/>op \& 0xff;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00198}00198                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[3] = uap-\/>arg;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00199}00199                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 4, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00200}00200                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00201}00201                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00202}00202 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00203}00203         \textcolor{keywordflow}{case} KINFO\_FILE:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00204}00204                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00205}00205                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_FILE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00206}00206                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00207}00207                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00208}00208                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00209}00209 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00210}00210         \textcolor{keywordflow}{case} KINFO\_METER:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00211}00211                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_VM;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00212}00212                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = VM\_TOTAL;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00213}00213                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00214}00214                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00215}00215                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00216}00216 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00217}00217         \textcolor{keywordflow}{case} KINFO\_LOADAVG:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00218}00218                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_VM;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00219}00219                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = VM\_LOADAVG;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00220}00220                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00221}00221                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00222}00222                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00223}00223 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00224}00224         \textcolor{keywordflow}{case} KINFO\_CLOCKRATE:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00225}00225                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00226}00226                 \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_CLOCKRATE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00227}00227                 error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>where, uap-\/>size,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00228}00228                         0, 0, 0, \&size, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00229}00229                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00230}00230 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00231}00231         \textcolor{keywordflow}{case} KINFO\_BSDI\_SYSINFO: \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00232}00232                 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00233}00233 \textcolor{comment}{                 * this is pretty crude, but it's just enough for uname()}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00234}00234 \textcolor{comment}{                 * from BSDI's 1.x libc to work.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00235}00235 \textcolor{comment}{                 *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00236}00236 \textcolor{comment}{                 * *size gives the size of the buffer before the call, and}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00237}00237 \textcolor{comment}{                 * the amount of data copied after a successful call.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00238}00238 \textcolor{comment}{                 * If successful, the return value is the amount of data}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00239}00239 \textcolor{comment}{                 * available, which can be larger than *size.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00240}00240 \textcolor{comment}{                 *}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00241}00241 \textcolor{comment}{                 * BSDI's 2.x product apparently fails with ENOMEM if *size}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00242}00242 \textcolor{comment}{                 * is too small.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00243}00243 \textcolor{comment}{                 */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00244}00244 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00245}00245                 u\_int left;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00246}00246                 \textcolor{keywordtype}{char} *s;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00247}00247 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00248}00248                 bzero((\textcolor{keywordtype}{char} *)\&bsdi\_si, \textcolor{keyword}{sizeof}(bsdi\_si));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00249}00249                 bzero(bsdi\_strings, \textcolor{keyword}{sizeof}(bsdi\_strings));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00250}00250 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00251}00251                 s = bsdi\_strings;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00252}00252 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00253}00253                 bsdi\_si.bsdi\_ostype = (s -\/ bsdi\_strings) + \textcolor{keyword}{sizeof}(bsdi\_si);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00254}00254                 strcpy(s, ostype);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00255}00255                 s += strlen(s) + 1;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00256}00256 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00257}00257                 bsdi\_si.bsdi\_osrelease = (s -\/ bsdi\_strings) + \textcolor{keyword}{sizeof}(bsdi\_si);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00258}00258                 strcpy(s, osrelease);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00259}00259                 s += strlen(s) + 1;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00260}00260 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00261}00261                 bsdi\_si.bsdi\_machine = (s -\/ bsdi\_strings) + \textcolor{keyword}{sizeof}(bsdi\_si);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00262}00262                 strcpy(s, machine);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00263}00263                 s += strlen(s) + 1;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00264}00264 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00265}00265                 needed = \textcolor{keyword}{sizeof}(bsdi\_si) + (s -\/ bsdi\_strings);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00266}00266 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00267}00267                 \textcolor{keywordflow}{if} ((uap-\/>where == NULL) || (uap-\/>size == NULL)) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00268}00268                         \textcolor{comment}{/* process is asking how much buffer to supply.. */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00269}00269                         size = needed;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00270}00270                         error = 0;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00271}00271                         \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00272}00272                 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00273}00273 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00274}00274                 \textcolor{keywordflow}{if} ((error = copyin(uap-\/>size, \&size, \textcolor{keyword}{sizeof}(size))) != 0)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00275}00275                         \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00276}00276 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00277}00277                 \textcolor{comment}{/* if too much buffer supplied, trim it down */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00278}00278                 \textcolor{keywordflow}{if} (size > needed)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00279}00279                         size = needed;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00280}00280 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00281}00281                 \textcolor{comment}{/* how much of the buffer is remaining */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00282}00282                 left = size;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00283}00283 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00284}00284                 \textcolor{keywordflow}{if} ((error = copyout((\textcolor{keywordtype}{char} *)\&bsdi\_si, uap-\/>where, left)) != 0)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00285}00285                         \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00286}00286 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00287}00287                 \textcolor{comment}{/* is there any point in continuing? */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00288}00288                 \textcolor{keywordflow}{if} (left > \textcolor{keyword}{sizeof}(bsdi\_si)) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00289}00289                         left -\/= \textcolor{keyword}{sizeof}(bsdi\_si);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00290}00290                         error = copyout(\&bsdi\_strings,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00291}00291                                         uap-\/>where + \textcolor{keyword}{sizeof}(bsdi\_si), left);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00292}00292                 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00293}00293                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00294}00294         \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00295}00295 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00296}00296         \textcolor{keywordflow}{default}:}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00297}00297                 error = EOPNOTSUPP;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00298}00298                 \textcolor{keywordflow}{break};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00299}00299         \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00300}00300         \textcolor{keywordflow}{if} (error == 0) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00301}00301                 td-\/>td\_retval[0] = needed ? needed : size;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00302}00302                 \textcolor{keywordflow}{if} (uap-\/>size) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00303}00303                         error = copyout(\&size, uap-\/>size, \textcolor{keyword}{sizeof}(size));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00304}00304                 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00305}00305         \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00306}00306         \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00307}00307 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00308}00308 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* COMPAT\_43 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00309}00309 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00310}00310 \textcolor{preprocessor}{\#ifdef COMPAT\_FREEBSD4}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00311}00311 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00312}00312 \textcolor{comment}{ * This is the FreeBSD-\/1.1 compatible uname(2) interface.  These days it is}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00313}00313 \textcolor{comment}{ * done in libc as a wrapper around a bunch of sysctl's.  This must maintain}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00314}00314 \textcolor{comment}{ * the old 1.1 binary ABI.}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00315}00315 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00316}00316 \textcolor{preprocessor}{\#if SYS\_NMLN != 32}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00317}00317 \textcolor{preprocessor}{\#error "{}FreeBSD-\/1.1 uname syscall has been broken"{}}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00318}00318 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00319}00319 \textcolor{preprocessor}{\#ifndef \_SYS\_SYSPROTO\_H\_}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00320}00320 \textcolor{keyword}{struct }uname\_args \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00321}00321         \textcolor{keyword}{struct }utsname  *\mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00322}00322 \};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00323}00323 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00324}00324 \textcolor{comment}{/* ARGSUSED */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00325}00325 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00326}00326 freebsd4\_uname(\textcolor{keyword}{struct} thread *td, \textcolor{keyword}{struct} freebsd4\_uname\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00327}00327 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00328}00328         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2], error;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00329}00329         \textcolor{keywordtype}{size\_t} len;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00330}00330         \textcolor{keywordtype}{char} *s, *us;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00331}00331 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00332}00332         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00333}00333         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_OSTYPE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00334}00334         len = \textcolor{keyword}{sizeof} (uap-\/>name-\/>sysname);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00335}00335         error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>name-\/>sysname, \&len, }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00336}00336                 1, 0, 0, 0, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00337}00337         \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00338}00338                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00339}00339         subyte( uap-\/>name-\/>sysname + \textcolor{keyword}{sizeof}(uap-\/>name-\/>sysname) -\/ 1, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00340}00340 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00341}00341         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_HOSTNAME;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00342}00342         len = \textcolor{keyword}{sizeof} uap-\/>name-\/>nodename;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00343}00343         error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>name-\/>nodename, \&len, }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00344}00344                 1, 0, 0, 0, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00345}00345         \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00346}00346                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00347}00347         subyte( uap-\/>name-\/>nodename + \textcolor{keyword}{sizeof}(uap-\/>name-\/>nodename) -\/ 1, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00348}00348 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00349}00349         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_OSRELEASE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00350}00350         len = \textcolor{keyword}{sizeof} uap-\/>name-\/>release;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00351}00351         error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>name-\/>release, \&len, }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00352}00352                 1, 0, 0, 0, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00353}00353         \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00354}00354                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00355}00355         subyte( uap-\/>name-\/>release + \textcolor{keyword}{sizeof}(uap-\/>name-\/>release) -\/ 1, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00356}00356 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00357}00357 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00358}00358 \textcolor{comment}{        name = KERN\_VERSION;}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00359}00359 \textcolor{comment}{        len = sizeof uap-\/>name-\/>version;}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00360}00360 \textcolor{comment}{        error = userland\_sysctl(td, name, 2, uap-\/>name-\/>version, \&len, }}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00361}00361 \textcolor{comment}{                1, 0, 0, 0, 0);}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00362}00362 \textcolor{comment}{        if (error)}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00363}00363 \textcolor{comment}{                return (error);}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00364}00364 \textcolor{comment}{        subyte( uap-\/>name-\/>version + sizeof(uap-\/>name-\/>version) -\/ 1, 0);}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00365}00365 \textcolor{comment}{*/}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00366}00366 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00367}00367 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00368}00368 \textcolor{comment}{ * this stupid hackery to make the version field look like FreeBSD 1.1}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00369}00369 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00370}00370         \textcolor{keywordflow}{for}(s = version; *s \&\& *s != \textcolor{charliteral}{'\#'}; s++);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00371}00371 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00372}00372         \textcolor{keywordflow}{for}(us = uap-\/>name-\/>version; *s \&\& *s != \textcolor{charliteral}{':'}; s++) \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00373}00373                 error = subyte( us++, *s);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00374}00374                 \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00375}00375                         \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00376}00376         \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00377}00377         error = subyte( us++, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00378}00378         \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00379}00379                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00380}00380 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00381}00381         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_HW;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00382}00382         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = HW\_MACHINE;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00383}00383         len = \textcolor{keyword}{sizeof} uap-\/>name-\/>machine;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00384}00384         error = \mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>name-\/>machine, \&len, }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00385}00385                 1, 0, 0, 0, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00386}00386         \textcolor{keywordflow}{if} (error)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00387}00387                 \textcolor{keywordflow}{return} (error);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00388}00388         subyte( uap-\/>name-\/>machine + \textcolor{keyword}{sizeof}(uap-\/>name-\/>machine) -\/ 1, 0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00389}00389         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00390}00390 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00391}00391 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00392}00392 \textcolor{preprocessor}{\#ifndef \_SYS\_SYSPROTO\_H\_}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00393}00393 \textcolor{keyword}{struct }getdomainname\_args \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00394}00394         \textcolor{keywordtype}{char}    *domainname;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00395}00395         \textcolor{keywordtype}{int}     len;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00396}00396 \};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00397}00397 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00398}00398 \textcolor{comment}{/* ARGSUSED */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00399}00399 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00400}00400 freebsd4\_getdomainname(\textcolor{keyword}{struct} thread *td,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00401}00401     \textcolor{keyword}{struct} freebsd4\_getdomainname\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00402}00402 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00403}00403         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00404}00404         \textcolor{keywordtype}{size\_t} len = uap-\/>len;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00405}00405 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00406}00406         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00407}00407         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_NISDOMAINNAME;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00408}00408         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, uap-\/>domainname, \&len,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00409}00409             1, 0, 0, 0, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00410}00410 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00411}00411 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00412}00412 \textcolor{preprocessor}{\#ifndef \_SYS\_SYSPROTO\_H\_}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00413}00413 \textcolor{keyword}{struct }setdomainname\_args \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00414}00414         \textcolor{keywordtype}{char}    *domainname;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00415}00415         \textcolor{keywordtype}{int}     len;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00416}00416 \};}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00417}00417 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00418}00418 \textcolor{comment}{/* ARGSUSED */}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00419}00419 \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00420}00420 freebsd4\_setdomainname(\textcolor{keyword}{struct} thread *td,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00421}00421     \textcolor{keyword}{struct} freebsd4\_setdomainname\_args *uap)}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00422}00422 \{}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00423}00423         \textcolor{keywordtype}{int} \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[2];}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00424}00424 }
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00425}00425         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[0] = CTL\_KERN;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00426}00426         \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}[1] = KERN\_NISDOMAINNAME;}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00427}00427         \textcolor{keywordflow}{return} (\mbox{\hyperlink{kern__sysctl_8c_a097365894f5a81f83e9a1f191fd2590a}{userland\_sysctl}}(td, \mbox{\hyperlink{group__failpoint__private_gafcd1706c9144e6d6eee6127661ae3be2}{name}}, 2, 0, 0, 0, uap-\/>domainname,}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00428}00428             uap-\/>len, 0, 0));}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00429}00429 \}}
\DoxyCodeLine{\Hypertarget{kern__xxx_8c_source_l00430}00430 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* COMPAT\_FREEBSD4 */}\textcolor{preprocessor}{}}

\end{DoxyCode}
