Age | Commit message (Collapse) | Author |
|
ok miod@
|
|
ok deraadt miod
|
|
libm. While at it, remove now unused workarounds for lint.
Agreed by kettenis@, guenther@, matthew@.
|
|
another symbol without weak attribute. To be used in libc and libm
soon. Agreed by kettenis@, guenther@, matthew@.
|
|
"looks good" deraadt@
|
|
|
|
|
|
|
|
to keep definitions our of user space. The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently. locore, bootblocks, and libkvm still see enough visibility to
build. Checked on 90% of platforms...
|
|
|
|
kgmon(8) to deal with them, this time without public header changes.
Previously various CPUs were iterating over the same global buffer at
the same time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok deraadt@, mikeb@, haesbaert@
|
|
at this moment.
|
|
various CPUs were iterating over the same global buffer at the same
time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok mikeb@, haesbaert@
|
|
affects a.out binaries' core dumps.
|
|
compatability -> compatibility
OK jmc@.
|
|
|
|
ok guenther millert kettenis
|
|
dynamically, by comparing the stack pointer against the altstack
base and size, so that you get the correct answer if you longjmp
out of the signal handler, as tested by regress/sys/kern/stackjmp/.
Also, fix alt stack handling on vax, where it was completely broken.
Testing and corrections by miod@, krw@, tobiasu@, pirofti@
|
|
them.
|
|
tweaks from/tested by/ok miod@
|
|
|
|
paths are reflexive. It is now possible to fail part-way through a
suspend sequence, and recover along the resume code path.
Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used
after hibernate (and suspend too) to finish the job. Some drivers
must be converted at the same time to use this instead of shutdown hooks
(the others will follow at a later time)
ok kettenis mlarkin
|
|
|
|
cleaned up later.
ok deraadt@
|
|
built with -fno-pie. This gets the hairiest part of PIE out of the way ...
ok deraadt@
|
|
|
|
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the
handling when copyin() of arguments fails.
Tested on i386, amd64, sparc64, and alpha (thanks naddy@)
Any issues with other platforms will be fixed in tree.
header name from millert@; ok miod@
|
|
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.
|
|
to a trap)' dance before invoking trapsignal(), which will mess with the pc
too. My bug initially, can't believe I never noticed; fixed first in NetBSD.
This makes libsqlite3 build.
|
|
from a fork syscall done by the parent. Use __tfork, not rfork
here to match the ktrace records for the parent (CALL __tfork,
RET __tfork). ok guenther
|
|
count processes instead of threads. New sysctl()s KERN_NTHREADS and
KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel
variables are replaced by nprocess, maxprocess, nthreads, and maxthread.
ok tedu@ mikeb@
|
|
ok deraadt@
|
|
from struct user. Nothing left to zero-out here so the line goes.
pointed out by deraaadt@
|
|
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
the right type, noone will ever fiddle with the internals.
discussed with jsing
|
|
|
|
fix DIOCGPDINFO ioctl behaviour in the process.
Tested in SIMH only due to the lack of MSCP disks, RX02 floppies untested
but shouldn't be affected by this diff.
|
|
|
|
|
|
discussed with jsing and millert
|
|
genassym script, instead of relying upon <sys/disklabel.h> to provide them
as proper .set statements if _LOCORE is defined.
Requested by weingart@ long ago; ok jsing@ krw@
|
|
- only handle a machine check as caused by badaddr() if the local `memtest'
variable is nonzero, instead of abusing `cold'. And be sure to clear
`memtest' upon returning from badaddr, of course.
- do not write to the MCESR register on microVAX II and SOC processors, as
this register is not implemented on those models.
- get rid of the `write the SBIFS and EHSR registers depending upon the
cpu model' chunk, since these only matter on true 11/780 and 86x0 models,
support for which has been removed recently.
|
|
detected upon failure to transmit if it is indeed lost), so that `ifconfig ze0'
reports the correct state of the link instead of always pretending it is up.
|
|
for this machine is good'ol'GPX.
|
|
- save the second byte of vax_siedata into a new variable, vax_cpustype,
and use it instead of (vax_siedata >> 8) & 0xff or other similar
constructs.
- the VAX_SIE_KAxxx constants are duplicates of the VAX_STYP_xx constants.
Standardize on the latter and kill the former.
- only keep VAX_VTYP_xx constants for KA46 and KA47, those are the only
systems which use these constants and are told apart by a different
SIE byte.
No functional change intended.
|
|
|
|
|
|
|
|
|