summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix su job control (recently introduced for PAM cleanup purposes) to notache2002-08-121-3/+6
| | | | | | | kill login shell on either "suspend/fg" or "stop $$/fg" for tcsh. Since this bug occurse on -stable too, it is not kernel threads bug. Submitted by: David Xu <bsddiy@yahoo.com>
* Fix typos; each file has at least one s/seperat/separat/schweikh2002-08-112-3/+3
| | | | | | | | | | (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days
* main.c:450: warning: `targs' might be used uninitialized in this functionru2002-08-111-1/+1
| | | | | | Spotted by: patrick@godloveya.com, naddy, -Wuninitialized This segfaulted alpha and sparc64; i386 had this magically zeroed.
* Locale environment variables influence wc(1) regardless of whether thetjr2002-08-111-4/+1
| | | | -m option is specified; correct ENVIRONMENT section.
* Use the iswspace(3) function now that it's been implemented.tjr2002-08-112-5/+5
|
* Correct boundary condition error in `D' and `P' commands when the lasttjr2002-08-111-6/+3
| | | | | | | | line of the pattern space is empty. Don't emit spurious newline when EOF is reached with the `N' command. Pointed out by: Oleg Osyka MFC after: 1 week
* Add #include <sys/sysctl.h>. In my tree, mount.h includesmux2002-08-111-0/+1
| | | | | | sysctl.h and I was depending on this namespace pollution. Submitted by: jake
* - Introduce a new struct xvfsconf, the userland version of struct vfsconf.mux2002-08-103-12/+19
| | | | | | | | | | | | | | | | | | | | | | | - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it.
* truss hasn't been ported to ia64 yet.jake2002-08-101-2/+1
| | | | Noticed by: ru
* xlint seems to build fine on sparc64.jake2002-08-101-1/+1
|
* Put getconf in the right place.jake2002-08-101-1/+1
|
* The boottime variable in sys/kern/kern_tc.c is a struct timeval, not atmm2002-08-091-3/+4
| | | | | time_t, so do not use the latter as type when retrieving the variable via libkvm. This should fix vmstat on sparc64.
* Add a new flag (-l) that suppresses quota checks on NFS filesystems.iedowse2002-08-092-7/+26
| | | | | PR: bin/12939 Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
* Fix a few compiler warnings, sort options and make the usage()iedowse2002-08-092-27/+29
| | | | output match the synopsis.
* Pacify ``make -f /dev/null -V FOO''.ru2002-08-071-34/+32
|
* Remove an unnecessary cast.mdodd2002-08-071-2/+2
|
* Back out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".ache2002-08-071-1/+3
| | | | | This is real kernel bug (threads) and don't attempt to mask it by workarounds to increase chances to fix it in the kernel.
* - Use time.h not sys/time.h.mdodd2002-08-069-13/+13
| | | | | | - Fix printf format errors. Submitted by: bde
* Remove Australia from list of locations supposedly having a bankgrog2002-08-051-2/+1
| | | | | | holiday on 6 August. Since this claim isn't dependent on the weekday, I have my strong doubts about the other locations too, but I can't confirm, so I'm leaving them in.
* Remove extra space in output.mdodd2002-08-051-1/+1
|
* Diff reduction.mdodd2002-08-056-140/+244
|
* Use timespec not timeval.mdodd2002-08-053-15/+24
|
* Ported to sparc64.jake2002-08-044-5/+372
|
* Include <sys/time.h> for the declaration of struct timeval. Do notbde2002-08-047-0/+7
| | | | | | depend on namespace pollution in <signal.h>. (truss shouldn't be using timevals anyway, since it was implemented long after timevals were obsoleted by timespecs.)
* Add options to print the argument and environment string parameters tomdodd2002-08-0410-6/+146
| | | | | | | | | execve(). This could be done in a more general manner but it still wouldn't be very pretty. MFC after: 3 weeks
* Add a "FreeBSD ELF32" entry to ex_types[].mdodd2002-08-041-0/+1
|
* Terminate the output line when a non-returning syscall is printed.mdodd2002-08-045-0/+5
|
* Add options to print absolute and relative timestamps.mdodd2002-08-044-5/+46
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Allow tracking fork()ed children.mdodd2002-08-0411-10/+80
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Parameterize globals.mdodd2002-08-0411-143/+196
| | | | | PR: bin/25587 (in part) MFC after: 3 weeks
* Use a cast to `void *' before casting to a pointer to a structurerobert2002-08-021-5/+8
| | | | | | | to stop GCC emitting warnings about increased alignment requirements which broke the build for sparc64. Approved by: des
* Don't depend on namespace pollution from <netinet/in_pcb.h>.des2002-08-011-0/+2
| | | | Submitted by: bde
* Implement the -l and -c options, which I'd forgotten.des2002-08-011-6/+17
|
* Rewrite sockstat(1) in C.des2002-07-314-257/+596
| | | | Sponsored by: DARPA, NAI Labs
* Fix some bugs in in-place editing:fanf2002-07-301-28/+26
| | | | | | | | (1) errors from freopen were not reported correctly (2) large files were not handled correctly (3) read-only files broke things MFC after: 1 week
* Ignore leading semicolons on commands; required by SUSv3.tjr2002-07-301-2/+8
| | | | Obtained from: NetBSD (kleink, Aymeric Vincent)
* When translating and -C is specified, behave as if the complemented set wastjr2002-07-291-0/+26
| | | | in the locale collating order as required by SUSv3.
* When translating and the -c option is specified, handle the case where thetjr2002-07-291-6/+11
| | | | | second string argument is more than one character in length in the way required by SUSv3 (and the way GNU textutils and SVR4 do it).
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-296-10/+10
| | | | | | for a long time now. Approved by: bde
* Ignore -C, -p, and -S options of install(1) when used with the -dru2002-07-291-1/+1
| | | | | | | option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde
* fetch(1) is WARNS-5 clean (tested on i386 and Alpha)des2002-07-281-0/+1
|
* Use strtol(3) instead of a home-grown version, and fix a "possiblydes2002-07-281-36/+24
| | | | unitialized variable" warning.
* Add enough consts to keep everyone happy.dwmalone2002-07-281-1/+1
|
* Don't reuse a const char * when we really want a char *.dwmalone2002-07-281-5/+7
|
* Improve WARNS situation for kdump:dwmalone2002-07-281-45/+58
| | | | | | | | | | | | | 1) Define _KERNEL while including sys/time.h to get some function prototypes. 2) Add prototypes and ANSIify definitions. 3) Constness changes. 4) Remove register keyword. 5) Actually return a sensible value from main. 6) Make fread_tail take a void * instead of a char *. 7) Avoid a signedness warning by casting to a size_t. Should be safe enough 'cos we also check for nonnegativity. 8) Be extra chummy with sigset_t rather than passing a struct to printf and pretending it is an int.
* ANSIify function definitions to avoid a warning.dwmalone2002-07-289-54/+31
|
* The return value of snprintf should be always nonnegative, so it shoulddwmalone2002-07-281-1/+1
| | | | be safe to cast it to a size_t before comparing it to a sizeof().
* ANSIify function definitions to avoid a warning.dwmalone2002-07-282-39/+14
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-14/+7
| | | | Minor constness changes.
* ANSify function definitions to avoid a warning.dwmalone2002-07-281-10/+7
|
OpenPOWER on IntegriCloud