summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Use correct interface name (it's different on -current).sobomax2003-03-052-2/+2
| | | | | Submitted by: Brooks Davis <brooks@one-eyed-alien.net> MFC after: 20 days
* Remove local hack that somehow slipped into the previous commit.sobomax2003-03-052-2/+2
| | | | MFC after: 20 days
* Add missed description for the `ds' (disc(4)) pseudo-interface.sobomax2003-03-052-2/+4
| | | | | Sponsored by: Porta Software Ltd MFC after: 20 days
* Further fix the syntax by ignoring empty and whitespace-only lines.ru2003-03-051-1/+1
| | | | Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
* Put back the deletion of TEMPROOT/etc/passwd.dougb2003-03-051-1/+1
| | | | Noticed by: maxim
* Better handle the recent (desirable) change to create login.conf.db atdougb2003-03-051-4/+4
| | | | install time, and make sure to catch any future .db files as well.
* Start whining to stderr when people use obsolete flags. These flagsimp2003-03-041-0/+12
| | | | will be removed. Give terse pointer to ifconfig h0h0 magic to use.
* another obsolete flagimp2003-03-041-0/+6
|
* Correct mistake in T flag: weptxkey is the replacementimp2003-03-041-1/+1
|
* Document the obsolete flags as obsolete, with pointers to theirimp2003-03-041-16/+97
| | | | | | | | ifconfig equivalents. This is the first step in removing them from the system. Users of wicontrol to configure the wireless card are strongly encouraged to change their scripts, as sometime in the future all configuration of the cards that isn't in ifconfig will be removed with extreme prejustice.
* 3rd party modules live in /boot/modules nowadays.ru2003-03-031-1/+1
|
* Add missing 'static' on two routines, so they match their declarations.gad2003-03-031-2/+2
| | | | | | PR: 29363 (a small part of) Submitted by: dinoex MFC after: 3 weeks
* Update the number of ports in the ports collection. Although we'vemurray2003-03-031-1/+1
| | | | | gained 400 ports since the last time this was updated, the disk space estimate is still accurate.
* A variety of cosmetic changes, mostly to (slightly) reduce diffs withgad2003-03-031-29/+29
| | | | | | OpenBSD. Except for one added '\n', the object code is not changed. MFC after: 3 weeks
* Collapse two more parameters to dotrim() into the 'ent' parameter that isgad2003-03-031-13/+12
| | | | | | already there. This should not effect anything. MFC after: 3 weeks
* Change to using uid_t and gid_t instead of int. Also change this won'tgad2003-03-031-42/+37
| | | | | | | bother doing a chmod() if neither of these two fields are set. Obtained from: OpenBSD MFC after: 3 weeks
* Fix the interactions between specific log files given on the command line,gad2003-03-031-106/+186
| | | | | | | | | and config-file entries which specify a filename-pattern (glob). It is still not perfectly-right, but at least it isn't completely-wrong. Reviewed by: no objections on freebsd-arch MFC after: 3 weeks MFC addendum: (or after the code-freeze of 4.x is lifted)
* Add a command-line option of '-R somename', which indicates that newsysloggad2003-03-021-9/+77
| | | | | | | | | | | | | should rotate all files given on the command, even if they don't seem to need to be rotated. This would be used by some other command that decides the given log file(s) should be rotated, but wants the "how" of that rotation to be determined by entries to newsyslog. Wes expects to change syslogd to take advantage of this. Man page will be updated after we're sure this is all working the way we want it to. Reviewed by: no objections on freebsd-arch MFC after: 3 weeks MFC addendum: (or after the code-freeze of 4.x is lifted)
* Add a command-line option of '-s', which indicates that newsyslog shouldgad2003-03-021-50/+120
| | | | | | | | | | | | not send a signal to any processes. Also add a config-file flag of 'N' or 'n', which indicates that the given logfile has no process which needs a signal when it is rotated. Both of these are based on changes NetBSD has made, although the implementation is somewhat different. PR: bin/36553 (2nd half) Reviewed by: no objections on freebsd-arch Obtained from: NetBSD (in spirit, at least) MFC after: 3 weeks
* mdoc(7) police: Nits.ru2003-03-022-4/+6
|
* Remove traces of MAKEDEV & add xref to mount_devfs(8).keramida2003-02-281-2/+2
| | | | | | | DEVFS is now mandatory in CURRENT. PR: docs/48095 Submitted by: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
* Add a new variable `noInet6', which if set disables IPv6 configurationsobomax2003-02-273-2/+5
| | | | | | dialog for network interfaces. MFC after: 20 days
* Increase size of the static buffer used to hold runtime dependency listsobomax2003-02-271-4/+4
| | | | | | | | | | | | | | read from CD from 2k to 16k, because in the modern world of meta-packages (Gnome et al) the length of this list could easily owerflow limit causing strange things to happen, ranging from installation failure due to list truncation to complete stack trashing (there is very vague bounds checking). For example, x11/gnome2-fifth-toe runtime dependencies list is 2,418 bytes long. Due to obvious reasons, this is an immediate MFC candidate. Sponsored by: Porta Software Ltd MFC after: 1 day
* Document the fact that VTY locking is easily bypassable when DDBmux2003-02-271-0/+4
| | | | is compiled in the kernel. Also add some useful xrefs to lock(1).
* "Advertizing" is ugly and possibly incorrect; use "Advertising" instead.tjr2003-02-271-1/+1
|
* Try another solution for not expanding a CVS tag.dougb2003-02-271-1/+1
| | | | Submitted by: roam
* - Increase the maximum device name length.jwd2003-02-273-3/+18
| | | | | | | | - Actually check that the entered device name does not exceed the maximum device name length. PR: misc/18466 MFC after: 2 weeks
* Implemented "nooption" and "nomakeoption" config(8) tokens.ru2003-02-262-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | Fixed memory leak in the "nodevice" option implementation. Use these instead of sed(1) in MD NOTES. Use a single makefile (sys/conf/makeLINT.mk) to generate LINT for all architectures. (Previous versions missed the LINT dependency on Makefile, and i386 version also missed the dependency on ${NOTES}.) Fixed bugs in the previous NOTES conversion using the "nodevice" token and sed(1): - i386 LINT lost "device pst". - pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD options, and got needless DPT_* options. - Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV to sparc64 LINT so that it has a chance to config(8). This basically returns us to where we were before.
* Fix an error which caused 'free(): error: chunk is already free'gad2003-02-261-0/+3
| | | | | | if an entry in the config file included flag 'G'. MFC after: 3 weeks
* Add a new subcommand to pccardc(8), "dumpcisfile", which reads a CISgreen2003-02-256-4/+94
| | | | | | structure from a file instead of a PC-CARD itself before parsing and dumping it. (E.g. useful when you get a CIS file from a manufacturer which fixes they broken card's CIS, and add it to the pccard quirks.)
* Fix a long-standing bug where if the package being deleted had nodes2003-02-252-14/+12
| | | | | | | | | | | | | | | | post-deinstall script, the variable intended to hold the name of that script would be used uninitialized. In some cases, fexists() would succeed, causing pkg_delete to try to chmod +x it, then execute it, resulting in bizarre error messages such as: .//: Permission denied This bug would normally only occur when multiple packages were specified on the command line; otherwise post_script would be located in a previously unused part of the stack, and implicitly (but quite accidentally) initialized to all-zeros. MFC after: 3 days
* mdoc(7) police: Scheduled sweep.ru2003-02-247-48/+68
|
* Check whether setmode(3) fails and deallocate its return value aftermikeh2003-02-241-0/+4
| | | | | | | calling getmode(3). Approved by: wollman MFC after: 1 week
* Check the value given for number-of-logs to keep in config-file entries,gad2003-02-241-2/+2
| | | | | | | and error-out if the value is negative (avoiding an infinite loop). PR: bin/30654 (part of it) MFC after: 3 weeks
* 1) Fix so -a honors the -n ("do nothing") option. Before, if the directorygad2003-02-241-4/+16
| | | | | | | | | | given for -a did not exist, then newsyslog would always try to create it, even if -n was specified. 2) When -a processing *does* create the directory, have it check the result from mkdir(), and immediately error-out if that failed. PR: bin/46974 MFC after: 3 weeks
* Minor style fix. Add parenthesis around 'return' values.gad2003-02-241-16/+16
| | | | | Reviewed by: md5 MFC after: 3 weeks
* Add the idea of a "default rotate action", which will be used if a file isgad2003-02-241-33/+194
| | | | | | | | | | | specified at runtime, but that filename is not listed in the newsyslog.conf file. This default-action can be changed by having a line in newsyslog.conf with the filename of "<default>". Before this change, the program would quietly ignore the given file. An update to the man page will be written after I finish some other updates to newsyslog.c. Reviewed by: no objections from freebsd-arch MFC after: 3 weeks
* Under some unusual conditions, inetd can leak a open file discriptordwmalone2003-02-231-7/+23
| | | | | | | | | | into a child process. Rather than closing the discriptors manually, mark all discriptors as close-on-exec. PR: 47694 Submitted by: Max Okumoto <okumoto@ucsd.edu> Obtained from: NetBSD MFC after: 2 weeks
* After calling login_getclass, be sure to call login_close so thatdwmalone2003-02-231-1/+6
| | | | | | | | | we don't leak memory. Only one of these two cases (reconfig) actually causes a leak because the other is usually followed by an exec. PR: 46845 Reviewed by: David Wang <dsw@juniper.net> MFC after: 2 weeks
* Allow for boolean make options (``makeoptions NO_MODULES'').ru2003-02-211-1/+4
| | | | Fixed the potential bug in rmopt().
* Hostname specifications must allow commas in the value. They arethomas2003-02-211-1/+2
| | | | | | | used to separate multiple host names. Noted by: Dan Nelson <dnelson@allantgroup.com> Reviewed by: roberto
* Some things don't build for PowerPC yet.obrien2003-02-211-1/+5
| | | | List from: benno
* Initialize sign to NULL so that we don't attempt to free() it in casemikeh2003-02-201-0/+1
| | | | | | of failure. MFC after: 1 week
* s/to try and retry/to retry/ceri2003-02-192-2/+2
| | | | | | | PR: misc/48226 Submitted by: Gary W. Swearingen <swear@attbi.com> MFC After: 2 days Approved by: murray (mentor)
* - Detect PAL by CIP header rather than the DSF bit in the DV header.simokawa2003-02-191-71/+48
| | | | | | | | | | | | | | | Some DVcam(ex. Panasonic NV-DS1 DV camcorder) doesn't seems to set this bit even if it's for PAL. Fix the DSF bit for such cases so that we can send back the stream to the DVcam without problem. Problem Reported by: Richard Tobin <richard@cogsci.ed.ac.uk> - Make the number of bulkxfer packets(NPACKET_T) and the number of packets write at once(TNBUF) to be different values. I observe some block noise for large TNBUF. - Show the detection of NTSC or PAL. - Pad with 0xff rather than 0x00 for broken frames. - Bzero hdr[0]. - Remove unused code.
* Bring the suggested command for extracting a configuration file from theceri2003-02-181-1/+1
| | | | | | | | kernel into line with that suggested in LINT. PR: bin/48157 Submitted by: naddy MFC After: 4.8
* Remove contractions.trhodes2003-02-181-3/+3
| | | | Use `Force' in place of `Cause' which sounds better.
* Use arc4random() instead of random() when generating the master key.kris2003-02-181-2/+3
| | | | MFC after: 1 week
* -v now also prints the pnpinfo and location information for the devicesimp2003-02-171-1/+6
| | | | whose bus' provide this information.
* Update copyright.mtm2003-02-162-6/+2
|
OpenPOWER on IntegriCloud