Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-22 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2012-09-10 | fake a sigwinch after each job, so if the terminal changes size, | Ted Unangst | |
we'll notice and update | |||
2012-09-06 | Avoid modifying argv when building argv for $* and $@ since it will | Todd C. Miller | |
affect ps output. This can happen when command line options are specified, e.g. "sh -c command". Based on a diff from espie@ OK espie@ | |||
2012-09-05 | backout, Todd's version may be cleaner, but it's also wrong. | Marc Espie | |
2012-09-05 | sh -c should not munge argv[]. | Marc Espie | |
This fixes ps -ww output. joint work by millert@ and me@. okay otto@, deraadt@ "feel free to commit my version" millert@ | |||
2012-09-05 | overwrite with random stream; a repeating chunk of random data isn't | Christian Weisgerber | |
random at all ok tedu@ | |||
2012-09-05 | use "MS-DOS", for consistency with other docs; | Jason McIntyre | |
2012-09-04 | one random overwrite is sufficient, after some discussion on tech | Ted Unangst | |
2012-08-28 | Don't order file and dir creation, no measurable effect, ffs | Otto Moerbeek | |
allocation strategy has changed since a long time and added to that cp(1) should not try to be smart and guess things it shouldn't know. ok guenther@ krw@ | |||
2012-08-23 | Reopen the systrace file in the process that will actually attach to the | Philip Guenthe | |
target process(es), so that systrace files can be made unsharable. ok djm@ | |||
2012-08-15 | use Lk for links; | Jason McIntyre | |
2012-08-02 | Apply profiling to all threads instead of just the thread that called | Philip Guenthe | |
profil() by moving P_PROFIL from proc->p_flag to process->ps_flags with matching adjustment in fork1() and exit1() ok matthew@ | |||
2012-07-12 | Use S_ISFIFO and S_ISSOCK instead of lseek() to determine whether | Todd C. Miller | |
an fd is a socket, pipe or named pipe. OK deraadt@ matthew@ | |||
2012-07-12 | With the -l option, only call time() once per run instead of once per file | Philip Guenthe | |
ok deraadt@ | |||
2012-07-11 | When copying a file sparsely, truncate the resulting file based on the | Matthew Dempsky | |
current seek offset rather than what fstat() reported the original file's length was. This fixes things like "cp /dev/ksyms /tmp" so that we don't truncate the file to 0 bytes after copying all of the data. ok tedu, millert | |||
2012-07-10 | Accounting for page tables, USPACE, and whatever else... as part | Theo de Raadt | |
of the per-process %mem is not going to happen. In particular, we want USPACE to be removed from param.h | |||
2012-07-08 | The algorithm name is "SHA-256" as per FIPS 180-2 (-3). | Christian Weisgerber | |
2012-07-08 | Document ${var[@]} and ${var[*]} | Philip Guenthe | |
ok espie@ | |||
2012-06-27 | fptreef() always returns 0 and we never use the return value anyway, | Otto Moerbeek | |
so make it void; from Michael W. Bombardieri. | |||
2012-06-19 | for arithmetic expressions, note that: | Jason McIntyre | |
+A parameter that is NULL or unset evaluates to 0. original diff from robert peichaer this version from naddy | |||
2012-06-18 | s/empy/empty/ typo fix | Matthew Dempsky | |
thx Scott McEachern | |||
2012-06-18 | Polish the rm -rP turd: if the fts_* routines have lstat()'ed the | Philip Guenthe | |
directory entry then use the struct stat from that instead of doing it again, and skip the rm_overwrite() call if fts_read() indicated that the entry couldn't be a regular file. ok millert@ | |||
2012-06-18 | Fix potential symlink race condition in "rm -P" by adding a check | Todd C. Miller | |
that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential hang with FIFOs. Reported by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@ | |||
2012-06-10 | Correctly expand bindings containing macros. Fix a regression introduced | Martin Pieuchot | |
in the keybinding system rewrite, reported by Lars Engblom. | |||
2012-05-27 | domainname is read by rc, not netstart; from Chad Gross | Jason McIntyre | |
2012-05-13 | recommend sha256; from Lawrence Teo | Jason McIntyre | |
ok millert | |||
2012-04-30 | generalise ksh keybinding system - bindings are no longer limited in | Damien Miller | |
length and need not start with ESC or ^X; patch from marco@ feedback mpi@ | |||
2012-04-21 | Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag. | Philip Guenthe | |
This lets new binaries work (at least w/o the -H option) with old kernels. ok pirofti@ deraadt@ | |||
2012-04-19 | add newline to signal error messages; Thomas Pfaff | Theo de Raadt | |
2012-04-17 | Make it optional for kvm_getprocs() (and related sysctl) to return | Paul Irofti | |
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@. | |||
2012-04-12 | Add per thread accounting, mainly for usage & friends. | Paul Irofti | |
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@. | |||
2012-04-12 | Add maxrss keyword for the ru_maxrss value...which ariane@ is making work | Philip Guenthe | |
(missed commit pointed out by jmc@) | |||
2012-04-11 | Add maxrss keyword for the ru_maxrss value...which ariane@ is making work | Philip Guenthe | |
2012-04-11 | if we ever activate that, this may need fixing | Marc Espie | |
2012-04-04 | Add "tid" as a formatting keyword. If the -H option is specified, include | Joel Sing | |
the thread ID in the default format. ok deraadt@ sthen@ | |||
2012-03-04 | In preparation for getline and getdelim additions to libc, rename getline() | Federico G. Schwindt | |
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech. | |||
2012-03-02 | Fix handling of 'offend' (OFFset from the END of the arg list) | Matthew Dempsky | |
arguments in systrace(1). In intercept_translate(), argsize is actually the number of *bytes* taken up by the arguments, not the number of arguments. ok ajacoutot, sthen, dcoppa | |||
2012-02-26 | Fix several manpage titles, from Lawrence Teo. | Christiano F. Haesbaert | |
ok dcoppa@ jmc@ schwarze@. | |||
2012-02-19 | Allow for more vars in hash table, improve hash function, increase | Otto Moerbeek | |
hash table size sooner. Based on suggestion from Michael Niedermayer. ok krw@ mpi@ | |||
2012-02-02 | bound chaeck table expansion; problem seen by Michael Niedermayer; | Otto Moerbeek | |
ok deraadt@ kili@ | |||
2012-01-15 | Document 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-07 | Add 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-29 | Suppress 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-11 | Make ps understand -o cwd using the new KERN_PROC_CWD sysctl. Some help | Nicholas Marriott | |
and suggestions from guenther. ok guenther | |||
2011-11-06 | union wait is dead, ancient history; stop using it | Philip Guenthe | |
ok deraadt@ | |||
2011-10-18 | Bump intercept_get_string() internal buffer to allow strings up to | Matthew 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-18 | Support K and M as well as k and m for sizes. From Thomas Pfaff. | Nicholas Marriott | |
ok millert jmc | |||
2011-10-13 | Remove support for systems that lack CPUs. (i.e., stop looking up | Philip Guenthe | |
HW_NCPU when the only test was whether it's non-zero) ok millert@ | |||
2011-10-11 | gc unused var; from Michael W. Bombardieri | Otto Moerbeek | |