summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Condense the output to one line per removed user. For user's whomtm2003-02-162-21/+56
| | | | | | want the more verbose version, there's a -v option. Approved by: markm (mentor)
* Add #include <sys/resource.h>phk2003-02-161-0/+1
| | | | | My apologies for missing these #includes, I must have confused the dependencies with a wrong timestamp or something.
* Remove #include <sys/dkstat.h>phk2003-02-161-1/+0
|
* Implemented a simple "nodevice" config(8) command that cancelsru2003-02-152-1/+49
| | | | | | | the effect of the "device" command, and use it to generate the OLDCARD from GENERIC. Suggested by: bde
* Convert to using <sys/queue.h> macros.ru2003-02-156-85/+76
|
* The tcp_wrappers function `fromhost()' can fail. In suchume2003-02-131-2/+16
| | | | | | | cases, the `struct sockaddr' will not be allocated. Reported by: nectar MFC after: 2 days
* Allow multiple hosts or programs to be named in programthomas2003-02-132-6/+39
| | | | | | | | | | | | | or host specifications, eg: !foo,bar *.* /var/log/only_foo_or_bar.log !-foo,bar *.* /var/log/all_except_foo_or_bar.log Reviewed by: roberto Not objected to by: arch@
* Use DIOCGPC98 ioctl to write boot block.nyan2003-02-111-22/+62
|
* Add -DHAVE_ARC4RANDOM to CFLAGSache2003-02-111-1/+1
|
* Use srandomdev() for FreeBSDache2003-02-111-0/+4
|
* There is no sense to use random random() and arc4random() in the same program.ache2003-02-111-2/+1
| | | | Switch to arc4random() completely.
* Add missing srand() (sranddev() for FreeBSD)ache2003-02-111-0/+5
|
* Use sranddev()/srandomdev() for FreeBSDache2003-02-111-2/+10
|
* Allow inner whitespace in the right-hand side of an environment variablethomas2003-02-101-10/+17
| | | | | | | | assignment even if it is not quoted (as advertised by the man page). This fixes a regression wrt RELENG_4 introduced in rev. 1.11. Problem noted and patch tested by: CHOI Junho <cjh@kr.FreeBSD.org> Reviewed by: roberto
* Try to fix two problems with the -I example. One is the fact that wedougb2003-02-101-1/+1
| | | | | | | want to match a character $, not EOL. The other is that CVS helpfully expanded my example into an actual CVS tag. Submitted by: gad
* Explicitly release a existing lease before we start dhclient (again).mbr2003-02-091-0/+1
| | | | | | | | | If we already have a lease and restart sysinstall (or something with the net configuration goes wrong), we would have to reboot just because there is a dhclient hanging around. Reviewed by: murray (re) MFC after: 5 days
* Revisit the shell special characters issue and settle it once-and-forall.mtm2003-02-091-13/+19
| | | | | | | | All characters will be accepted, and pw(8) can sort out which ones it will allow and which ones it won't. Approved by: markm (mentor) Prodded by: Philippe Bourcier <philippe@cyberabuse.org>
* Improve device listing.simokawa2003-02-092-4/+6
|
* Give more information to users replacing sendmail regarding periodic'sgshapiro2003-02-081-0/+11
| | | | | | submit mail queue check. PR: docs/38924
* Change the behaviour of adduser to match the previous incarnation a little more.adrian2003-02-081-2/+26
| | | | | | | | | | | | | If any of the given groups do not exist complain and let the user try again. This saves the user from discovering at the end of the process that they've forgotten to add a group or they've typoed. Thanks to cmc/dougb for pointing out how bad my sh fu actually is. Original code by: me Scary sh rewrite by: dougb Reviewed by: dougb
* Relocate a call to enable inetd so that it is set regardless ofrwatson2003-02-062-4/+2
| | | | | | | whether the user chooses to edit inetd.conf. PR: 39311 Reported by: Martin Faxer <gmh003532@brfmasthugget.se>
* MFS: 1.2.2.2trhodes2003-02-051-1/+1
|
* * Update copyright year.dougb2003-02-051-5/+6
| | | | | | | | | | | | * Give back one line of ws when showing a diff. This was requested by several. * Un-quote DIFF_FLAG, and add DIFF_OPTIONS. This will allow the user to do more creative things in a mergemaster rc file. Un-quoting is necessary in order to handle things like CVS Id tags that look like shell variables. * Simplify terminal width determination. Suggestions related to ignoring the CVS Id's were taken from several, with dillon and gad providing particularly helpful feedback.
* * Update copyright year.dougb2003-02-051-2/+5
| | | | * Add an example that ignores CVS Id tags for the new DIFF_OPTIONS variable.
* Added MI version of <sys/imgact_aout.h>, "a.out.h", which isru2003-02-042-2/+87
| | | | | | | always compatible with the i386 version. This fixes one of the problems I had cross-releasing i386 on Alpha: the produced "-f aout" binaries are now identical.
* Always build kgzip(8); needed to cross-release i386.ru2003-02-041-1/+1
|
* Make this work on non-i386 as well. (Needed for cross-releases.)ru2003-02-042-2/+3
|
* Better gender-neutral language.fanf2003-02-041-2/+2
| | | | Submitted by: sheldonh
* even the default case in a switch requires some action (add break;)billf2003-02-031-1/+2
| | | | | EVP_sha1() returns a const EVP_MD *, so reflect that in the variable we store its return value in.
* Fixup capitalization in some of the Startup menu entries.jhb2003-02-032-12/+12
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Remove this Makefile, these docs are built by the Makefiles in ↵trhodes2003-02-011-11/+0
| | | | src/share/doc/smm.
OpenPOWER on IntegriCloud