summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Document the -V and -U options in usage().philip2005-01-061-2/+2
| | | | Submitted by: Jordan Sissel <psionic@csh.rit.edu>
* Add forgotten -a to the usage() message.le2005-01-051-1/+1
|
* Teach sdpd(8) about 32-bit and 128-bit uuid's.emax2005-01-055-13/+162
| | | | MFC after: 3 days
* Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure.emax2005-01-041-1/+1
| | | | | | | class is a reserved word in C++ Submitted by: Markus Brueffer < markus AT brueffer DOT de > MFC after: 3 days
* Use __unused macro instead of a bare void for main().delphij2005-01-041-1/+1
| | | | Suggested by: nectar
* Update the INDEX file to INDEX-6paul2005-01-041-5/+5
|
* Use INDEX-6 for versions of FreeBSD > 600000paul2005-01-041-1/+3
|
* Remove old wdc driver completely.nyan2005-01-042-12/+0
|
* Allow usbd to handle event notificatiosn where mor ethan onejulian2005-01-041-47/+67
| | | | | | | | | device is involved, (e.g. plugin a hub with multiple devices already attached to it) Submitted by: Naoyuki Tai <ntai@smartfruit.com> PR: 43993 MFC in: 1 week
* nologin(8) does not seem to require any command line parameters,delphij2005-01-041-2/+2
| | | | | | | | | | | | so remove argc and argv from main() argument. At the same time, user and tt is not likely to be changed during execution so mark them const. This commit should guarantee nologin to pass WARNS=6. Tested on: i386 MFC After: 1 month
* Because the `permission' field in conf_entry is intended to be used asdelphij2005-01-041-1/+1
| | | | | | | | | | parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t), it's more likely that it should be defined as an unsigned variable. This commit should make newsyslog WARNS=6 clean, but don't bump the knob until I have a universe build. MFC After: 1 month
* Catch up with the kernel and set any global variables we are using, innjl2005-01-031-0/+6
| | | | | | particular, enabling interpreter workarounds for bad ASL. MFC after: 1 day
* o Remove duplicate includes.maxim2005-01-011-2/+0
| | | | | | PR: bin/75712 Submitted by: brueffer Obtained from: Dragonfly BSD
* Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithmgad2004-12-315-37/+79
| | | | | | | | | | | | | | | | | for calculating the job number for a job based on the control-file name. We might receive cf-files named by other implementations of lpr, where the job number shown by lpq would not match the job number that other commands expected for the same name. This also uses a newer algorithm for determining a job number, to avoid problems caused when a control-file is named using an IP address, instead of the hostname. This also moved the declaration if isowner() from lp.h to rmjob.c. When I went to change the parameters, I noticed that rmjob.c was the only source file which uses it. MFC after: 2 weeks
* Do more extensive checking of the userid field which is read in from thegad2004-12-311-7/+46
| | | | | | | | | | | | | | | | control-file for each print job. This is partially because the previous checks still let through some characters which would cause trouble for other applications which try to process the resulting userid -- such as accounting programs. But the main reason is to handle the case where some remote host sends a print job where the given userid is an uppercase-version of the real userid. For that case, lpd will now check for uppercase letters in the userid. If there are any, it will check to see if the given userid (with the uppercase letters) is a valid one. If it is *not* valid, then lpd will change the userid to all-lowercase right when the job is received. MFC after: 2 weeks
* Allow ':' and '%' in hostname specifications so that we can specify IPv6dwmalone2004-12-281-1/+1
| | | | | | addresses and scope IDs. MFC after: 3 weeks
* Some syslog messages delimit the program tag with whitespace ratherdwmalone2004-12-281-2/+2
| | | | | | | | | | | | than a colon, so don't allow whitespace in program names. To be consistent with hostnames, don't allow whitespace in the program name specifiers in syslog.conf either. (The first change is by Markus from the PR, the second is mine.) PR: 68691 Submitted by: Markus Oestreicher <m.oe@x-trader.de> MFC after: 3 weeks
* For VLAN interfaces, print MAC addresses properly.ru2004-12-241-1/+2
| | | | | | | | (Broken in rev. 1.52.) PR: 75471 Submitted by: Jon Simola MFC after: 3 days
* Due to unknown reasons, Disk_Names() returns SCSI CDROM as a validyongari2004-12-222-0/+28
| | | | | | | | | | | | | disk. This is main reason why sysinstall presents SCSI CDROM to available disks in Fdisk/Label menu. In addition, adding a blank SCSI CDROM to the menu generates floating point exception in sparc64. Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI CDROM as a disk is beyond me and that should be investigated. For temporary workaround, ignore SCSI CDROM device. PR: sparc64/72962 Tested by: R. Tyler Ballance < tyler AT tamu DOT edu> MFC after: 1 week
* Use the source of the termcap database when available.ru2004-12-212-20/+32
|
* The "fixate" command no longer terminates command processing,ru2004-12-211-4/+1
| | | | so that "eject" following it can happen.
* Document -F in usage() and SYNOPSIS.ru2004-12-212-2/+2
|
* Make "burncd ... fixate eject" really work as promised.ru2004-12-211-1/+1
|
* NOPAM -> NO_PAMru2004-12-211-0/+3
|
* NOIPSEC -> TRACEROUTE_NO_IPSECru2004-12-211-2/+2
|
* Overhaul ppp(8) build options so they are safe to use inru2004-12-211-18/+26
| | | | | | | | | | | | | | | | /etc/make.conf: NOALIAS -> retired (support provided by PPP_NO_NAT) NOATM -> PPP_NO_ATM (also subject to NO_ATM global) NODES -> PPP_NO_DES (support was broken, now recovered) NOI4B -> PPP_NO_I4B (also subject to NO_I4B global) NOKLDLOAD -> PPP_NO_KLDLOAD NONAT -> PPP_NO_NAT NONETGRAPH -> PPP_NO_NETGRAPH NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global) NORADIUS -> PPP_NO_RADIUS NOSUID -> retired (support provided by PPP_NO_SUID) PPP_NOSUID -> PPP_NO_SUID
* The C define is NONAT.ru2004-12-211-1/+1
|
* NOINET6 -> NO_INET6ru2004-12-216-6/+6
|
* NOCRYPT -> NO_CRYPTru2004-12-2110-11/+11
|
* NOSHARED -> NO_SHAREDru2004-12-213-3/+3
|
* NOATM -> NO_ATMru2004-12-213-4/+4
|
* NOLIBC_R -> NO_LIBC_Rru2004-12-211-5/+5
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-2126-26/+26
| | | | OK'ed by: core
* Allocate an additional white space in a username column formaxim2004-12-191-3/+3
| | | | | | | | a long (UT_NAMESIZE) login names. PR: bin/75259 Submitted by: Matthew D.Fuller MFC after: 2 weeks
* Call umask() before opening the lock-file for a queue, to make suregad2004-12-191-1/+2
| | | | | | | | | the file will be created with the right access, if the call to open() does create it. Also fix the other call to umask() to turn off "write others", just as a matter of general safety. PR: 74418 MFC after: 4 days
* Open device R/W for ioctl modifications.phk2004-12-181-1/+1
|
* err() -> errx()ru2004-12-171-6/+6
|
* When printing a data file received from some other host, check to makegad2004-12-171-0/+100
| | | | | | | | | sure the data file has been completely transfered before starting to print it. This is needed because some implementations of lpr will send the control-file for a print job before sending the matching data-files, and that can cause problems if the receiving host is a busy print-server. MFC after: 2 weeks
* Describe the special meaning of the $ and ~ characters, and the factroam2004-12-161-0/+20
| | | | | | | | that you can get around it by double-quoting them. PR: 42762 Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp> Discussed with: brian
* The ioconf.c is no longer generated.ru2004-12-161-4/+1
| | | | Submitted by: Craig Rodrigues
* - Xref fwip(4)brueffer2004-12-141-1/+2
| | | | | | - bump .Dd MFC after: 3 days
* Handle select() returning -1/EINTR - fairly common in these KSE days.brian2004-12-131-1/+5
| | | | | PR: 74972 MFC after: 3 days
* Implement an ``enable/disable echo'' option, defaults to off.brian2004-12-135-35/+109
| | | | | | | | | This allows LCP ECHOs to be enabled independently of LQR reports. Note: This introduces a change in the default behaviour (search for lqr and echo in the man page). I'll update UPDATING to reflect this. PR: 74821
* Also do not send junk mount arguments when removing exports.phk2004-12-111-0/+1
|
* Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.gshapiro2004-12-101-1/+1
| | | | | PR: bin/73105 MFC after: 2 days
* Correct two bugs that may result in incorrect CBCP response fordelphij2004-12-061-5/+3
| | | | | | | | | | | | | | | | | | administrator specified number. The implementation in our version transmits extra zero byte that is a violation of the Microsoft PPP Callback Control Protocol section 3.2[1]. This can lead to incorrect behavior on certain devices, as reported in bin/50613. Confirmed with: cbcp.c in ppp's cvs, rev. 1.4 and 1.15 [2] Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua> PR: bin/50613 [1] http://www.dsl.gr.jp/~manabe/PPxP/doc/Standards/draft-gidwani-ppp-callback-cp-00.txt [2] http://cvs.samba.org/cgi-bin/cvsweb/ppp/pppd/cbcp.c http://www.samba.org/cvs.html
* Userland change corresponding to the change in kernel/userland communicationphk2004-12-061-31/+19
| | | | for NFS locking.
* Send NAS-IP-Address as well as NAS-Identifierbrian2004-11-296-57/+120
| | | | | | | | Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to support pre-rfc2865 RADIUS servers. This pushes our enable/disable items over the 32 bit limit, so reoganise things to allow a bunch more options. Go to version 3.4.1 so that any compatability problems can be identified.
* Fix a few coding errors that caused compiler warnings.iedowse2004-11-281-5/+6
| | | | | PR: bin/71615 Submitted by: Craig Rodrigues (original patch by Dan Lukes)
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-271-1/+2
| | | | including other headers.
OpenPOWER on IntegriCloud