summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Sigh, today is not my day. Convert a verbose while() .. loop into a for()peter2000-08-271-4/+1
| | | | | | loop. Submitted by: billf
* *blush*. I was *sure* I compiled this after the last change..peter2000-08-271-1/+1
| | | | | | Add the missing ) Shamed by: billf
* killall.c is meant to be a superset replacement of killall.pl, thepeter2000-08-271-0/+372
| | | | | main difference is that it uses sysctl to get the process lists rather than /proc - thereby reducing the dependency on /proc by one more tool.
* Fix a premature freeing bug found with malloc debugging courtesy John Hay.green2000-08-261-1/+5
| | | | Submitted by: jhay
* Finger.conf first appeared in 4.2 (now that it's been MFCd)brian2000-08-251-1/+1
|
* Fix the -m option - broken by the last commit.brian2000-08-251-1/+1
| | | | Submitted by: Mark Knight <markk@knigma.org>
* Add a missing comma.sheldonh2000-08-251-1/+1
|
* Allow finger.conf to contain aliases for files that will be displayedbrian2000-08-256-21/+50
| | | | | | when fingered. Submitted by: Mark Knight <markk@knigma.org>
* Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so removepeter2000-08-241-1/+0
| | | | | it to try and get world building again. (sys/conf.h now depends on sys/types.h)
* Install Ukrainian message catalog.phantom2000-08-221-1/+2
|
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIgreen2000-08-221-14/+7
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* Fix a bug introduced by my own previous commit (addition of the currentsobomax2000-08-211-3/+18
| | | | | | | | | | | | line/column display). I overlooked that ee(1) doesn't maintain proper line numbering when adding/removing lines, so after those operations linenumber displayed may not match the reality. Also use proper variable for current column diaplay, because the one used previously reflects the offset of current char, which doesn't equial screen position when tabs present. Reviewed by: bp
* Replace the mbuf external reference counting code with somethingdwmalone2000-08-191-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that should be better. The old code counted references to mbuf clusters by using the offset of the cluster from the start of memory allocated for mbufs and clusters as an index into an array of chars, which did the reference counting. If the external storage was not a cluster then reference counting had to be done by the code using that external storage. NetBSD's system of linked lists of mbufs was cosidered, but Alfred felt it would have locking issues when the kernel was made more SMP friendly. The system implimented uses a pool of unions to track external storage. The union contains an int for counting the references and a pointer for forming a free list. The reference counts are incremented and decremented atomically and so should be SMP friendly. This system can track reference counts for any sort of external storage. Access to the reference counting stuff is now through macros defined in mbuf.h, so it should be easier to make changes to the system in the future. The possibility of storing the reference count in one of the referencing mbufs was considered, but was rejected 'cos it would often leave extra mbufs allocated. Storing the reference count in the cluster was also considered, but because the external storage may not be a cluster this isn't an option. The size of the pool of reference counters is available in the stats provided by "netstat -m". PR: 19866 Submitted by: Bosko Milekic <bmilekic@dsuper.net> Reviewed by: alfred (glanced at by others on -net)
* Remove gratuitous free() call when we use special .SHELL target.ru2000-08-181-5/+0
|
* Remove extraneous arguments to the Os (operating system) and Nmsheldonh2000-08-171-4/+4
| | | | | | | (name) macros. Do not terminate the cross-reference list in the SEE ALSO section with a period.
* Allow a /etc/finger.conf file that contains finger aliasesbrian2000-08-175-1/+162
| | | | | | | This allows people who's email address differs from their account name to be fingerable. Submitted by: Mark Knight <markk@knigma.org>
* Allow use of the ${MAKE_SHELL} variable to specify alternate shells forgreen2000-08-164-2/+39
| | | | | make(1) to use. Setting it to "sh" and "ksh" are the only values which work right ATM; I wouldn't expect "csh" to get you far ;)
* Remove unnecessary extern definition of strrchr. It is defined inimp2000-08-161-1/+0
| | | | string.h, which already was included.
* Add cross reference to the ast device.imp2000-08-161-1/+1
| | | | Remove reference to the now defunct wt device.
* Complete migration of aliases file to /etc/mail/aliases.gshapiro2000-08-132-2/+2
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
* Fixed world breakage for the NOSHARED=yes case. Libraries were added tobde2000-08-121-3/+3
| | | | | | | | | | | | LDFLAGS instead of to LDADD, so they ended up too early in the command line. Don't link to libcrypt. It is unused for static linkage and unnecessary and only apparently used for dynamic linkage (the dynamic libskey is linked to libcrypt to support the crypt parts of libskey which aren't used here). Fixed some disorder.
* While we're in here:sheldonh2000-08-111-22/+30
| | | | | | | | | | Remove extraneous arguments to the Nm macro. Mark up cross-references properly. Use proper block displays (Bd). Use proper mark-up for author names (An). Remove the bogus ARGUMENTS section. Raname EXAMPLE -> EXAMPLES. Spell ``S/Key'' consistently.
* Eliminate the only setuid perl script in the tree.imp2000-08-104-34/+65
| | | | | | | | | | | Original 'C' progam submitted by Juriy Goloveshkin. A different 'C' program also submitted by dima. I merged and rewrote them to include error handling, use getlogin for user name and only the BSD boilerplate license remained from the original code. We also only allow root to get other user's keys. Review, bikeshed and bdelint(1): myself, kris, dima, markm
* To make compilable without -DINET6.ume2000-08-072-0/+4
| | | | | PR: bin/20407 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
* Document the ``-'' option and minor re-wording in EXAMPLESmarko2000-08-051-2/+12
|
* Merge the truncate(1) utility onto the RELENG_4 branch and adjustsheldonh2000-08-041-1/+1
| | | | | the HISTORY section to reflect the first release of FreeBSD in which this utility will appear.
* Do not display icmp(4) sockets as non-existent bridge(4) sockets.ru2000-08-031-2/+2
|
* Unbreak world build by adding the necessary <net/ethernet.h> include.ru2000-08-021-0/+1
| | | | Submitted by: Nickolay Dudorov <nnd@wint.itfs.nsk.su>
* Make auto-generated ioctl.c to be always considered out of dateru2000-08-012-2/+2
| | | | | | since it could potentially depend on any ${DESTDIR}/usr/include preprocessor file. This fixes the broken -DNOCLEAN world build I experienced yesterday.
* Fix an off-by-nine error when building a list of includes.ru2000-08-011-1/+1
|
* Add current position (line, column) display.sobomax2000-07-311-6/+25
|
* Don't segv when trying to add a 0-length unit name.kris2000-07-311-21/+20
| | | | | | Some string-related cleanups inspired by OpenBSD. Reviewed by: asmodai
* Don't coredump on long input lines. If anyone actually cares, this shouldkris2000-07-311-1/+1
| | | | | | be fixed to actually process long lines instead of truncating them. Obtained from: OpenBSD
* Make passing unknown fstypes to -fstype result in a warning instead ofeivind2000-07-281-2/+16
| | | | | | an error. As it was, which find command lines that would work (be accepted at all) was dependent on the presently running kernel, making script writing and porting hard.
* Do include <unistd.h> for getopt interface.imp2000-07-281-2/+1
| | | | Don't extern it.
* Fix bug: "netstat -si" prints interface information, but the headerjdp2000-07-281-1/+1
| | | | | | | line is missing. This apparently was broken in revision 1.31 of "if.c". Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
* Let wall report the local timezone as well on output.asmodai2000-07-271-2/+2
| | | | | | PR: 17867 Submitted by: Joel Ray Holveck <joelh@gnu.org> Nagged by: nrahlstr
* Restore the old semantics of deleting the output file when interrupted.des2000-07-261-2/+4
| | | | Some people liked this and some didn't, so POLA won.
* Fix a bug introduced in rev 1.8, where special files ended upsheldonh2000-07-251-1/+2
| | | | | | being treated like regular files because of missing braces. PR: 20143
* Avoid the need to capitalize an extraneous argument to the Nm macrosheldonh2000-07-241-5/+8
| | | | | | and be more precise about the handling of command-line arguments. Reviewed by: ps
* Simplify some conditionals.sheldonh2000-07-241-12/+10
|
* Shut an optimizing compiler up about possibly (but never) unusedsheldonh2000-07-241-0/+2
| | | | | | variables. Submitted by: charnier
* Typos and spelling fixes.ps2000-07-242-6/+9
| | | | Submitted by: charnier
* Start enumerate option with `The following options are available' likecharnier2000-07-242-21/+19
| | | | | | | most of the utilities. .Nm prog -> .Nm Remove unused include Make use of getopt() instead of parsing params by hand.
* truncate.c:sheldonh2000-07-242-4/+13
| | | | | | | | | | | Do not include unused header files. Add rcsid. Change copyright. truncate.1: Add AUTHORS section. Submitted by: charnier
* Close file descriptors after use so as not to abuse the descriptorsheldonh2000-07-231-0/+2
| | | | | | table when a long argument list is given. :-) Reported by: Sven Agnew <afterhours80@hotmail.com>
* Revert to 1.8. I misread the sentence and its context.chris2000-07-211-2/+1
|
* Properly document %.0f behavior.chris2000-07-211-1/+2
|
* Don't print summary in quiet mode.des2000-07-211-0/+3
|
* Add a STANDARDS section to discourage the use of this utilitysheldonh2000-07-211-0/+4
| | | | in environments where portability is a concern.
OpenPOWER on IntegriCloud