summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2012-01-15Document what remains of the 2BSD heritage.Ingo Schwarze
All facts found on the CSRG CD 1 in the 2bsd directory. Feedback and ok jmc@, ok sobrado@. Note the large number of 3BSD -> 2BSD changes. Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and added lots of historical information around that time) what happened in this respect, and she answered that she often wrote "appeared in 3BSD" when she was unsure of when a utility was added. Thanks to Kirk and Cynthia for that clarification.
2012-01-07Add rtable id and thread id to struct kinfo_proc (and fix process id)Philip Guenthe
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@
2011-12-29Suppress the header line if all the field headers have been set to empty.Philip Guenthe
ok millert@
2011-12-16-H is an extension to posix;Jason McIntyre
2011-12-11Make ps understand -o cwd using the new KERN_PROC_CWD sysctl. Some helpNicholas Marriott
and suggestions from guenther. ok guenther
2011-11-06union wait is dead, ancient history; stop using itPhilip Guenthe
ok deraadt@
2011-10-18Bump intercept_get_string() internal buffer to allow strings up toMatthew Dempsky
ARG_MAX long, so that ic_trargv can execute reliably. Thanks to Olivier Cherrier for reporting and helping to diagnose the problem. ok deraadt@
2011-10-18Support K and M as well as k and m for sizes. From Thomas Pfaff.Nicholas Marriott
ok millert jmc
2011-10-13Remove support for systems that lack CPUs. (i.e., stop looking upPhilip Guenthe
HW_NCPU when the only test was whether it's non-zero) ok millert@
2011-10-11gc unused var; from Michael W. BombardieriOtto Moerbeek
2011-10-03list the fields in the default display in the order of display;Jason McIntyre
from Alexander Best
2011-09-25Restore correct display of the 'V' flag on the parent in vfork()Philip Guenthe
2011-09-25Add -H option to show rthreads, hiding them by defaultPhilip Guenthe
Diff from uwe@
2011-09-18Add support for *at(2) system calls to systrace(1).Matthew Dempsky
ok deraadt@, sthen@, jasper@
2011-09-07beter determination if the shell is restricted; from Alf Schlichting.Otto Moerbeek
ok jasper@ millert@
2011-09-05Fix hang in emacs mode. To reproduce the hang go like: "^[16000l" whichMarco Peereboom
would insert 16000 letter l'. Going over the line limit makes no sense so limit it's repetition and prevent the hang in the process. ok guenther
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-08-31use the same format/text, as far as possible, for date strings;Jason McIntyre
help/ok guenther millert
2011-08-19as with other list types, column lists generally do not need a Pp/-compactJason McIntyre
construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
2011-07-26Document system calls that optionally traverse symlinks.Matthew Dempsky
2011-07-13ellipsis is not an optional argument; replace ".Ar file ..." -> ".Ar";Igor Sobrado
simplify the symbolic modes format. ok (and fine-tuned by) jmc@, millert@
2011-07-09Move test(1) test into regress.Nicholas Marriott
ok deraadt
2011-07-08extern.h no longer neededTheo de Raadt
2011-07-08remove a closing (unmatched) Re, missed in previous;Jason McIntyre
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
switched a while back. ok miod, kettenis
2011-07-06Remove mention of P_BIGLOCK.Artur Grabowski
2011-07-05fix memset sizeof, found by jsg. ok krwTed Unangst
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
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@
2011-07-04remove compat_svr4Ted Unangst
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-06-23set set*id bits only if the target did not exist and -p was not used;Otto Moerbeek
from netbsd, prompted by Jesus Sanchez. ok miller@
2011-06-16fix error in previous;Jason McIntyre
2011-06-15consistently specify that -f and -i override previous options in eachTed Unangst
option's description. jmc points out this works better than deferring such information to a post-options sentence.
2011-06-15the last of -f or -i is the lucky winner. problem noticed by jan stary.Ted Unangst
text copied from mv, as noticed by otto.
2011-06-06zap unneeded test; from pablo caballero; ok nicm@Otto Moerbeek
2011-05-30typo; Alexander PolakovMartynas Venckus
2011-05-26fix one signal race bug, and mark the others that remain much moreTheo de Raadt
specifically ok nicm
2011-05-05Oops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed outKenneth R Westerback
by miod@.
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre
2011-04-29remove dead Xrs to update.8;Jason McIntyre
2011-04-24No point in attempting to open the 'c' partition on devices that haveKenneth R Westerback
no 'c' partition. So don't call opendev(3) with OPENDEV_PART. ok deraadt@
2011-04-23improve line breaking in SYNOPSIS now that semantics of the .Bk macroIgor Sobrado
has changed to conform with modern groff releases. diff for route6d(8) written mostly by schwarze@, with lots of useful advice from jmc@. ok jmc@, schwarze@
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
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
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
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@
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
that we've got name we want for the API we want "ZAP!" deraadt@
2011-04-05Remove FREEBSD_COMPAT bits and obsolete RTHREAD definePhilip Guenthe
2011-04-03Update the description of the 'flags' keyword, including the known values,Philip Guenthe
aligning the table for easier reading. ok ariane@, millert@, deraadt@
2011-03-15fix uninitialized variable warnings (lifted from mksh).Okan Demirmen
noticed by and ok kevlo@
2011-03-14remove unused SILLY game of life.Okan Demirmen
no binary change. sure @deraadt
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
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