summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the printing of header for IPv4 routing table without -l option.ru2000-09-181-1/+1
| | | | Broken in rev 1.44.
* Correct a few typos, including a mis-represented option (-s instead ofsheldonh2000-09-181-4/+4
| | | | | | -h for NIS host). Submitted by: Peter Avalos <pavalos@theshell.com>
* Remove unneded -ltermcapache2000-09-162-4/+5
|
* Remove unneded -lmytinfoache2000-09-161-2/+2
|
* cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace ↵jkh2000-09-141-2/+6
| | | | | | -I/usr/src/usr.bin/kdump/../.. Fix ioctl.c creation to deal with the depend case more properly. Submitted by: Ruslan Ermilov <ru@sunbay.com>
* Fix ioctl.c creation to deal with the depend case more properly.jkh2000-09-141-2/+6
| | | | Submitted by: Ruslan Ermilov <ru@sunbay.com>
* remove .PHONY to avoid gratuitous rebuild of ioctl.c each time.jkh2000-09-142-2/+2
| | | | Approved by: sef
* Don't drop out when we've processed argc - 1 names.... argumentsbrian2000-09-121-7/+3
| | | | | | may expand to more than one user. PR: 21228
* Activate hesinfo.nectar2000-09-081-0/+1
| | | | Noticed by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Fix breakage introduced in rev.1.7. yystacksize and yysslim are global andn_hibma2000-09-071-0/+4
| | | | | | | should be prefixed by YYPREFIX as well. Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers are used in executable.
* Major update to the way synchronization is done in the kernel. Highlightsjasone2000-09-071-3/+3
| | | | | | | | | | | | | | | include: * Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.) * Per-CPU idle processes. * Interrupts are run in their own separate kernel threads and can be preempted (i386 only). Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-066-4/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Reintroduce functionality and error checks that were boneheadedly removeddes2000-09-062-2/+13
| | | | | | in the previous commit. Pass me the pointy hat. PR: bin/21061
* When we have both a rcsid and sccsid, ifdef 0 the sccsid. Thisimp2000-09-041-0/+2
| | | | | appears to be the standard FreeBSD way to do this. style(9) is silent about this, however.
* getopt and friends are declared in <unistd.h>imp2000-09-0419-41/+13
| | | | getopt returns -1 not EOF.
* optarg and optind are declared in unistd.h.imp2000-09-043-6/+0
| | | | h_error is declared in netdb.h
* Use dirname(3).des2000-09-031-68/+4
|
* Use basename(3).des2000-09-031-62/+4
|
* Don't try to set the mtime of the output file if it's not a regular file.des2000-09-021-1/+2
| | | | Pointed out by: cwt
* Don't unlink the target file if it's not a regular file.des2000-08-311-1/+2
|
* Restore support for displaying raw IPv4 sockets andru2000-08-301-2/+2
| | | | | | correct the author's name. Were broken in rev 1.6. Approved by: des
* Invoke netstat(1) and fstat(1) with full path.des2000-08-301-2/+2
|
* Get rid of the old version.green2000-08-291-60/+0
|
* Use a C version of which(1).green2000-08-292-8/+146
| | | | | Submitted by: Dan Papasian <bugg@bugg.strangled.net> Reviewed by: jhb
* After positive feedback from a few folks, activate a switchover topeter2000-08-284-155/+36
| | | | | | | | | using killall.c instead of the perl version that depends on procfs. The C version uses sysctl(). The program is based on a hack that was originally written about 6 years ago and has evolved somewhat since then. (which is why it is a superset of killall.pl, rather than being a clone.) With apologies to: wosch
* Add 'shot', using the definition used by bars and shotglasses.billf2000-08-271-0/+1
|
* Try and fix up some bogus indentation leftovers from emacs severalpeter2000-08-271-2/+2
| | | | years ago.
* 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
OpenPOWER on IntegriCloud