Age | Commit message (Collapse) | Author |
|
via the boot device. This allows root on softraid to work on most
architectures. For architectures that cannot clearly identify their boot
device, the DUID of the boot disk can still be passed from the boot loader,
as is already done for amd64 and i386.
Based on a suggestion from kettenis@
ok krw@
|
|
us to play some tricks in setroot().
|
|
No binary change.
ok mikeb@ deraadt@ guenther@
|
|
and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@ "Lovely" deraadt@
|
|
fix is to manipulate the name cache structures before
potentially sleeping on a vn_lock(). This avoids the race of
the ncp entry being recycled while we are asleep.
run in snaps and on ftp.openbsd.org for months
ok thib@
|
|
|
|
if we correctly read and validated the disklabel. Always check that this
flag is set before using the DUID from the disklabel.
Discussed with deraadt@
ok krw@
|
|
generate one.
ok krw@
|
|
struct process; KTRFAC_ACTIVE becomes P_INKTR. Also, save the credentials
used to open the file in sys_ktrace() and use them for all writes to the
vnode.
much feedback and ok jsing@
|
|
when exec succeeds.
ok jsing@
|
|
ok guenther deraadt
|
|
linux bits compiled on i386 by sebastia@, mikeb@ ok
|
|
when the macro can change without automatically fixing the comment.
instead add a diagnostic that checks that the biggest cluster size is
always MAXMCLBYTES.
requested by and ok kettenis@
|
|
cluster the generic network stack will be able to give you.
it also recognises that external storage on an mbuf may be bigger than
MCLBYTES. its only when m_pullup or m_pulldown need to allocate
another cluster that they now check the len argument, and now they
do it against MAXMCLBYTES.
this is required for me to do pfsync on jumbo frames as the m_pulldown
for the subregions fail beyond MCLBYTES into the packet.
ok deraadt@ mikeb@ henning@ blambert@
manpage changes ok jmc@
|
|
ok deraadt@ claudio@ blambert@ mikeb@
|
|
|
|
ok mlarkin
|
|
|
|
LLONG_MAX instead of SSIZE_MAX
ok deraadt@
|
|
ok mlarkin
|
|
internals. this fixes a panic i got where a network interrupt tried to use
the mbuf pools mutex while pool_reclaim_all already held it which lead
to the same cpu trying to lock that mutex twice.
ok deraadt@
|
|
copied area, and initialize it properly in the FORK_THREAD case.
This restores the behavior of a forked process inheriting its parent's
signal stack.
ok guenther@
|
|
RLE pages in hibernate.
ok deraadt@
|
|
not zero retval when returning an error, so don't copy it back to a
ktracer in this case.
dropped by R00T-DUDE in his "Unusual and Hilarious Vulnerabilities" talk
at Ruxcon 2011; ok guenther@ miod@
|
|
rle.
noticed by jasper
|
|
- panic strings already get printed with a '\n', so remove the extra ones
ok mlarkin@
|
|
being written to an output buffer
|
|
pages that are free
|
|
discussed with deraadt@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
|
|
ahci_hibernate_io, a skeleton of which is also provided in this diff.
This code is from deraadt@. Tested on a few wd machines to ensure it works
there as well.
|
|
groundwork for *_hibernate_io functions other than wd_hibernate_io
These changes were sent to me by deraadt@
|
|
suspend.
ok pirofti@
|
|
during hibernate resumes.
|
|
and use curp vs p instead of p1 vs p2. Add curpr and pr variables
for the respective struct processes. Make sigactsshare() return
the shared sigacts intead of taking the struct proc to update.
ok deraadt@
|
|
Detect attempts to wrap the file offset by reading past the max (except
for character devices).
ok matthew@, deraadt@
|
|
Pointed out by Alexander Polakov (polachok at gmail.com)
ok deraadt@
|
|
Discussed with deraadt@
|
|
during the big rework at c2k10, but it's too early as signals can be posted
before the process is fully built. Move those list adds back down to the
late stage they were before.
Problem seen on sebastia@'s sparc.
ok deraadt@ miod@
|
|
on them too
ok deraadt@, miod@
|
|
the IPC_RMID flag.
This is permitted as an extension beyond the standards and this is similar
to what other operating systems like linux do.
Because compat_linux(8) was emulating this already, remove that code
since now this is the default.
input from oga@, guenther@, jmc@, deraadt@
ok deraadt@
|
|
concurrency is possible in the future. discussed with guenther and
matthew. ok tedu
|
|
the new image
|
|
|
|
for pointing to the thread-control-block. Support for mapping this
to the correct hardware register can be added as it's finished;
start with support for amd64, sparc, and sparc64. Includes syscalls
for getting and setting it (for a portable __errno implementation) as
well as creating a new thread with an initial value for it.
discussed with miod@, kettenis@, deraadt@; committing to get the syscalls
in with the impending libc bump and do further refinements in tree
|
|
they apply.
ok oga@ deraadt@
|
|
which allows a correct registration of kqueue(2) notifications on
the /dev/tty instead of calling a function via a null pointer in
the ttkqfilter leading to a local DoS.
Surprisingly the same code is present in NetBSD since the kqueue
merge, but didn't make it to the OpenBSD for 10 years.
Thanks to Anton Yabchinskiy <arn-at-bestmx-dot-ru> for a GHCi crash
report and his willingness to test multiple diffs for over a week.
With input from nicm, ok miod, derraadt.
|
|
arent necessarily atomic.
this is an update of a diff matthew@ posted to tech@ over a year ago.
|
|
write to ph.
ok blambert@ matthew@ deraadt@
|