| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
no longer contains kernel specific data structures, but rather
only scalar values and structures that are already part of the
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
of unassigned space for future values to be added, yet is nearly
100 bytes smaller per entry than the structure that it replaced.
|
|
|
|
|
|
| |
current file(1) version (3.33)
Approved by: obrien
|
| |
|
|
|
|
| |
with warn().
|
|
|
|
| |
Add rcsid. fprintf -> warn.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
no-space=after-sizeof (not optional) and no-space-after 'struct foo *'
(not optional). Without these, indent unKNFizes even more perfectly KNF code."
Submitted by: bde
|
|
|
|
| |
Use _PATH_* where where possible.
|
| |
|
|
|
|
| |
generated files land. Also give precedence to generated files.
|
| |
|
|
|
|
|
| |
Modern compilers are smarter when it comes to allocating register
usage.
|
|
|
|
|
|
| |
rip out ClientData/Address pointers and use standard types.
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and numvnodes are longs in the kernel. They should remain longs in systat,
what really needs to change is that they should be using SYSCTL_LONG rather
than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I
happened to notice it.
I wish there was a way to find all of these automatically..
Pointed out by: bde
|
|
|
|
| |
Also #if out some sccsid's and add rcsid's.
|
|
|
|
|
|
| |
of NIL, NILLST, NILLGNODE, etc. with NULL.
Obtained from: OpenBSD
|
|
|
|
| |
die with an fpe on alpha because fscale wasn't properly initted
|
| |
|
|
|
|
| |
search paths are. So add the requirements of both. :-(
|
|
|
|
|
|
|
| |
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o In practice: the comment indicates that all but umask and
environmental variables of the users login class are applied when su
occurs, unless -m is used to specify a class. This was incorrect;
in practice, the uid, gids, resources, and priority were set, and
then resources and priority were selectively removed. This meant
that some aspects of the user context were not set, including handling
of login events (wtmp, utmp), as well as the path specified in
login.conf.
o I changed it so that the behavior is the same, but instead,
LOGIN_SETALL is used, and appropriate flags are removed, including
the LOGIN_SETLOGIN and LOGIN_SETPATH entries that were implicitly
not present before. I also updated the comment to reflect
reality, selecting reality as the "correct" behavior.
o This has the practical benefit that as new LOGIN_SET* flags are
introduced, they are supported by su unless specifically disabled.
For example, of a LOGIN_SETLABEL flag is introduced to support
MAC labels determined by the user's login class, then su no longer
has to be modified.
o It might be desirable to have su use LOGIN_SETPATH depending on
its command line parameters, as it might or might not be
considered part of the "environment".
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
user input (in its ever-broadening definition).
Obtained from: NetBSD
|
|
|
|
| |
to be, assume it was truncated.
|
|
|
|
| |
hardcoded screen width of 80 chars.
|
|
|
|
|
|
|
| |
differentiate mutex names from wait channel names, prefix mutex names with
an asterisk.
Submitted by: Dan Nelson <dnelson@emsphone.com>
|
|
|
|
| |
tutorial paper.
|
| |
|
| |
|
|
|
|
| |
against the reader.
|
|
|
|
| |
Implied by: bde
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: nra
Obtained from: NetBSD
|
|
|
|
|
|
| |
with each other.
Reviewed by: markm, dwmalone
|
|
|
|
| |
our modified one based on a much older version of the vendor's manpage.
|
|
|
|
|
| |
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers.
o Make the hw.ncpu error checking code a little more rigorous by
sanity checking the returned data size.
o Didn't fix machine-dependent non-sysctl-exported variables:
intrnames, eintrnames, intrcnt, eintrcnt, as these variables are
defined and exported from machine-dependent kernel code in
assembly. This should probably be fixed somehow.
|
|
|
|
| |
instead of using kmem.
|
|
|
|
| |
kmem.
|
|
|
|
| |
using kmem.
|
| |
|
|
|
|
| |
[rsh.c] Make usage message match the code.
|