summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix multiple uses of commas to separate countries. This construct isgrog2001-09-171-28/+28
| | | | | | | | | | | | | | commonly used in the United States of America to represent a hierarchical relationship between city and state or country ("Evacuation Day in Suffolk County, Massachusetts"), but it was also being abused to enumerate unrelated places ("Independence Day in Albania, Mauritania"). Remove the list of countries observing All Souls' Day. This is a widely observed holiday, and the list only included South American contries. There's more to do here; the list is rather patchy.
* When bootstrapping install(1), libc may not have the strtofflags(3) support.ru2001-09-171-0/+6
|
* Correct spelling of PNG.grog2001-09-151-2/+2
| | | | Make it clear that 16 September is the national day both in Mexico and PNG.
* o Modify NFS rights comment to note that the early credential changesrwatson2001-09-151-1/+7
| | | | | | to test for a home directory don't set up the additional groups, and as such may limit users conservatively. This does not affect the eventual credentials selected.
* Fold groups(1) and whoami(1) into id(1).ru2001-09-144-87/+35
|
* Simplify f_Xtime().ru2001-09-141-24/+11
|
* Bloat find(1) even more, and introduce the conceptru2001-09-143-18/+166
| | | | | | | | of time units to be used with -[acm]time primaries. Based on patch from Nils M Holm <nmh@t3x.org>. PR: bin/29165, bin/30309
* Now that we have it, replace `afterinstall' target with SCRIPTS.ru2001-09-131-7/+1
|
* Fixed the BINGRP handling mess.ru2001-09-131-3/+3
| | | | | | | | EXEGRP and EXEMODE are used to install DOS (EXE format) binaries. doscmd(1) can optionally be installed as ``setgid kmem''. Hence the assignment operator for EXEGRP. PR: bin/30538
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-1311-0/+12
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Reinstate complete (and now correctly functioning) WARNS=2.markm2001-09-122-9/+11
|
* Fixed some of style bugs.ru2001-09-121-1/+1
|
* KSE Milestone 2julian2001-09-123-10/+30
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Correct the entry for Sudetenland. It also has nothing to do with the south.grog2001-09-121-1/+1
| | | | | Corrected by: joerg Pointy hat to: grog
* Correct the invasion of Südetenland. Any involvement of ducks was ↵grog2001-09-121-1/+1
| | | | insignificant.
* Implement the ``-f address_family'' filter for -i.ru2001-09-113-3/+14
| | | | Prodded by: Igor Podlesny <poige@morning.ru>
* Update usage() to match reality.ru2001-09-111-5/+12
|
* mdoc(7) police: Fixed the .Ex calls in manpages that describe moreru2001-09-112-2/+2
| | | | | | | than one utility. PR: docs/30437 Submitted by: SUZUKI Koichi <koich@cac.co.jp>
* Add a cast to silence a warning (error because of WARNS=2) on Alpha.mike2001-09-101-1/+1
| | | | Discussed with: des
* Do not overrun entry array when printing output tables.ru2001-09-101-24/+22
| | | | | | Cleanup storage allocation for entries. Obtained from: NetBSD
* Fixed SIGFPE (divide by zero) if column's width exceeds display width (-w).ru2001-09-101-1/+3
| | | | Obtained from: OpenBSD
* Fixed the -z option handling:ru2001-09-101-3/+6
| | | | | | | | | | -Wuninitialized if used without -t. PR: bin/30467 Null pointer dereference if used with -t. Maximum column width computation was wrong.
* - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkddd2001-09-093-7/+15
| | | | | | | | | | also use this, and they shouldn't have to have their own prototypes. - Silence warnings about constness and signedness in ttymsg(). This includes changing the return value to a `const char *', and changing the types of `left' and `wret' (both byte counts) to ssize_t. Reviewed by: bde
* Iron out an identity crisis. I'm Irish, not English.brian2001-09-091-1/+1
|
* Make sure that all non-root-owned binaries in standard systemdillon2001-09-091-0/+1
| | | | | | | | | paths are chflaged 'schg' to prevent exploit vectors when run by cron, by a root user, or by a user other then the one owning the binary. This applies to most of the uucp binaries, cu, tip, and man (man was already installed properly). MFC will occur when approved.
* Remove a bogus cast and lockdown users(1) with WARNS?=2mike2001-09-092-1/+3
| | | | | | Submitted by: David Hill <david@phobia.ms> Reviewed by: -audit MFC after: 1 week
* Add Dennis Ritchie.grog2001-09-091-0/+1
|
* If the local file does not exist, or is a regular file, and we're not tryingdes2001-09-081-27/+71
| | | | | | | | | | | | | to resume a transfer, download the requested document into a temporary file which we later rename. This avoids leaving half-completed files around in case of a crash (it'll still leave a half-completed file, but with a hope- fully non-conflicting name), and should reduce the need for human inter- vention on ports-building machines. The temporary file name for "foo/bar" is constructed by invoking mkstemps() with the pattern "foo/.fetch.XXXXXX.bar" Requested by: obrien
* Back out (with prejudice) the last WARNS=2 fix. I cannot understandmarkm2001-09-072-11/+9
| | | | its failure mode, and will revisit it later.
* Yay!ru2001-09-071-236/+262
| | | | Make this manpage readable and match the reality.
* If -s -s is specified, don't show zero multicast routing statistics.ru2001-09-072-66/+48
|
* Deprecate the -l option in favour of more natural -W.ru2001-09-075-15/+11
| | | | | | | | The compatibility glue is still provided. (This change is not yet reflected in the manpage, nor in usage(). This will be fixed at a later time today, with the general manpage cleanup commit.)
* Don't print stray socket addresses (-A) with the listen queue display (-L).ru2001-09-071-23/+20
| | | | Also, print socket's protocol with the -L.
* The default for -p was ``kern.notice'' in the -h case.ru2001-09-061-1/+1
| | | | | | | | | | | Make it ``user.notice'', as per manpage. (The syslog(3) function defaults to LOG_USER facility if none is specified, but we don't use syslog() in the -h case.) PR: docs/30374 Noticed by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
* Convert systat(1) to use the new devstat interface.ken2001-09-063-53/+46
| | | | Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsdd2001-09-053-4/+5
| | | | | | | | | COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde
* Make ``wall -g'' really DTRT.ru2001-09-051-8/+11
| | | | Reviewed by: imp, markm
* Remove a trailing space at the end of a line.mike2001-09-041-1/+1
| | | | | Forgotten by: mike Submitted by: ru
* o Remove examples from throughout the manual.mike2001-09-041-11/+65
| | | | | | | o Create an EXAMPLES section. o In some places change "ru" to "RU" to be consistent. Reviewed by: ru
* WARNS=2 fixes.markm2001-09-042-9/+11
| | | | | | | | The remaining problem of converting highly incompatible pointer types is done by "laundering" the value through a union. This solves the problem (in my own mind) of how a "const char *" _ever_ actually gets a value in a WARNS=2 world.
* SECURITY.ru2001-09-042-40/+42
| | | | | | | | | | | | | Fixed macros for temporarily relinquishing and restoring setuid/setgid privileges so that they never change the real user and group IDs of the calling process. The setre[ug]id() calls are still used in the REDUCE_PERM macro (with the r[ug]id arguments of -1) so that the call changes the saved user and group IDs of the process to that specified. Also, the panic() and perr() functions had insufficient privileges to delete the problematic file under /var/at.
* The implementation of -flags was broken and did not match the (poorly)ru2001-09-043-31/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | documented behavior. Only a certain set of file flags were recognized, and "no" flags did not match files that have corresponding flags bits turned off. Fix and extend the -flags functionality as follows: : -flags [-|+]<flags>,<notflags> : The flags are specified using symbolic names (see chflags(1)). : Those with the "no" prefix (except "nodump") are said to be : <notflags>. Flags in <flags> are checked to be set, and flags in : <notflags> are checked to be not set. Note that this is different : from -perm, which only allows the user to specify mode bits that : are set. : : If flags are preceded by a dash (``-''), this primary evaluates : to true if at least all of the bits in <flags> and none of the bits : in <notflags> are set in the file's flags bits. If flags are pre- : ceded by a plus (``+''), this primary evaluates to true if any of : the bits in <flags> is set in the file's flags bits, or any of the : bits in <notflags> is not set in the file's flags bits. Otherwise, : this primary evaluates to true if the bits in <flags> exactly match : the file's flags bits, and none of the <flags> bits match those of : <notflags>. MFC after: 2 weeks
* mdoc(7) police: tighten label width.ru2001-09-041-1/+1
|
* Use the correct blocksize when invoked with both -h and -krobert2001-09-041-1/+2
| | | | | | | options. PR: 30275 Reviewed by: jake
* File positions are off_t nowdays, not long, so:ache2001-09-031-13/+13
| | | | | | | | | | | | | | fseek -> fseeko ftell -> ftello fseek(x, 0L, 0) -> rewind(x) NOTE: that fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long.
* File positions are off_t nowdays, not long, so:ache2001-09-024-7/+8
| | | | | | | | | | | | | fseek -> fseeko ftell -> ftello NOTE: fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long.
* strtol -> strtoll (for off_t file size)ache2001-09-011-1/+1
|
* File positions are off_t nowdays, not long, so:ache2001-09-011-5/+5
| | | | | | | | | | long -> off_t fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
* File positions are off_t nowdays, not long, so:ache2001-09-013-3/+3
| | | | | | | | | | strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
* File positions are off_t nowdays, not long, so:ache2001-09-014-14/+14
| | | | | | | | | | | long -> off_t strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
OpenPOWER on IntegriCloud