summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* fix -L (scan ap's): use WI_RID_SCAN_APS instead of WI_RDI_SCAN_REQ to startsam2003-01-201-7/+2
| | | | a scan so the driver can use the best/right op for the card
* do not loose trailing space when asking uidfjoe2003-01-201-1/+1
|
* - Rename installFixupBin to installFixupBase to finish up the 'bin' tojhb2003-01-1710-513/+655
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'base' dist rename. - Rework struct dist to allow for different types of dists. There are currently three types of dists: DT_TARBALL, the traditonal gzipped and split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in the tree that has its own array of dists as its contents. For example, the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table that contains 'sbase', 'ssys', etc. - Add helper macros for defining array entries for the different types of dists to try and make the statically defined dist table in dist.c more readable. - Split the logic to deal with a DT_TARBALL dist out of distExtract() and into its own distExtractTarball() function. distExtract() now calls other functions to extract each dist. - Tweak the percentage complete calculation in distExtractTarball() to do the multiply prior to the divide so it doesn't have to use floating point. - Axe the installPackage() function along with the special handling for the perl and XFree86 dists in distExtractAll() since distExtract() handles package dists directly now. - Add back in subdists for the X packages based on the split up packages that XFree86-4 uses that as closely map to the X dists we used with X 3.3.x. - Lots of things like distSetX() and the X dist masks are no longer #ifndef X_AS_PKG since we use them in both cases now. - Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only call it in that case anyways, and it's not suitable for the X_AS_PKG case. - Add in X dist menus for the X_AS_PKG case. Approved by: re
* Add 'vlan' as a network device.jhb2003-01-172-0/+2
| | | | Tested by: dcs
* Don't hide global `s'.ru2003-01-171-6/+6
|
* Implement nonblocking tpc-connections. rpcgen -m does stillmbr2003-01-166-8/+35
| | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* Using LOGIN_SETALL &~LOGIN_SETMAC to avoid setting the MAC label improperly,rwatson2003-01-161-1/+1
| | | | | | | | | | rather than specifically setting the process priority and resource class; otherwise, we improperly set other aspects of the login class. We have a bit more to do here, but the proper fix will probably involve breaking out MAC labels from the login class at some point, as well as further clarifying the logic here. Pointed out by: kuriyama, max
* Add a function driverFloppyCheck() that asks the user if they would like tojhb2003-01-155-0/+24
| | | | | | | | | load drivers from the driver floppy if the "driver_floppy" variable is set in the kernel environment and call this function after probing devices but before displaying the main menu. X-MFC after: as soon as I finish committing to current Approved by: re@ (blanket)
* update for revised wi driver that uses the 802.11 link layer supportsam2003-01-151-105/+140
| | | | Reviewed by: imp
* Move the realloc outside the inner loop. This reduces the number of timesobrien2003-01-151-1/+1
| | | | we do the realloc.
* sigh... revert the previous change; this isn't getpmacchris2003-01-151-2/+1
| | | | Pointy hat: chris
* Cross-reference the appropriate mac library functions.chris2003-01-152-2/+4
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Cross-reference mac(4).chris2003-01-154-0/+4
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Activate getpmac.8chris2003-01-151-1/+1
|
* Document getpmac.chris2003-01-151-0/+56
| | | | | Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project
* s/^Sh/.Sh/ (macros begin with .)chris2003-01-151-1/+1
|
* Document setpmac.chris2003-01-152-1/+62
| | | | | Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project
* If you don't create a /usr filesystem, / will need 200MB.kuriyama2003-01-132-2/+2
|
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-131-1/+1
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-121-1/+1
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Fix a typo: s/save_free/safe_free/.jhb2003-01-091-1/+1
|
* save_free the buf.obrien2003-01-091-0/+1
|
* Separate the uses of a buffer and make it dynamically sized.obrien2003-01-091-15/+16
| | | | | Approved by: scottl(re), jhb(re) Reviewed by: kuriyama
* Actually, the canonical way would be syntactically correct.des2003-01-091-1/+1
|
* Canonical way of determining whether or not to use crypto.des2003-01-091-1/+1
|
* Fix up some grammar.trhodes2003-01-091-2/+2
| | | | Noticed by: sheldonh
* Add code to parse the contents of an ACPI MADT table and to dump itsjhb2003-01-081-0/+176
| | | | | | | contents in the form of a comment in the acpidump output. The output is not in the prettiest output, but it does work correctly. Approved by: marcel
* Add structure definitions for the various items in a ACPI Multiplejhb2003-01-081-0/+105
| | | | | | APIC Descriptor Table (MADT) which has the signature 'ACPI'. Approved by: marcel
* For now, set only the resource limits and process priority associatedrwatson2003-01-081-1/+2
| | | | | | | | | | | | | | | | | with a class, rather than all aspects of the class when switching classes for an inetd service. Because we hard-code /daemon in the current inetd implementation, using SETALL has unfortunate side-effects involving the MAC code, and potentially other credential related settings in the future. This change maintains the DoS-resistent aspects of the class behavior, which is all that is promised in the inetd man page. A larger set of diffs providing more pluggability and configurability was deferred for this more simple approach in the short term. Reviewed by: ache Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Teach sysinstall about rpcbind, rpc.lockd, and rpc.statd. As an addedscottl2003-01-076-12/+76
| | | | | bonus, rpcbind will be enabled automatically if rpc.lockd, rpc.statd, amd, NFS Server, or NIS is enabled.
* Compare pointers to NULL rather than make it look like they are ints.obrien2003-01-061-2/+2
|
* save_realloc() should use reallocf() to close memory leaks.obrien2003-01-062-4/+4
| | | | item_add() should use safe_realloc() as it does no error checking itself.
* Update kernbb(8) to deal with GCC's new way of doing things.phk2003-01-063-86/+51
|
* Prevent buffer overflow in format_cmd() by properly tracking maximumjkh2003-01-064-16/+24
| | | | | | buffer size. Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com> MFC after: 1 week
* Enable pppctl(8) on ia64.marcel2003-01-061-1/+1
|
* Build pppctl on sparc64, now that we have libc_r.tmm2003-01-051-1/+1
|
* - Remove speed_map API because speed_map is obsoleted by 1394a.simokawa2003-01-042-30/+3
| | | | - Add definition of OHCI_HCC_BIBIV in fwohcireg.h.
* - Handle zero sized directory right way.simokawa2003-01-042-12/+20
| | | | - Staticize.
* Make struct swblock kernel only, to make vm/swap_pager.h userland includable.phk2003-01-031-1/+1
| | | | | Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h. Adjust #include use in libkvm and pstat(8) to match.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-0130-49/+55
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-3012-51/+47
| | | | Add FreeBSD Id tag where missing.
* Back out rev 1.19; getbsize(3)'s original interface has been restored.mike2002-12-301-1/+1
|
* Back out rev 1.78; getbsize(3)'s original interface has been restored.mike2002-12-301-8/+6
| | | | Approved by: markm
* Back out rev 1.33; getbsize(3)'s original interface has been restored.mike2002-12-301-1/+1
| | | | Approved by: markm
* Make fully WARNS=5 clean.obrien2002-12-302-6/+6
| | | | Tested on: sparc64, x86
* Use basename(3).obrien2002-12-301-3/+2
|
* Import FireWire userland utility.simokawa2002-12-305-0/+759
|
* Use <sys/endian.h> rather than a private verison.obrien2002-12-302-60/+2
| | | | Tested on: sparc64, Athlon[32]
* Move elf2aout back to /usr/bin -- it is a general development tool, notobrien2002-12-303-172/+0
| | | | a sysadmin tool.
* This really isn't WARNS clean.obrien2002-12-301-2/+1
|
OpenPOWER on IntegriCloud