summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make syslogd -u treat "*" as all levels by explictly setting pri_cmpdwmalone2002-09-042-6/+24
| | | | | | | | | | | for it. While I'm here, add a the ability to say "!level" in a way which should be compatible with Linux's syslogd. PR: 28935 No objections: audit MFC after: 2 weeks
* When printing the wait status, break it down into a signal and a exit status.dwmalone2002-09-041-4/+10
| | | | | | PR: 41912 Submitted by: Aaron Smith <aaron@mutex.org> MFC after: 2 weeks
* Swap sense of no_v[46]bind variables and rename as v[46]bind_ok -dwmalone2002-09-041-19/+19
| | | | | | | this avoids some double negatives which are a bit difficult to parse. Always tread v[46]bind{,_ok} as booleans.
* Fix parsing of unix domain entries after addition of IPv6 RPC support.dwmalone2002-09-041-38/+39
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* When installing package from a local file assume that all subsequentsobomax2002-09-031-2/+6
| | | | | | | | autoinstalled dependencies will have the same extension, not just ".tbz". Pointy hat to: obrien X-MFC after: -1 day
* Don't initialise policy, v4bind and v6bind where the variables aredwmalone2002-09-021-3/+10
| | | | | | | | | | | declared - it was bad style and caused a bug. v[46]bind need to be reset whenever we go to the "more:" label. Jean-Luc and I came up with this patch independently, so it had better be right! PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* tpc -> tcp in an error message.dwmalone2002-09-021-2/+2
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Clear up a few warnings (unused variable, rpc versions are usigned so use %u,dwmalone2002-09-021-8/+7
| | | | | | rename a parameter to avoid shadowing a global). MFC after: 1 month
* Switch over to the new EA manipulation utilities.phk2002-09-027-467/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Unbreak -DNOINET6brian2002-09-021-0/+2
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> MFC after: 1 day
* Don't treat unknown commands as fatal errors: they are probably justkris2002-08-311-2/+3
| | | | | | | the signature of out-of-date pkg_tools and newer packages. Reviewed by: jkh MFC after: 3 days
* Add the new userland tool for manipulating extended attributes.phk2002-08-303-0/+369
| | | | | | | | | | This will replace the existing getextattr(8) and setextattr(8) with a single binary responding to the names getextattr, setextattr, rmextattr and lsextattr. This program is not yet connected to the build. Sponsored by: DARPA and NAI Labs.
* Correctly handle ifr.ifr_flags/ifr.ifr_flagshigh like ifconfig(8) does.sobomax2002-08-292-5/+9
| | | | MFC after: 1 day
* - made ppp compliant to RFC 2472 (based on a patch from anotherbrian2002-08-295-49/+176
| | | | | | | | | contributor) - support ipv6cpretry and ipv6cpretries, which are IPv6 versions of ipcpretry and ipcpretries. - improve handling of IPv6 link-local addresses Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* Include the correct file (stdarg.h) and use va_list rather than _BSD_VA_LIST_brian2002-08-2724-6/+26
| | | | Suggested by: mike
* After dialling using -n, add the ability to wait for the first responsehm2002-08-272-8/+76
| | | | | | from the dialler, usually indicating success or failure. Add -v to add verbose responses in addition to return values indication success or failure. Update man page.
* 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>
OpenPOWER on IntegriCloud