summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add -P flag, it does the same as the -p option, except that thekrion2005-11-124-11/+52
| | | | | | | | | | | given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively. PR: bin/75742 Submitted by: Frerich Raabe <raabe AT kde DOT org> MFC after: 3 days
* Some fixes for last commit.glebius2005-11-111-8/+7
| | | | Submitted by: ru
* Skip .symbols files.ru2005-11-111-1/+4
|
* - Document last change to ARP behavior.glebius2005-11-101-11/+28
| | | | | - Document several undocumented sysctl variables. - Fix spelling of few diagnostics.
* Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointersharti2005-11-105-38/+10
| | | | | | into the contrib directory are still necessary for some of the Makefiles, because the C-sources there use non-canonical includes ("" includes) to get at the header files.
* Use the canonical include name for snmpmod.h. The build infrastructure takesharti2005-11-101-1/+1
| | | | | already care to pick up the correct version of the file depending on how we build.
* Introduce 3 new options for pkg_create(1), -x for using basickrion2005-11-084-7/+61
| | | | | | | | regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days
* Minor comment tweak to prevent gcc from being upset about the substringrwatson2005-11-071-1/+1
| | | | /* appearing in a comment.
* Add some rationale about when to bump and not bump the config version.peter2005-11-071-3/+37
| | | | | | | | | | | | | Clarify that it is not like the shlib versions, and not like param.h's __FreeBSD_version/osreldate either. When config(8) was actively changing a while back, the interface between config and the build system (eg: /sys/conf/files.* and Makefile.*) was changing rapidly. configvers is a version number of that interface. User specified config files do not have a version number. The decision about whether a user supplied config file is syntactically valid or not belongs to the parser and sanity checks, not an arbitary number.
* Be more consistent with the rest of the manual page.pjd2005-11-061-2/+2
|
* since nocpu isn't used in the kernel config base, we don't need toimp2005-11-041-1/+1
| | | | | bump the version. Peter Wemm, John Baldwin and I hammered this out after the last time I needlessly incremented the version.
* Use the eq() macro for comparing strings (style), and remove a "break"ru2005-11-031-5/+4
| | | | statement to null the effect of several identical "cpu" directives.
* By a popular demand, add "nomakeoptions" as an alias to "nomakeoption".ru2005-11-031-0/+1
|
* Implement the "nocpu" directive.ru2005-11-033-1/+14
| | | | Requested by: rwatson
* The default fill byte is 0xf6, not 0xf5.ru2005-11-031-1/+1
|
* List IFT_BRIDGE as a valid type so that arp entries can be properly deleted.thompsa2005-11-031-1/+6
| | | | Submitted by: Michal Mertl <mime^traveller.cz>
* Catch up with ACPI-CA 20051021 importjkim2005-11-014-63/+108
|
* s/insure/ensure/ in previous commit. My dictionary and m-w.com say theybrooks2005-10-281-1/+1
| | | | | | | are synonymous, but ensure seems slightly closer and does not have the connotation of buying insurance. Reported by: Jason McIntyre <jmc at kerhand dot co dot uk>
* Bump config(8) version for the DEFAULTS change.jhb2005-10-271-1/+1
|
* Look for packages in packages-6.0-release or packages-6-stable, asmurray2005-10-271-1/+2
| | | | | | | appropriate. Approved by: re (scottl@) Reviewed by: portmgr (kris@)
* Optionally include a DEFAULTS config file if it is present in the currentjhb2005-10-273-3/+27
| | | | | | | | | | | | | directory before the specified config file. This is implemented by opening DEFAULTS as stdin if it exists, and if so resetting stdin to the actual config file when DEFAULTS is fully parsed via yywrap(). In short, this lets us create DEFAULTS kernel configs in /sys/<arch>/conf that can enable certain options or devices by default and allow users to disable them via 'nooptions' or 'nodevice' rather than having to create kludge NO_FOO options. Requested by: scottl Reviewed by: scottl
* fdread cannot work without opening the /dev/fd node in O_RDWR mode now,peter2005-10-261-1/+1
| | | | | | | because it sets the floppy controller parameters, which requires O_RDWR. Specifically, the FD_SOPTS ioctl requires this, and the code errors out and aborts if it can't do it. Among other things, it is changing the FDOPT_NOERRLOG flag. Broken in 6.0 as well.
* Make fdcontrol work again. It has been broken for a while. It triespeter2005-10-261-1/+0
| | | | | | to set the floppy controller parameters, but that requires that the device node be open in O_RDWR mode now. I think it is broken in 6.0 as well. This line looks like a stray anyway.
* Note that the jail setup example is meant to be fed to sh(1), not csh(1).keramida2005-10-261-3/+4
| | | | | | | PR: docs/87351 Submitted by: "Eli K. Breen" <bsd@unixforge.net> Approved by: simon, brooks MFC after: 3 days
* Clean up and apply the fix for PR 83477. The calculation for locatingwpaul2005-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the start of the section headers has to take into account the fact that the image_nt_header is really variable sized. It happens that the existing calculation is correct for _most_ production binaries produced by the Windows DDK, but if we get a binary with oddball offsets, the PE loader could crash. Changes from the supplied patch are: - We don't really need to use the IMAGE_SIZEOF_NT_HEADER() macro when computing how much of the header to return to callers of pe_get_optional_header(). While it's important to take the variable size of the header into account in other calculations, we never actually look at anything outside the non-variable portion of the header. This saves callers from having to allocate a variable sized buffer off the heap (I purposely tried to avoid using malloc() in subr_pe.c to make it easier to compile in both the -D_KERNEL and !-D_KERNEL case), and since we're copying into a buffer on the stack, we always have to copy the same amount of data or else we'll trash the stack something fierce. - We need <stddef.h> to get offsetof() in the !-D_KERNEL case. - ndiscvt.c needs the IMAGE_FIRST_SECTION() macro too, since it does a little bit of section pre-processing. PR: kern/83477
* Create the devd thread after we have called daemon(). Otherwise, it wouldnjl2005-10-241-3/+3
| | | | | | be killed when the parent exits. Submitted by: Rudolf Cejka <cejkar / fit.vutbr.cz>
* Whitespace fix.njl2005-10-231-1/+1
|
* Warn the user if the kernel driver dropped samples or ran out of event buffersjkoshy2005-10-211-2/+27
| | | | during a data collection run.
* Hide a diagnostic message under if (verbose) to avoid cluttering thewpaul2005-10-211-5/+8
| | | | system log when not in verbose logging mode.
* Mention the possibility of non-interactive scripts for EDITOR and add abrooks2005-10-201-0/+9
| | | | | BUGS section mentioning the requirement that such scripts run "sleep 1" or equivalent to work reliably.
* Fix small grammar nit.wpaul2005-10-201-1/+1
|
* Implement the PacketGetVersion() routine, which is used inwpaul2005-10-203-0/+8
| | | | the 0.4.x versions of wpa_supplicant.
* Set the signal handlers before creating the thread. This is so it inheritsnjl2005-10-201-4/+15
| | | | | | | | the parent's signal mask. Once daemon() forked, signals would be ignored in the child thread. While I'm here, check the return value of daemon(). This fixes termination in the daemon case (bug introduced in last commit). Noticed by: Frederik Lindberg
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | | size. PR: 86355 Approved by: gad
* supported an ndp command suboption to disable IPv6 in the given interfacesuz2005-10-192-0/+18
| | | | | | Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 week
* sync with KAME in the following point:suz2005-10-191-1/+5
| | | | | | | | - fixed a bug that "ndp ... proxy" command does not work Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
* sync with KAME in the following points:suz2005-10-191-1/+4
| | | | | | | | | - removed compilation warnings - suppress a redundant error message when a default-router-list is empty Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | size. PR: 86355
* changed syslog level to more appropriate onessuz2005-10-191-3/+3
| | | | | | Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
* source link-layer address option should be marked to be checked later,suz2005-10-191-1/+1
| | | | | | | | because rs_input() need this option. Obtained from: KAME Reviewed by: ume, gnn MFC after: 2 weeks
* added an ioctl option in kernel so that ndp/rtadvd can change some ↵suz2005-10-193-10/+82
| | | | | | | | NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers) Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
* Use a pipe for reading devd events as another method of getting the AC linenjl2005-10-192-28/+179
| | | | | | | | | | | | status. Add a thread that waits for events on the named pipe instead of polling the line status via apm or the ACPI sysctl. Additionally, use robust error handling in case devd goes away or we temporarily can't set a frequency (i.e., passive cooling has preempted our setting). Later, this should be improved so that if adaptive control is not being used, we will block while waiting for AC line events, saving a little CPU. Submitted by: Frederik Lindberg <fli+freebsd-current/shapeshifter.se>
* Handle 32 bit executables better on AMD64 platforms.jkoshy2005-10-181-30/+69
|
* Document pmcstat's inability to handle 32 bit executables on thejkoshy2005-10-181-0/+4
| | | | | | AMD64 while I work on a fix. Noticed by: ps
* Hook ipfwpcap into the build tree.phk2005-10-171-0/+1
|
* Add a small tool which captures packets on a DIVERT socket and writesphk2005-10-172-0/+320
| | | | | | | them as pcap (tcpdump) format data to a file or pipe. Volunters wanted for: manpage Contributed by: P Kern <pkern@cns.utoronto.ca>
* style(9) nitlet:imp2005-10-171-1/+2
| | | | | | | | | | | foo() { } to foo() { }
* Remove now redundant NO_SHARED.ru2005-10-171-2/+0
| | | | Reviewed by: imp
* setkey(8) was repo-copied from usr.sbin/ to sbin/.pjd2005-10-1211-3944/+0
| | | | | | This will allow for NFS mount of /usr over IPsec. Discussed on: arch@
* Drain all pending events from the driver when we get anwpaul2005-10-121-18/+32
| | | | | RTM_IFINFO message, in case some were posted before ndis_events was run. This keeps us in sync with wpa_supplicant.
OpenPOWER on IntegriCloud