| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Treat failure to KREAD teh pcredd or ucreds to be errors insteading of
continuing with bogus data.
ok deraadt@ millert@
|
|
|
|
| |
and don't act like an unknown vnode type is "ok"
|
|
|
|
| |
ok guenther millert
|
|
|
|
|
|
|
|
|
|
| |
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
and KERN_FILE2 to KERN_FILE.
ok deraadt@, millert@
ports scan sthen@
|
|
|
|
| |
ok miod
|
|
|
|
| |
From: Jan Stary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
members to 64bit types. Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments. Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
|
|
|
|
| |
pointed out by Dominique Laigle (dlaigle (at) gmail.com)
|
| |
|
|
|
|
|
| |
know it from the machine.
ok miod
|
| |
|
| |
|
|
|
|
|
| |
any kernel addresses information.
ok guenther
|
|
|
|
| |
ok deraadt@ pirofti@ kettenis@
|
|
|
|
| |
ok guenther millert kettenis
|
| |
|
| |
|
|
|
|
| |
ok guenther@
|
|
|
|
|
|
|
| |
because param.h will get a kick in the head sometime in the future.
One day, maybe both can become invisible, but we boot one of them
first.
ok guenter
|
|
|
|
| |
rthreads fix. Update to the correct one.
|
|
|
|
|
|
|
|
|
| |
at the top of closef() until all in-progress calls finish, just do the
advisory locking bits required of close() by POSIX and let whichever
thread has the last reference do the call to the file's fo_close()
method and the final cleanup.
lots of discussion with deraadt@ and others; worked out with and ok krw@
|
|
|
|
|
|
|
|
| |
fd_ofiles and fd_ofileflags, reading in the separate allocation
when necessary. Lets fstat -p and fstat -u work on kernel crash
dumps again.
ok millert@
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread information.
Add a KERN_PROC_SHOW_THREADS flag that has to be set in order to get the
thread info and make it off by default. This creates backwards compatibility
for applications that relied on a given size/number of items to be returned.
Modify ps(1) and top(1) accordingly.
Okay guenther@.
|
|
|
|
| |
dumps
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This expands the already bloated FILL_KPROC macro to take an extra
parameter that indicates if the callee is a thread or a process.
The userland bits are adjusted accordingly and ps(1) and top(1) now
display per thread usage times when -H is used.
Also pkill(1) had to be adjusted so that duplicates don't pop up.
libkvm does basically the same thing as the kernel bits.
Okay guenther@.
|
|
|
|
| |
Due to the struct size of vm_map_entry having grown by sizeof(vsize_t).
|
|
|
|
|
|
| |
read byte count instead of the written byte count.
pointed out by paulm at tetrardus.net, ok dcoppa@
|
|
|
|
|
|
|
| |
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
| |
|
| |
|
| |
|
|
|
|
| |
Allows memory walks to function.
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
Missed commit pointed out by mikeb@
|
|
|
|
|
|
| |
once in SEE ALSO; also prefer Xr to Fn where relevant;
diff started by Martin Pelikan
|
| |
|
|
|
|
|
|
|
|
| |
problem has been tracked down. This fixes the sharing of the signal
handling state: shared bits go in sigacts, per-rthread bits goes in
struct proc.
ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vmmap is designed to perform address space randomized allocations,
without letting fragmentation of the address space go through the roof.
Some highlights:
- kernel address space randomization
- proper implementation of guardpages
- roughly 10% system time reduction during kernel build
Tested by alot of people on tech@ and developers.
Theo's machines are still happy.
|
|
|
|
|
|
| |
until they're zombies and then send them signals (for intr mounts). Until
that is untangled, the sigacts change is unsafe. sthen@ was the victim
for this one
|
|
|
|
|
|
| |
to handle that with the sigacts change.
problem observed and diagnosed by claudio@ and kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
| |
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves
to struct sigacts, wihle stuff that should be per rthread (ps_oldmask,
SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping
state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread
until our locking around coredumping is better.
Oh, and remove the old SunOS-compat ps_usertramp member.
"I like the sound of this" tedu@
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
|
|
|
|
| |
revert that part of yesterday's diffs;
|