summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Use _BSD_VA_LIST_ rather than __va_list if it's definedbrian2002-08-271-2/+5
|
* Correct the FAQ urlbrian2002-08-262-4/+6
| | | | Submitted by: Olivier Tharan <olive@oban.frmug.org>
* Don't dump core on packages with an invalid or empty PLIST.reg2002-08-261-0/+4
| | | | Reviewed by: markm
* Grrr.... mumble.... a linger gzip'ism still existed.obrien2002-08-261-1/+1
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-258-20/+22
|
* Remove extra args to printfimp2002-08-251-2/+2
| | | | | | use Capabilities rather than Capacities. Submitted by: kkenn
* Don't give up on a remote log host when we get a EHOSTUNREACH orcjc2002-08-251-3/+20
| | | | | | | | | | | | | | | | EHOSTDOWN. These are often transient errors (when the remote host reboots, temporary network problems, etc.), and we'd rather err on the side of caution and keep trying send messages that never arrive than just give up. Note that this is not an implementation of the "back-off" methods given in the PR. Those just seem too complicated. Why not just keep trying each time? Trying and failing doesn't really consume significantly more resources than if we were successful for each message. PR: bin/31029 MFC after: 1 week
* Reorg just a tad to better express our bzip intentions.obrien2002-08-251-6/+6
|
* Find remaining hardcoded gzip bits and change to bzip2 bits.obrien2002-08-253-9/+15
| | | | | Mark with XXX so someone that cares about being able to handle either bziped or gziped packages knows where the remaining nits are.
* Preserve suid/gid permissions when extracting packages remotellylioux2002-08-241-1/+1
| | | | | | | fetched with -r option Reviewed by: will Approved by: will
* Use "kbytes" instead of "blocks" in messages as this is reallyschweikh2002-08-241-2/+2
| | | | | | | | what is calculated. PR: 41936 Submitted by: Lukas Ertl <le@univie.ac.at> MFC after: 1 week
* Don't use NULL when we really mean 0 for call to pw_edit.imp2002-08-211-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-5/+5
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Fix buildworld breakage.roberto2002-08-201-1/+1
| | | | Pointy hat: phk
* Be consistent about quoting things.phk2002-08-201-26/+44
| | | | | | | | | Be (somewhat) prepared for things to change size under us. Recognize a empty attribute name as magic and print the list of attributes. Use <err.h> for code clarity. Deal with zero length returns. Sponsored by: DARPA & NAI Labs.
* Add a new `-H' modifier, which when combined with `-p' or `-P' allows to dumpsobomax2002-08-192-14/+38
| | | | full console history.
* Include <nlist.h> for nlist interfaces instead of depending on namespacebde2002-08-181-0/+1
| | | | pollution in <kvm.h>.
* Use essentially the same formatting of the CPU stats percentages as inbde2002-08-181-1/+1
| | | | | | | | | vmstat so that they never coalesce. Both iostat and vmstat need larger fixes to prevent wide fields from unnecessarily messing up the alignment of all subsequent fields. PR: 41674 MFC-after: 3 days
* Include <nlist.h> for nlist interfaces instead of depending on namespacebde2002-08-181-0/+1
| | | | pollution in <kvm.h>.
* Increase size of ifnet.if_flags from 16 bits (short) to 32 bits (int). To avoidsobomax2002-08-181-1/+1
| | | | | | | breaking application ABI use unused ifreq.ifru_flags[1] for upper 16 bits in SIOCSIFFLAGS and SIOCGIFFLAGS ioctl's. Reviewed by: -hackers, -net
* Remove a case of exposing 'struct ucred' to userspace. Use a struct xucredalfred2002-08-151-7/+7
| | | | | | for LOCKD_MSG instead. Requested by: rwatson
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-137-9/+9
|
* Ensure that origin field in the packing list structure is initialised. Thissobomax2002-08-121-0/+1
| | | | | | | fixes problem when there are origin-less packages installed on a system Reported by: Mark Knight <markk@knigma.org> MFC after: 3 days
* add support properly displaying and logging incoming telephone numbers (MSNs)hm2002-08-127-2/+95
| | | | | | | by looking at the "type of number" field and providing configurable hooks to correct the numbers accordingly. See keywords add-prefix, prefix-national and prefix-international in isdnd.rc(5). This feature was implemented by Christian Ullrich <chris@chrullrich.de>
* Warn that hex keys are the most portable.imp2002-08-121-1/+5
| | | | | Submitted by: Gregory Bond <gnb@itga.com.au> Pr: 40872
* Fix conjugation of exists and add full stops to the messages I changed.dwmalone2002-08-111-2/+2
| | | | | | PR: 38481 Submitted by: Kevin Kinsey <kadmin@elisha.daleco.biz> MFC after: 1 week
* add experimental support for Data over Voice (DoV) outgoing calls.hm2002-08-116-6/+39
| | | | | based on patches received from Guy Ellis (guy@traverse.com.au), Chris Collins (xfire@xware.cx) and Phillip Musumeci (phillip@cs.jcu.edu.au).
* Update manpage to match the code, vfsload() isn't usedmux2002-08-111-4/+2
| | | | here since some time, kldload() is used instead.
* Update manpage to match the code, vfsload() is not usedmux2002-08-111-4/+2
| | | | here since some time, kldload() is used instead.
* Fix typos; each file has at least one s/seperat/separat/schweikh2002-08-112-7/+7
| | | | | | | | | | (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
* Add break's to case blocks.mikeh2002-08-101-0/+2
| | | | | PR: bin/41511 Submitted by: Daniel Hagan <dhagan@acm.vt.edu>
* Teach sysinstall that documents on the boot floppy might not be gzipped.jhay2002-08-092-0/+12
| | | | Reviewed by: ru
* Apply the envp fix to the other call to main() as well.gshapiro2002-08-091-2/+2
| | | | Submitted by: Peter Edwards <pmedwards@eircom.net>
* Improve the code for detecting UID ranges so that usernames suchiedowse2002-08-091-3/+3
| | | | | | | as "2-xhibit" are not considered as a range. Fix a problem where the code would forget to increment argv. PR: misc/15658
* Add DVD+RW support to the ATA driver and burncd. This also closessos2002-08-082-19/+140
| | | | | | | | | PR40430 by "Peter Haight <peterh@sapros.com>" that has semilar patches included and which I merged with my own work. HW sponsored by: FreeBSD Foundation & FreeBSD Mall Inc Enjoy!
* Add capability for limiting the maximum number of simultaneousume2002-08-073-4/+315
| | | | | | | | | invocations of each service from a single IP address. Requested by: matusita Reviewed by: dwmalone Tested by: matusita on snapshots.jp.FreeBSD.org MFC after: 2 weeks
* Typo: s/seperately/separatelyschweikh2002-08-063-3/+3
| | | | | | PR: misc/41235 Submitted by: Fesskat Tudeer <freebsd-fesskat@fesskat.org> MFC after: 3 days
* Suppress spurious warning messages about rm -rf TEMPROOT failingdougb2002-08-051-3/+3
| | | | | before chflags, and exit non-zero if the old TEMPROOT dir can't be deleted for whatever reason.
* Use wi_ltv_domains struct to print domainsimp2002-08-051-7/+5
|
* Add more (possibly useless) information to wicontrol's output (maybeimp2002-08-051-1/+79
| | | | | | | | | | | | | | | | | | | | some of these need to be enabled for an extra verbose mode or something): o Try to print the dBm comms quality. This may or may not be available for your card in your configuration. o Print the PRI Id and STA Id. These are in the raw format, so might be a little hard to read. o Print CardID so that we can know exactly what kind of card the user has (this is important if you download firmware to it). o Regulatory domains are now printed for the card. o Temp range is printed. o If you define WI_EXTRA_INFO you get more garbage than is listed here that you need the manual to decode. o Channel list is now printed in hex for easier decoding. This has lead to my discovery that my US symbol card supports channels 12-14 as well as 1-11, which is not allowed in the us/canada. This ain't pretty, but it isn't horrible either.
* Fix a couple DESTDIR related problems. Credit for the "Only in" sectiondougb2002-08-051-2/+2
| | | | | | goes to James <James_Bond_79@yahoo.com>, and Cyrille Lefevre <cyrille.lefevre@laposte.net>. The make variables problem was found by jon.
* Pass envp to crunched program's main() routines as some depend on it.gshapiro2002-08-041-2/+4
| | | | | | | | | | | | Note that crunchgen's stub .c programs already have the code to use it: "int _crunched_%s_stub(int argc, char **argv, char **envp)" "{return main(argc,argv,envp);}\" >%s_stub.c\n", Add $FreeBSD$ to allow the commit. Reviewed by: luigi MFC after: 3 days
* Another .tbz2 -> .tbz leftover. Properly look for pkgname.tbz.knu2002-08-041-1/+1
| | | | MFC after: 1 day
* Drop support for the .tbz2 suffix. One would not want pkg_create(1)knu2002-08-042-6/+2
| | | | | | to create "pkgname.tbz" when one specifies "pkgname.tbz2". MFC after: 1 week
* Use an 8.3 friendly extension when compressing with bzip2.obrien2002-08-041-1/+1
|
* Never allow a user to use crontab if opening /var/cron/{allow,deny} failstjr2002-08-041-16/+23
| | | | | | | | for any reason other than ENOENT (think resource limits). Close allow and deny files before allowed() returns to stop the user's EDITOR being able to read them. Obtained from: OpenBSD (partially)
* Now that the kernel is able to load modules itself,mux2002-08-032-23/+1
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* gcc tells me that this isn't a prototype, and it is right :-) Useimp2002-08-031-4/+1
| | | | ANSI decl here. The old K&R one was copied from OpenBSD I think.
* When extracting package pass `-p' option to tar(1), so that files aresobomax2002-08-021-1/+1
| | | | extracted with correct permissions.
OpenPOWER on IntegriCloud