summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Off by one error in malloc.phk2003-11-191-1/+1
| | | | Approved by: re@
* Catch up with the latest in device naming.obrien2003-11-181-5/+5
|
* * Auto-detect what device to use if none is specifiedeivind2003-11-172-18/+33
| | | | | * Replace references to mcd0 with acd0 (doc only) * Remove references to the "c" partition (doc only - code was already fixed)
* __FBSDID; remove duplicate <ctype.h>; try to reduce style inconsistencies.des2003-11-171-46/+43
|
* Sort includes, and remove superfluous <sys/types.h>des2003-11-171-15/+15
|
* Instead of blindly loading the ums module and bailing out if that fails,des2003-11-171-2/+38
| | | | | | | | check if it's already loaded or compiled into the kernel, and only try to load it if it isn't. PR: bin/59368 Submitted by: Jens Rehsack <rehsack@liwing.de>
* Remove the BUGS section introduced in rev 1.11 now that the problemdas2003-11-171-15/+0
| | | | has been addressed.
* Reimplement nologin(8) as a C program. This allows us to staticallydas2003-11-173-40/+29
| | | | | | | link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH. Suggested by: rwatson
* Document nologin(8) as being insecure in conjunction with a dynamicdas2003-11-171-0/+15
| | | | root and suggest alternatives.
* logerror is used in syslogd to log errors from syslogd itself. Itdwmalone2003-11-161-0/+6
| | | | | | | | | | | | is possible for an error to occur while trying to log an error, and this can result in infinite recursion (or at least until we run out of stack). Rather than this, we ignore requests to log an error while logging an error. PR: 51253 MFC after: 2 weeks
* Remove an argument to printf that is unused.dwmalone2003-11-161-1/+1
|
* Remove an annoying printf that somehow leaked into rev 1.21.njl2003-11-161-1/+0
|
* Make this WARNS 2 clean, and fix up the manual page:trhodes2003-11-1512-32/+59
| | | | | | | | | | | | | Avoid implicit function calls by adding the proper include files. Use const char copyright. Fix some fprint formatting. In the manual page: Use the .Pa macro for filenames and locations. Kill hard setence breaks. Make use of the .Tn and .Dq macros. Add some to text to the otherwise blank HISTORY section (taken from CVS).
* Replace all uses of the old netgraph constants NG_*LEN by the newharti2003-11-157-68/+68
| | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
* - poll(2) support.ume2003-11-1410-757/+439
| | | | | | | | | | | | | - simplify by strdup. - set ai_protocol in hints to TCP. - g/c FAITH_NS (no description, not maintained for years) - warn if connection from IPv4 mapped is reached. - IPV6_V6ONLY if possible. - unifdef -UFAITH4. - drop rsh/rlogin support. - deal with negative return value from wait3. Obtained from: KAME
* - need_trigger/idx should be u_int, not ssize_t.ume2003-11-141-30/+34
| | | | | | | | | | | - realloc pedant. - set sin6_scope_id before sending (link-local/multicast) packets - removed an incorrect comment - don't age non-gateway host routes. - not remove global addresses on loopback interface from routing table by route aging. Obtained from: KAME
* - interface minimum MTU = 1280 in IPv6.ume2003-11-141-8/+3
| | | | | | - simplify. Obtained from: KAME
* our netstat is installed in /usr/bin.ume2003-11-141-1/+1
|
* Fixed spurious syntax errors for including files that don't begin withbde2003-11-141-3/+4
| | | | | | | | | | a SEMICOLON token (a newline or semicolon, or one of these preceded by a comment and/or whitespace). The input stream was switched too early and the parser was expecting a SEMICOLON in the included file instead of after the filename in the include directive. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Kept alive by: Adam C. Migus <adam@migus.org>
* If the name of the mouse device starts with "/dev/ums", try to load thedes2003-11-131-2/+15
| | | | | | | | | | ums module, and allow for up to five attempts to open the device, with two-second pauses in between, to allow time for USB controllers and devices to probe and attach. My Gigabyte P4 Titan 848P motherboard has a total of 15 ports on four hubs hanging off four controllers, and needs at least half of that ten-second allowance to get ready. MFC after: 7 days
* - make command line argument parsing POSIX compliant. comment fromume2003-11-132-182/+281
| | | | | | | | | | | | | deraadt NOTE: -I needs to take an arg (there's no way we can take no arg/an arg with a single option) - sscanf overrun - no variable name on prototype. - u_int32_t may not be u_long. - skipped non-host route when printing neighbor cache entries. - valid and preferred lifetimes are unsigned. - wording. Obtained from: KAME
* Fix a bug relating to the "files before directories" sort order whenphk2003-11-131-0/+51
| | | | comparing two spec files.
* Add an empty definition of the MIBS variable so that the makefile doesharti2003-11-131-0/+1
| | | | | | not try to use a MIBS definition from the environment. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* Whitespace cleanup.des2003-11-131-378/+376
|
* - setsockopt/sysctl takes int, not u_long.ume2003-11-122-90/+149
| | | | | | | | | | | | | | - be more picky about argument parsing - like ERANGE. - use u_long for args, not to lose accuracy/prevent overflow. - socklen_t audit. - Add -I (use icmp) option. - warn if multiple addresses are present for dest. - no need to pass tz. - type pedant. check -p range. - grab hlim from sysctl. - typo in port number setting. Obtained from: KAME
* The snmp_netgraph module depends on libnetgraph. So add a dependency andharti2003-11-121-0/+3
| | | | | | add libnetgraph to the list of prebuilt libraries in the main Makefile. Reviewed by: ru
* Get rid of the old constants which did not include the trailing NULharti2003-11-123-4/+4
| | | | and use the new constants which do.
* - Add a note that there are two MIB variables that have per-jailkensmith2003-11-111-0/+8
| | | | | | | settings. Reviewed by: rwatson Approved by: blackend (mentor)
* Fix few typosemax2003-11-113-7/+7
| | | | | Reviewed by: imp, julian, ru Approved by: imp (mentor)
* Ignore case when comparing CHAP/CHAP81 responsesbrian2003-11-101-7/+12
| | | | PR: 31771
* Correct the include path so that the include files are foundharti2003-11-102-5/+7
| | | | with include "...".
* Fix the build by adjusting the include directives. The problem washarti2003-11-102-4/+6
| | | | | that the sources use "..." includes to get at include files that later on reside in an include sub-directory.
* enable aes-xcbc-mac and aes-ctr, again.ume2003-11-101-3/+3
|
* Link the SNMP daemon for NgATM to the build.harti2003-11-101-0/+1
|
* Add the build infrastructure for the SNMP daemon that is the baseharti2003-11-108-0/+202
| | | | for the NgATM ILMI daemon and for the tree parsing helper program.
* Add build infrastructure for libbsnmp and the modules. Add theharti2003-11-109-0/+2735
| | | | netgraph module for the SNMP daemon.
* Increase MAXDEV up to 10.simokawa2003-11-091-1/+1
|
* Cosmetic change.simokawa2003-11-071-2/+2
|
* Add a small testcase for the new -f-f mode.phk2003-11-051-0/+60
|
* Give mtree(8) the ability to take [two -f spec] arguments and comparephk2003-11-057-8/+238
| | | | the two specifications to each other.
* Rename spec() and verify() functions to have mtree_ prefix and takephk2003-11-054-13/+10
| | | | explicit file descriptor instead of assuming stdin.
* Take advantage of the fact that we know the err(3) function does notphk2003-11-051-24/+14
| | | | return to eliminate some else clauses and gain some "outdenting".
* - do hexdump on send. set length field properlyume2003-11-056-920/+1220
| | | | | | | | | | | | | | | | | - check for encryption/authentication key together with algorithm. - warned if a deprecated encryption algorithm (that includes "simple") is specified. - changed the syntax how to define a policy of a ICMPv6 type and/or a code, like spdadd ::/0 ::/0 icmp6 134,0 -P out none; - random cleanup in parser. - use yyfatal, or return -1 after yyerror. - deal with strdup() failure. - permit scope notation in policy string (-P esp/tunnel/foo%scope-bar%scope/use) - simplify /prefix and [port]. - g/c some unused symbols. Obtained from: KAME
* Add a "-f" flag for asf(8) which performs a search to find the each modulegreen2003-11-042-22/+128
| | | | | | | | | | | no matter where in the directory structure it may be. Use this and the "-k" flag in the generated gdbinit files so that the "getsyms" function in gdb requires no user intervention to run and will find every module if they're in the kernel build's module directory. This is still quite useful for cases where gdb knows that the path for some modules is /boot/kernel and others are in the object directory for /usr/src/sys/$ARCH/compile/kernel. Approved by: grog
* o Don't tell that there's such a thing as a C suffix for specifyingmarcel2003-11-042-14/+44
| | | | | | | | a partition size on ia64. It's not true. o Ask for a mountpoint for EFI partitions as well and check that it isn't "/". o On ia64 we may need to add EFI partitions. Make sure we pass the right arguments to Create_Chunk_DWIM() in that case.
* Build zzz(8) on ia64. It first checks ACPI before it checks for APM.marcel2003-11-031-1/+2
| | | | It will therefore always suspend using ACPI.
* o Add PART_EFI so that we can use it instead of PART_FAT on ia64marcel2003-11-026-52/+116
| | | | | | | | | | to better deal with the fact that we need an EFI partition and that we need to have a mountpoint for it. o When creating a new partition, add EFI to the list of types the user can select from. This makes it easy to create an EFI. o Do not include wizard.c on ia64. o The user cannot create a partition on ia64 that's a multiple of the cylinder size. We don't have a notion of cyclinders.
* o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot havemarcel2003-11-012-4/+4
| | | | | | a generic kernel with syscons. o Do not define WITH_SLICES on ia64. We only label because we're going to create GPT disks.
* o Compile-out "wizard" mode on ia64.marcel2003-11-012-8/+52
| | | | | | | | | o Also allow swap and filesystem partitions outside a freebsd slice. This is typically the case for GPT. o Allow chunks of type "whole" to be displayed at the top. This is to allow a GPT disk to be labeled. We need a slice out of which we can make partitions, but a GPT disk doesn't have slices. For GPT disks a chunk of type "whole" can then be used as a placeholder.
* o Compile-out "wizard" mode on ia64.marcel2003-11-012-4/+8
| | | | | o Do not set bootblocks on ia64. It's not even a functionality in libdisk on ia64.
OpenPOWER on IntegriCloud