Age | Commit message (Collapse) | Author |
|
by converting the entire line to __packed.
ok kettenis@
|
|
it might be needed later -- before calling pfind(), so that enterpgrp()
can operate without sleeping
ok tedu
|
|
|
|
- file descriptor table becomes the owner of the lock instead of the proc.
- When grabbing the lock, we check if the fd hasn't changed under our
feet, this is more or less impossible to solve without a hack like
this. I've banged my head against the wall, I figured out a solution,
but implementing it correctly would cost me 12 gray hairs. Screw it,
this is ugly, but it works.
- Wait until usecount drains before releasing the posix lock in closef.
- Add missing FREF/FRELE to sys_flock
- keep the pid in the flock struct instead of abusing the fact that we
used to use the proc as the lock owner.
Pointed out by and discussed with Al Viro, big thanks.
miod@ ok
|
|
try to release it before returning, okay fgsch@ and tedu@.
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
find their interpreter, as the linux ld.so name is unique and not likely to
be found in another /emul/foo hierarchy; allows Opera to run again. Noticed
by sturm@
|
|
also recognize modern Linux binaries without branding, but with a ``GNU''
ABI note.
|
|
socket, since some of them do that. ok deraadt@, henning@.
|
|
|
|
ok ratchov@, brad@ a while ago (except SETTRIGGER parts, which changed
recently in libossaudio)
|
|
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@
|
|
ok jsing@
|
|
|
|
returning EINVAL, you'll get ENOSYS. No serious code has used this system
call in at least fifteen years.
The libc stub will be removed at the next major crank time.
ok henning@ deraadt@ krw@ toby@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
decide which files must be pulled into the kernel. Also conditionalize
the pulling of those files based on the COMPAT_* options.
|
|
|
|
These are the latest ones needed to build a kernel (on amd64)
without the MALLOC/FREE definitions in src/sys/sys/malloc.h
ok krw@
|
|
ok krw@, ok pyr@
|
|
translate the errnos added over the last few releases.
|
|
|
|
|
|
uvm_extern.h where needed
|
|
help and ok miod@ thib@
|
|
version for i386
more architectures and ctob() replacement is being worked on
prodded by and ok miod
|
|
type of all variables to daddr64_t. this includes the APIs for XXsize()
and XXdump(), all range checks inside bio drivers, internal variables
for disklabel handling, and even uvm's swap offsets. re-read numerous
times by otto, miod, krw, thib to look for errors
|
|
|
|
to size. tested on almost all machines, double checked by miod and krw
next comes the type handling surrounding these values
|
|
fold sys_shmat1() back into sys_shmat(), instead add flag for shmget(2)
to specify that later shmat(2) for the shared memory segment should succeed
even if the segment would be marked removed; use this to implement the
Linux-compatible semantics of shmat(2)
this fixes current opera with shm
ok millert
|
|
|
|
|
|
discovered/ok beck
|
|
activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others
in the hackathon room.
|
|
|
|
started by claudio. ok deraadt millert
|
|
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.
Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.
kettenis@ ok
|
|
the problem with lost signals in MP kernels.
miod@, kettenis@ ok
|
|
effectively been a no-op for quite some time now,
without promise for future usage.
ok pedro@
Testing by krw@ (earlier diff)
and Johan Mson Lindman (tybollt@solace.miun.se)
|
|
|
|
check and translate options. from netbsd
ok deraadt, kettenis
|
|
have multiple bits set, which lead to surprising results. Spotted by
from Paul Stoeber, more to come. ok miod@
|
|
|
|
|
|
requested by and ok pedro
|