summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* -lcipher is an installable library.ru2001-12-062-12/+2
|
* Make a bit more clear the types of characters that -B option willkeramida2001-12-061-1/+3
| | | | | | print in octal. Reviewed by: roam, silence on -doc
* Spelling.ru2001-12-041-1/+1
|
* mdoc(7) police: s/LKM/KLD/, sort xrefs.ru2001-12-042-5/+9
|
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-0433-37/+12
| | | | | | set WARNS=0. Reviewed by: mike
* Move the code merging ACL_USER and ACL_GROUP objects from underjedgar2001-12-031-22/+33
| | | | | | two nested while loops into a separate function. Obtained from: TrustedBSD Project
* Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)jedgar2001-12-034-27/+31
| | | | | | to enhance readability. Obtained from: TrustedBSD Project
* style(9) cleanups mostly consisting of:jedgar2001-12-036-87/+85
| | | | | | | | | o explicitly check return values and variables against a value o return x; -> return (x); o fix inconsistent sysexits usage by nuking it (partially suggested by bde) Obtained from: TrustedBSD Project
* Correct example to remove *all* extended ACL entries andjedgar2001-12-031-3/+4
| | | | clarify description.
* Slight makefile style.markm2001-12-022-7/+7
| | | | Use __FBSDID().
* o Expand the explaination of the -b option WRT the resultingjedgar2001-12-021-3/+13
| | | | | | | | | group ACL entry in relation to the existing group and mask ACL entries. o Move the explanation of multiple ACL entries on the command line to the ACL ENTRIES section. Obtained from: TrustedBSD Project
* o Correct error message forgotten in the last commit (malloc() -> calloc())jedgar2001-12-021-3/+2
| | | | | | o Fix style nits Submitted by: bde
* Use calloc(3) instead of rolling our own.jedgar2001-12-021-2/+1
|
* Note that stty is a utility and not... err... a program....green2001-11-291-1/+1
| | | | Submitted by: ru
* Stty is a program, not a function.green2001-11-291-1/+1
|
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-2616-17/+429
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* Remove the printf builtin command from sh(1), which command is notknu2001-11-203-10/+5
| | | | | | | | | | | | used so often that it's worth keeping it as a builtin. Now that all the printf invocations from within the system startup scripts, we can safely remove it. Urged by: sheldonh :) No MFC is planned so far because it may break compatibility and violate POLA.
* Fix style bugs I found, and add a comment.knu2001-11-191-10/+11
|
* Oops sorry, forgot to add a #include.knu2001-11-191-0/+1
|
* - Do not reference argv[1] if no argument is given.knu2001-11-191-7/+34
| | | | | | Reported by: brian - Call error() instead of errx() if compiled as sh(1) builtin.
* Make test(1) a builtin command of our sh(1) for efficiency. Theknu2001-11-175-5/+24
| | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used)
* o Update licenses, comments.rwatson2001-11-162-1/+8
| | | | Obtained from: TrustedBSD Project
* Deuglify the usage message by putting the program name after thedd2001-11-151-1/+2
| | | | | | | | "usage:" string. This is how most (all?) other programs in the system do it. PR: 31596 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Don't call setvar() with the VTEXTFIXED flag. A copy is created bytegge2001-11-071-4/+4
| | | | | | | | setvar() and passed to setvareq(). When the VTEXTFIXED flag is set, that copy is never freed, causing a memory leak. PR: 31533 Submitted by: maxim@macomnet.ru
* Use a quad int conversion routine for time_t instead of ulong, capable ofdillon2001-10-281-2/+4
| | | | decoding tar's full time buffer (12 digits).
* Various string fields for certain cpio types are 11 rather then 8dillon2001-10-281-6/+15
| | | | | | | | | characters. Use quad conversion functions rather then long conversion where appropriate to handle the available range. Mainly fixes time_t but there was also a st_size ulong conversion in there that has to be quad or cpio cannot be used to copy files > 2G. MFC after: 1 day
* Remove unnecessary casts in timeval.tv_sec load from st_*timedillon2001-10-281-4/+4
|
* Remove assumption that time_t is an intdillon2001-10-281-1/+3
| | | | MFC after: 1 day
* mdoc(7) police: join OS version with the corresponding macro.ru2001-10-191-2/+2
|
* Repair normally unused is_digit() macro.tegge2001-10-141-1/+1
|
* *** empty log message ***obrien2001-10-012-29/+34
|
* WARNSify.ru2001-09-262-4/+4
|
* The "cat - -" feature was broken by the last commit.ru2001-09-261-5/+15
| | | | | | | Restore the code that avoided closing and reopening stdin. This is also required by POSIX. As a bonus, enable multiple stdin reads with the -benstv flags, by resetting the EOF condition on stdin.
* mdoc(7) police: fixed markup.ru2001-09-251-5/+12
|
* mdoc(7) police: markup nits.ru2001-09-211-6/+10
|
* Don't check uninitialized memory for having the shell control charactertegge2001-09-191-4/+4
| | | | | | | | | | | value CTLARI since this might break expansion of arithmetic expressions. Don't access memory below start of stackblock. Problem analyzed by hunt@iprg.nokia.com, slightly different patch applied. PR: 24443 Submitted by: hunt@iprg.nokia.com
* BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes.tegge2001-09-192-6/+6
| | | | | Allow those to be used to properly quote characters in the shell control character range.
* Adjust some type checks to include CTLQUOTEMARK in the range oftegge2001-09-191-3/+3
| | | | shell control characters.
* Give /bin/cat the ability to connect to and read unix-domain socketsdillon2001-09-152-56/+108
| | | | MFC after: 1 week
* KSE Milestone 2julian2001-09-121-2/+3
| | | | | | | | | | | | | | 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
* UPAGES as a constant is gone in KSE. We are going to have to trustpeter2001-09-101-3/+1
| | | | and/or fix ki_rssize.
* Enable BSD style color ls support.mp2001-09-052-0/+2
| | | | | PR: 23161 Submitted by: Anand Ranganathan <anand@blandings.com>
* Update to the tcsh-6.11 version.mp2001-09-051-4/+12
| | | | | | This file could be removed as the alpha changes have been incorporated into the base release. However, it is probably best to leave this here since there are additional FreeBSD architectures in the pipeline that should be added.
* Add new tcsh-6.11 NLS sets for Estonian and Russian.mp2001-09-053-1/+33
| | | | (Polish was also included in tcsh-6.11 but the set1 and set3 files are broken)
* File positions are off_t nowdays, not long, so:ache2001-09-011-3/+3
| | | | | | | | | | | | | fseek -> fseeko ftell -> ftello 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.
* The file_descriptor argument to -t isn't optional, so don't mark it up so.dd2001-08-311-1/+1
|
* On today's kernels masking with ~KERNBASE is turning out to be lesspeter2001-08-242-4/+4
| | | | | | than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr".
* Handle kvm_getprocs() returning nothing. Dont pass -1 to a sizepeter2001-08-241-1/+1
| | | | for malloc().
* Implement `stty ek` as documented.dd2001-08-231-0/+12
| | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
OpenPOWER on IntegriCloud