summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* | put all options in a single struct, and document them.luigi2009-01-271-126/+146
| | | | | | | | | | This will allow us to easily restore the original values when processing commands from a file (where each individual line can have its own options).
* | I believe this is safe to build with WARNS=2 nowluigi2009-01-271-1/+1
| |
* | remove a couple of rarely used #define;luigi2009-01-271-13/+12
| | | | | | | | | | change PRINT_UINT from a macro to a function (renaming is postponed to reduce clutter)
* | Follow up with previous commit: mention -D, not -C when cg checkdelphij2009-01-271-1/+1
| | | | | | | | | | | | failed. Submitted by: obrien
* | wrap all malloc/calloc/realloc calls so they exit on failureluigi2009-01-261-23/+33
| | | | | | | | | | | | without having to check in each place. Remove an wrong strdup from previous commit.
* | Some implementations of getopt() expect that argv[0] is always theluigi2009-01-261-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | program name, and ignore that entry. ipfw2.c code instead skips this entry and starts with options at offset 0, relying on a more tolerant implementation of the library. This change fixes the issue by always passing a program name in the first entry to getopt. The motivation for this change is to remove a potential compatibility issue should we use a different getopt() implementation in the future. No functional changes. Submitted by: Marta Carbone (parts) MFC after: 4 weeks
* | remove some useless #include,luigi2009-01-221-8/+2
| | | | | | | | | | | | document why timeconv.h is needed MFC after: 3 days
* | Rename option 'C' to 'D' (damaged) in order to avoid a conflict with upcomingdelphij2009-01-204-28/+28
| | | | | | | | | | | | | | Juniper 'C' (clean) flag. Requested by: obrien MFC after: 1 week
* | Fix a number of (innocuous) warnings, and remove a useless test.luigi2009-01-201-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | There are still several signed/unsigned warnings left, which require a bit more study for a proper fix. This file has grown beyond reasonable limits. We really need to split it into separate components (ipv4, ipv6, dummynet, nat, table, userland-kernel communication ...) so we can make mainteinance easier. MFC after: 1 weeks
* | Tone down warning about the quality of the NTFS VFS module. It appears thatsobomax2009-01-201-5/+2
| | | | | | | | | | not all developers share luigi opinion about quality of sysutils/fusefs-ntfs compared to our kernel NTFS module.
* | In the CAVEATS section mention the fact that the NTFS kernel support isn'tsobomax2009-01-191-0/+6
| | | | | | | | | | | | | | | | | | very well maintained and point user to sysutils/fusefs-ntfs, which at the time of this writing seems to be a better alternative. Suggested by: luigi MFC after: 2 weeks
* | Fix regression introduced in rev. 173124:mav2009-01-181-26/+27
| | | | | | | | | | | | 0.0.0.0/1 is not the same as 0.0.0.0/0. MFC after: 1 month
* | Bail on ENXIO, you won't get any further any way.phk2009-01-171-1/+4
| | | | | | | | Submitted by: tobez
* | Fix 1/2 and 1/4 width channel handling for non-GSM operation:sam2009-01-161-3/+17
| | | | | | | | | | | | o correct typo that caused random channel selection o explicitly add 1/2 and 1/4 width channels because channel lookups match flags that include IEEE80211_CHANNEL_HALF and IEEE80211_CHANNEL_QUARTER
* | use correct interface name when setting flags; fixes ifconfig ... create ... upsam2009-01-141-2/+2
| | | | | | | | Noticed by: Chris Anderson
* | Reword some entries for NTFS and DOS.luigi2009-01-141-2/+4
| | | | | | | | | | | | Add entries for DELL and ASUS recovery partitions. MFC after: 3 days
* | Another change from Christoph:luigi2009-01-141-110/+101
| | | | | | | | | | | | | | | | | | | | replace the table of partition with a simpler and faster array of strings. The change in the array is done mechanically, using vi commands. Most entries in the table are probably 15+ years old and largely outdated, so the next step is to remove stale entries with more current values. Submitted by: Christoph Mallon, with small changes from me MFC after: 3 days
* | more changes from Christoph:luigi2009-01-141-15/+14
| | | | | | | | | | | | | | | | pass a pointer instead of an index to print_part() so it does not depend on a static variable. Submitted by: Christoph Mallon MFC after: 3 days
* | remove unused argument to print_s0()luigi2009-01-141-11/+8
| | | | | | | | | | Submitted by: Christoph Mallon MFC after: 3 days
* | Some small fixes submitted by Christoph Mallon, specifically:luigi2009-01-131-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | + Remove a dead field of a struct. It serves no purpose anymore. + Remove a \n at the end of the format string of err(); the err() function already adds a \n ; + remove many unnecessary casts which obfuscate the code. This file has a huge number of indentation bugs, but I'd rather fix them when/if we happen to modify the relevant parts of the code. Submitted by: Christoph Mallon MFC after: 3 days
* | r187093 failed to keep the lifetime of the pointer suitable for reentrancy.obrien2009-01-131-11/+5
| | | | | | | | Fix that. Also move the current buffer size into the 'cpa' structure.
* | Use a dynamically grown buffer for building the argv for the sub-mounts.obrien2009-01-121-11/+16
| | | | | | | | | | | | Also fix RCSid spamage. Inspired by patch from: Christoph Mallon <christoph.mallon@gmx.de>
* | Fix typo.delphij2009-01-121-1/+1
| | | | | | | | | | Submitted by: Ben Kaduk <minimarmot gmail com> MFC after: 3 days
* | - improve readabilitydanger2009-01-111-8/+12
| | | | | | | | | | Reviewed by: trhodes, keramida MFC after: 3 days
* | Explicitly check each mount argv building assignment for buffer over flowing.obrien2009-01-101-28/+34
| | | | | | | | Reviewed by: imp (earlier version of patch)
* | Add the possibility to specify "-o force" with "mdconfig -du".trasz2009-01-102-1/+12
| | | | | | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* | TDMA support for long distance point-to-point links using ath devices:sam2009-01-082-4/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o add net80211 support for a tdma vap that is built on top of the existing adhoc-demo support o add tdma scheduling of frame transmission to the ath driver; it's conceivable other devices might be capable of this too in which case they can make use of the 802.11 protocol additions etc. o add minor bits to user tools that need to know: ifconfig to setup and configure, new statistics in athstats, and new debug mask bits While the architecture can support >2 slots in a TDMA BSS the current design is intended (and tested) for only 2 slots. Sponsored by: Intel
* | - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | | | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* | Minor markup fix for the r186836 update.simon2009-01-061-1/+2
| |
* | Strengthen some of the language concerning attacks on MD5, in light of thecperciva2009-01-061-8/+16
| | | | | | | | | | | | | | | | recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month
* | Add missing qualifier which was missed in the previous commit.trhodes2009-01-051-1/+1
| | | | | | | | Noticed by: brooks
* | - grammar and language fixesdanger2009-01-041-45/+49
| | | | | | | | | | | | | | | | | | - hard sentence breaks - trim EXIT STATUS section and move it to DIAGNOSTICS as well as use .Er macro - sort SEE ALSO MFC after: 7 days
* | Several significant updates:ivoras2009-01-041-49/+105
|/ | | | | | | | | | * Better wording of sections dealing with physical storage * A new section on assumptions gvirstor has on its consumer devices (components) and its interaction with file systems * Improved markup (by hrs@) Reviewed by: hrs Approved by: gnn (mentor)
* - Back out r186038. Rather than changing the intent of the caller, the problemlulf2008-12-271-1/+1
| | | | | | should be handled internally in gvinum. Suggested by: pjd
* style(9)obrien2008-12-262-6/+6
|
* Make the sub-'argc' static to make it harder to overwrite thru a bufferobrien2008-12-261-1/+2
| | | | overflow.
* Apply various fixes:trhodes2008-12-242-5/+6
| | | | | | | | | Silence mdoc(7) warnings; Xref correct manual pages; Point user to the ddb.8 manual page. PR: 129398 Submitted by: gavin
* Garbage collect 'fflags'.obrien2008-12-241-6/+2
|
* Note that when shutdown is run without options, it will placetrhodes2008-12-231-1/+7
| | | | | | the system into single user mode at the time specified. PR: 129765
* Document the "-o large" option.trhodes2008-12-231-1/+6
| | | | PR: 129792
* Only show the pathname in verbose output as intended in the last commit ↵thompsa2008-12-221-3/+5
| | | | (r172862).
* Update the ipfw man page to reflect last change (-q option with nat option).piso2008-12-181-0/+2
| | | | MFC after: 3 days
* Honor the quiet (-q) option while adding a nat rule.piso2008-12-181-4/+6
| | | | | Submitted by: Andrey V. Elsukov<bu7cher@yandex.ru> MFC after: 3 days
* Be a little bit more pestimistic in argument handling - check if we'veobrien2008-12-182-2/+8
| | | | | | | overflown our internal buffer (though after the fact), and s/strncpy/strlcpy/ Reviewed by: rodrigc Obtained from: Juniper Networks
* This main goals of this project are:qingli2008-12-152-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* back out unintended changesam2008-12-151-30/+13
|
* move channel parsing to a getchannel routine so it can be reused to checksam2008-12-151-30/+29
| | | | the channel argument supplied to chanswitch
* fix handling of sku codes like country codessam2008-12-151-2/+6
|
* fix handling of unknown country codes; atoi doesn't return -1sam2008-12-151-2/+6
| | | | for an invalid string as I thought; so use strtol instead
* 0 is a potential ISO CC; use new NO_COUNTRY #define to identifysam2008-12-151-2/+2
| | | | | | when the CC is not set. Note NO_COUNTRY is set to 0xffff for now (must be 16 bits as ieee80211_regdomain struct defines sku's and cc's as uint16_t which may need fixing).
OpenPOWER on IntegriCloud