summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Silence warnings (most about constness) and clamp down with WARNS=2.dd2001-05-282-5/+7
| | | | Tested on i386 and alpha.
* Fix overflowing on nul character.mikeh2001-05-281-1/+1
| | | | | PR: bin/16926 MFC after: 1 week
* Implement snapshots. The new -d option allows the user to find outdd2001-05-282-73/+248
| | | | | | who was logged in at a certain time and date. Obtained from: OpenBSD
* Silence warnings and compile with WARNS=2 on i386 and alpha.dd2001-05-282-12/+12
|
* Miscellaneous cleanups; sync to OpenBSD as much as feasible.dd2001-05-271-81/+68
| | | | | | | | | | | | Noteworthy changes include: * Use getopt(3). * Fix overflows in -b and -w options. * Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and sprintf(3), respectively. Also check return values of the former two. * Fix lots of other gratuitous differences with OpenBSD. Obtained from: OpenBSD
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-2726-1460/+1453
| | | | | | | | | Also take a stab at cleaning up BDECFLAGS and convert all uses of NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to get diffs somewhat closer to OpenBSD/NetBSD. There are no functional changes however. Reviewed by: nra (visual inspection)
* Damn. Fix typo in previous commit.des2001-05-271-1/+1
|
* Fix a trivial warning and clamp down with WARNS=2kris2001-05-262-5/+7
| | | | MFC after: 1 week
* Fix a trivial warning and clamp down with WARNS=2kris2001-05-262-1/+3
| | | | MFC after: 1 week
* Fix some trivial warnings and clamp down with WARNS=2kris2001-05-262-2/+9
| | | | MFC after: 1 week
* Fix WARNS=2 warnings on alpha and i386 and clamp it downkris2001-05-262-43/+45
|
* When running on a tty, install an authentication callback.des2001-05-261-8/+52
|
* Deconvolute the authentication mess, and hand total responsiblitymarkm2001-05-263-358/+226
| | | | | | | | | | for authentication to PAM. This meens that WHEELSU-type logic can now be effected in the pam.conf "su" configuration stack. While here, clean up the mess that the code had assumed over years of hacking by folks using different styles. ANSIfy. There is more policy in here that can be handed over to PAM. This will be revisited.
* Fix the error buffer passed to kvm_openfiles to have a correct lengthtmm2001-05-261-1/+2
| | | | | | of _POSIX2_LINE_MAX. MFC after: 1 week
* Fix the error buffer passed to kvm_openfiles to have a correct lengthtmm2001-05-251-1/+2
| | | | | | of _POSIX2_LINE_MAX. MFC after: 3 days
* Mark error() as __printflike() and fix a non-exploitable format stringkris2001-05-252-2/+2
| | | | | | error. MFC after: 1 week
* Fix the error buffer passed to kvm_openfiles to have a length oftmm2001-05-251-2/+4
| | | | | | | _POSIX2_LINE_MAX as required. While being there, wrap an overly long line. MFC after: 3 days
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-5/+5
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* Make it clear that -P is the default.ru2001-05-252-4/+5
| | | | PR: docs/27629
* If the user exists abruptly, tip's "tipout" child can hang aroundphk2001-05-242-1/+14
| | | | | | | | | | | forever. Since the lock file doesn't get cleaned up, this prevents other users from accessing the target device. (phk adds: Man, this has been bugging me for YEARS!) PR: 12528 Submitted by: Craig Leres leres@ee.lbl.gov MFC after: 1 week
* Backout rev. 1.22 as the change that caused problems was also backed out.ru2001-05-241-1/+1
|
* define _KERNEL before including <sys/conf.h>phk2001-05-231-1/+1
|
* We don't need to include <sys/conf.h>phk2001-05-231-1/+0
|
* A feature to allow one to telnet to a unix domain socket.dillon2001-05-233-4/+44
| | | | Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* Note that sys.mk is read before any other file (even Makefile)obrien2001-05-231-1/+4
|
* Changed 'blocks' to 'usage' because we may not be getting quotas frompirzyk2001-05-231-1/+1
| | | | | | | | | | a ufs filesystem and it may be reporting in K instead of 512b blocks. This is true when using a vxfs filesystem (on a solaris box) for instance. PR: bin/14545 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week
* Update BIOS time.tg2001-05-221-0/+11
| | | | Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
* Beautify debugging output.tg2001-05-221-2/+2
|
* Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID.tg2001-05-221-2/+3
|
* Silence some debugging output when installing Borland's Turbo C.tg2001-05-221-1/+14
|
* Fix boot order (really try A:, then C:, unless the `boot' option istg2001-05-221-12/+32
| | | | specified in .doscmdrc).
* Implement file truncation (DOS function 0x21, sub 0x40).tg2001-05-221-4/+20
| | | | | PR: 20925 Submitted by: Tatsuya Kudoh <cdr@cosmonet.org>
* Correct typo to get DOS function 0x51 (get PSP) to work.tg2001-05-221-1/+1
| | | | | PR: 15547 Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
* DOS function 0x0a (buffered keyboard input) returned immediately.tg2001-05-221-1/+1
| | | | | PR: 15531 Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
* Fix DOS function 4c (exit with return code).tg2001-05-221-0/+1
| | | | | PR: 15528 Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
* mdoc(7) police: fix markup.ru2001-05-221-40/+57
| | | | Submitted by: roam, ru
* Remove an accidentaly added extra blank line.eric2001-05-221-1/+0
| | | | Approved by: murray
* Disable SIGHUP while getting the login name.guido2001-05-211-0/+2
| | | | Reviewed by: security-officer
* Work around the side effect of src/include/Makefile,v 1.137 changes.ru2001-05-211-1/+1
| | | | (The proper fix is to add missing #include directives.)
* Print commas in the group list in user(). current() already did this.dd2001-05-201-1/+1
| | | | | Reviewed by: ru, sheldonh Inspired by: OpenBSD, NetBSD
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-202-2/+3
| | | | MFC after: 1 week
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-201-0/+1
| | | | MFC after: 1 week
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-202-2/+3
| | | | MFC After: 1 week
* This passes WARNS=2 on alpha and i386kris2001-05-201-1/+3
|
* Move scrshot(1) functionality into vidcontrol(1).sobomax2001-05-194-249/+0
| | | | | Suggested by: many Not objected to by: nik (scrshot co-author)
* String operations could silently truncate long strings, leaving the outputgshapiro2001-05-181-8/+8
| | | | | | | | | | | corrupted. Mark's patch fixes this be removing the MAXTOK limitation on substring operations and allowing the putback buffer size to be the limiting factor. If the putback buffer size if reached, m4 gives an error instead of silently truncating the string. PR: bin/26619 Submitted by: Mark Peek <mark-ml@whistle.com> MFC after: 5 days
* I appear to be badly out of practice. Remember to flush the output streamnik2001-05-181-0/+1
| | | | when mixing printf and write.
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-184-4/+0
|
* Remove GCC-ism (-Wall).ru2001-05-181-3/+0
|
* mdoc(7) police: Fix markup and spelling.ru2001-05-181-37/+34
|
OpenPOWER on IntegriCloud