summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Only check if ENABLE_SUID_NEWGRP is defined, for consistency withru2004-10-241-1/+1
| | | | other ENABLE_SUID_* variables.
* For variables that are only checked with defined(), don't provideru2004-10-2411-11/+12
| | | | any fake value.
* Add a missing full-stop to match the rest of the items in a list.keramida2004-10-241-1/+1
|
* "unset verbose" is 13 characters, not 10.ru2004-10-231-1/+1
|
* Expand the scope of the .SHELL specification to also coverru2004-10-234-30/+46
| | | | | | | | | | the compat mode of operation and the != operator. While here, fixed a bug in the .SHELL directive processing when only the name= attribute is specified and no built-in shell matches this name, causing null pointer dereference. Obtained from: NetBSD (except for bugs)
* Add punctuation which appears to have been accidentally removed incperciva2004-10-221-1/+1
| | | | revision 1.6.
* Add -D_KVM_VNODE to indicate that despite being a userland program,phk2004-10-211-0/+2
| | | | we want to know the vnode structures internals.
* -c flag (cache stats) was killed in rev. 1.68. Fix getopt(3) andmaxim2004-10-201-2/+2
| | | | | | usage() accordingly. Submitted by: Pawel Worach
* Replaced afterinstall: with equivalent FILES and SYMLINKS.ru2004-10-181-34/+33
|
* Modify behaviour of `xargs -I` in order to:cperciva2004-10-181-2/+2
| | | | | | | | | | | | | | | | | 1. Conform to IEEE Std 1003.1-2004, which state that "Constructed arguments cannot grow larger than 255 bytes", and 2. Avoid a buffer overflow. Unfortunately the standard doesn't indicate how xargs is supposed to handle arguments which (with the appropriate substitutions) would grow larger than 255 bytes; this solution handles those by making as many substitutions as possible without overflowing the buffer. OpenBSD's xargs resolves this in a different direction, by making all the substitutions and then silently truncating the resulting string. Since this change may break existing scripts which rely upon the buffer overflow (255 bytes isn't really all that long...) it will not be MFCed.
* getopt(3) prints an "unrecognized option" warning for me, so Ikientzle2004-10-171-1/+0
| | | | | | shouldn't print another. MFC after: 15 days
* Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32"kientzle2004-10-171-1/+1
| | | | MFC after: 15 days
* Remove the obsolete <rune.h> interface.tjr2004-10-171-2/+0
|
* Use <runetype.h> instead of <rune.h> since the latter is going away.tjr2004-10-171-2/+2
|
* Remove explicit support for generating LC_CTYPE data files that specifytjr2004-10-172-8/+1
| | | | the obsolete "UTF2" encoding.
* Bump document datebrueffer2004-10-161-1/+1
| | | | Reminded by: simon in ru-mode
* We use /etc/pam.d/login nowadaysbrueffer2004-10-151-6/+3
|
* Make sure to return 0 from kernel_getnfile() since if there were angreen2004-10-051-0/+1
| | | | error, it would exit() (and it needs to return a value).
* Re-enable descending into the "atm" subdir.ru2004-10-051-1/+1
|
* Bump document date for last commit.simon2004-10-041-1/+1
| | | | Noticed by: ru
* PAM configuration is now in /etc/pam.d/su.simon2004-10-031-7/+4
| | | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version) PR: docs/70616 (part of) MFC after: 1 week
* Use a proper prototype for hertz().stefanf2004-10-032-1/+3
|
* Pass an array of gid_t rather than an array of int to getgroups().stefanf2004-10-021-1/+2
| | | | PR: 56646
* Make -t <tty> optional. If not specified use stdin/stdout.emax2004-09-302-14/+35
| | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days
* 1. Add much finer granularity to the NO_BIND knobs with the addition of:dougb2004-09-271-1/+1
| | | | | | | | | NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS. 2. Make creation of directories in /usr/include that are only needed in the WITH_BIND_LIBS case conditional. Reviewed by: ru, des
* Don't use an uninitialised variable when reading from a ktr alq file.julian2004-09-271-1/+1
|
* Per style.Makefile(5), don't define MAN if the only page installeddougb2004-09-263-6/+0
| | | | | | is ${PROG}.1 Reviewed by: ru
* Fix up the man file installation for the new BIND 9 sources:dougb2004-09-261-0/+2
| | | | | | | | 1. Install man files and links for the lwres library. 2. Fix the path in various files to say /etc/namedb/ instead of just /etc. 3. Correctly install the conf file man pages for named and rndc.
* Fix build in the !NOATM case by using the begemot library in place oftrhodes2004-09-241-3/+3
| | | | | | | | using libisc which was a part of BIND8. Discussed with: des, re, dougb Submitted by: harti (one part) Reviewed by: harti (previous version)
* Allow %' to be used as a format flag by printf(1). This makes itkeramida2004-09-241-1/+1
| | | | | | | | | | possible to print the thousands separator in the locale setups that have one, by something like this: $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345 12,345.00 Reviewed by: das
* Don't expose BIND libraries and their headers to the public by default,ru2004-09-244-4/+8
| | | | | | | | | | | | | | | but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib and /usr/include. Rumors are that this may be useful at a later point, let's see. What this really means is that all BIND libraries are now internal to buildworld (by default, unless WANT_BIND_LIBS is defined), and linked statically into various BIND executables. While here, removed redundant -I's from CFLAGS in lib/bind makefiles. Sponsored by: des OK'ed by: dougb
* De-orbit more remnants of BIND 8.des2004-09-232-22/+0
| | | | Prodded by: ru@
* Clean up and comment config.mk. Centralize more stuff. Bitch ifdes2004-09-224-8/+8
| | | | | | | | POSIX threads libraries are not available. Add crypto support if the crypto libraries are available. Build dnssec-{keygen,signzone} if crypto is available. Submitted by: (in part) dougb@
* Switch from BIND 8 to BIND 9.des2004-09-215-17/+77
| | | | | | Submitted by: (in part) dougb@, trhodes@ Reviewed by: dougb@, trhodes@, re@ MFC after: 5 days
* Update copyright years.des2004-09-212-2/+2
|
* Fix a buffer overflow by using strncpy() instead of strcpy().das2004-09-191-4/+4
| | | | | | Also, use strdup() instead of malloc()/strcpy(). PR: 64164
* Place a function prototype correctly.ru2004-09-191-1/+1
| | | | Submitted by: Divacky Roman
* Add my birth date to our calendar.delphij2004-09-171-0/+1
| | | | Approved by: murray (mentor)
* Park my birthday truck in this free space.kwm2004-09-151-0/+1
| | | | Approved by: pav (mentor)
* Remove a bogus check that caused empty lines not to be counted when thetjr2004-09-141-1/+1
| | | | | | -c option was given. Noticed by: sf
* Fix build: s/mkunzip.8/mkuzip.8/marcel2004-09-121-1/+1
|
* Normalize the manpage.ru2004-09-111-20/+23
| | | | Reviewed by: sobomax
* Normalize the makefile.ru2004-09-111-2/+2
| | | | Reviewed by: sobomax
* o Print more info in the verbose mode;sobomax2004-09-101-31/+32
| | | | | | | | o use zlib(3) function which computes maximum length of the output buffer instead of rolling own version; o allow size of input file to be not multiple of cluster size by applying zero padding.
* Clarify/extend in several places and make sure that everything matches reality.sobomax2004-09-101-16/+32
|
* Bump WARNS level to 6.trhodes2004-09-101-0/+1
| | | | | Submitted by: keramida Tested on: i386, sparc64 (panther)
* Add mkuzip(8), non-GPL utility to compress filesystem images for use withsobomax2004-09-104-0/+356
| | | | | | | | | | | | | | geom_uzip module. This is based on utility I wrote some 3 years ago for a hack for md(4), which functionally was close to what geom_uzip does today. Since I don't have a time to test that it compiles/works on other arches, stick it to i386 only. Will do it later. Unlike original cloop util, this one embedds FreeBSD-compatible shell code into the generated image, not Linux one. Unfortunately severe space restriction imposed by the CLOOP format doesn't allow to put conditional code which will work both on Linux and FreeBSD. In fact it was quite a challenge to fit necessary FreeBSD code into 127 bytes. ;-)
* Improve markup and language.dd2004-09-071-1/+3
|
* remove XXX comment now that the kernel is fixed, there isn't any obviousjmg2004-09-061-1/+1
| | | | | | reason to enable this as performance didn't significantly change... MFC after: 3 days
* Fix Quad handling on 64-bit architectures. On 64-bit machines, a Quadmarcel2004-09-051-22/+17
| | | | | | | | | | | | also occupies a single slot. There's no need for any special handling of Quads. While here, remove the silly make_quad() function. We have the 2 longs on 32-bit machines already lined up in the argument array, so we can fetch the Quad with a simple cast. Before: lseek(1,0x123456789,0xd0d0d0d0d0d0d0d0) = 4886718345 (0x123456789) After: lseek(1,0x123456789,SEEK_SET) = 4886718345 (0x123456789)
OpenPOWER on IntegriCloud