summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove advertising clause from University of California Regent's license,markm2004-04-09133-533/+2
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* o Fix an incorrect parsing of 0.0.0.0/0 expression.maxim2004-04-091-1/+1
| | | | | PR: kern/64778 MFC after: 6 weeks
* Don't turn off the regular SIGINFO status information. The use ofiedowse2004-04-071-14/+0
| | | | | | | | | | the NOKERNINFO flag only marginally de-clutters the output and has a number of unwanted side effects: o The kernel info might be what you want to see o ^T is left non-functional if ping is killed non-cleanly o "ping -q foo &" gets suspended on tty output Encouraged by: bde
* Add a workaround.pjd2004-04-041-2/+2
| | | | | | | | | | | | Now, if we have for example: ad0s1 ad0s1c ad2s1 ad2s1c and we will try to do: gconcat label foo /dev/ad0s1 /dev/ad2s1 we'll get a panic: panic: spoiled but dcr = 1 for inside of geom_slice class, backtrace shows: g_access() g_slice_access() g_access() g_concat_read_metadata() We need to get a proper fix for this race before geom(8) will be committed.
* Fix an off-by-one error in the function used to input the ascii/hex strings.phk2004-04-041-4/+7
| | | | Be a little bit more helpful in error messages.
* Include <time.h> instead of depending on namespace pollution in <sys/stat.h>bde2004-04-041-0/+1
| | | | for the declaration of time().
* It seems growfs(8) is now WARNS?=6 safe.mux2004-04-031-1/+1
| | | | Tested on: alpha, i386, ia64, sparc64
* Fix the remaining warnings of growfs(8) on my sparc64 box withmux2004-04-031-4/+4
| | | | | | | | WARNS=6. I don't change the WARNS level in the Makefile because I didn't tested this on other archs. The fs.h fix was suggested by: marcel Reviewed by: md5(1)
* - Don't abuse caddr_t when what we really want is a void *.mux2004-04-031-4/+5
| | | | | | | - Use the %jd format and a cast to intmax_t to print an int64_t. - The return type of getopt() is an int, not a char. This fixes some warnings but there's still much more work to do here.
* Temporarily go back to WARNS=0 until I can figure out what's breakingle2004-04-031-1/+1
| | | | | | the {powerpc, sparc64, ia64} tinderboxes. Sorry for the noise. :-(
* Make growfs WARNS=6 clean.le2004-04-033-45/+49
| | | | Approved by: grog (mentor)
* Remove these MAINTAINER lines since the maintainers has had theirjohan2004-04-012-4/+0
| | | | commit bits retired for safe keeping.
* Fix regression in setkey whereby parser would fail to recognise tcp asbms2004-03-311-0/+1
| | | | | | | both a security protocol and an upper level protocol for encapsulation. PR: bin/63616 Submitted by: ume@
* Implement a '-f' flag to teach bsdlabel to work on files instead ofluigi2004-03-302-13/+52
| | | | disk partitions.
* add support for setting 802.11 rtsthreshold, transmit power,sam2004-03-304-1/+101
| | | | | | and 11g protection mode Reviewed by: imp (just code)
* Remove a stray \n from a setproctitle.dwmalone2004-03-301-1/+1
| | | | Submitted by: Niki Denev <nike_d@cytexbg.com>
* Backout revision 1.140; it seems that the previous version is clearceri2004-03-271-2/+1
| | | | | | enough. Requested by: ru
* Don't read an inode which isn't used to avoid problems on UFS2 where notle2004-03-261-0/+8
| | | | | | all inodes are initialized when running newfs. Approved by: grog (mentor)
* fix for 64-bit arch:rees2004-03-261-4/+1
| | | | | | | use %zd to print size_t types and sizeof() Approved by: alfred Tested on: sparc64, amd64
* o The lenght of the port list is limited to 30 entries in ipfw2 not to 15.maxim2004-03-261-1/+1
| | | | | | PR: docs/64534 Submitted by: Dmitry Cherkasov MFC after: 1 week
* Fixed some style bugs in the residue of rev.1.14 (mainly initialization inbde2004-03-261-26/+23
| | | | declarations, uncuddled elses and excessive braces).
* Not too much point specifying -N but not specifying -M.ru2004-03-262-14/+12
|
* Fixed some style bugs in or related to rev.1.13 (mainly misindentation ofbde2004-03-261-109/+128
| | | | the getopt() case statement).
* Correct the definition of the multilabel flag: it enables multilabelrwatson2004-03-261-3/+8
| | | | | | | MAC support on the file system, if supported, which causes MAC to treat each object as having its own label, rather than using a single label for all objects on the file system. This doesn't have to be used in combination with the tunefs/newfs flags -- it's an alternative.
* Final step of the sbin -> usr.sbin move: cvs rm src/sbin/nologin/*cperciva2004-03-254-188/+0
| | | | I meant to do this a week ago, but I forgot.
* Clarify the description of the "established" option.ceri2004-03-221-1/+2
| | | | | | PR: docs/50391 Submitted by: root@edcsm.jussieu.fr MFC after: 1 week
* Share the i386 boot manual page.obrien2004-03-221-0/+3
|
* Add initial support for compiling a special 32 bit version ofpeter2004-03-211-12/+26
| | | | | | | ld-elf.so.1 on 64 bit systems. Most of this involves using alternate paths, environment variables and diagnostic messages. The build glue is seperate.
* NULL -> 0.ru2004-03-171-1/+1
|
* Remove the RAIDframe userland tool.scottl2004-03-165-3031/+0
|
* When installing boot blocks into an Alpha BSD label, setup the location,jhb2004-03-151-0/+10
| | | | | | | | length, and flags fields at the end of the SRM boot sector so that SRM can find the bootstrap code. This fixes bsdlabel -m alpha to generate bootable disklabels. Reviewed by: phk
* Add printing of relevant SATA info where approbiate.sos2004-03-151-9/+31
|
* Validate argument to -i.jmallett2004-03-151-1/+4
|
* Don peril-sensitive glasses and throw the switch to move nologin(8) fromcperciva2004-03-131-1/+0
| | | | | | | | | | | /sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin is created for compatibility purposes. This will probably not cause any problems, but anyone who is doing anything particularly unusual with nologin(8) or shells in general might be well advised to check that everything still works. Bikesheds on: cvs-all, current
* Fix 10 year old size-of-bcopy bug.cperciva2004-03-131-1/+1
| | | | | | | | PR: bin/43930 Submitted by: Alan Barrett Approved by: rwatson (mentor) MFNetBSD: revision 1.35 MFC after: 3 days
* The print mask's first part is the base, not the total number of bitru2004-03-121-1/+1
| | | | identifiers.
* Show the polling(4) flag on the interface.ru2004-03-121-1/+1
|
* Fixed mispellings of '\0' as NULL.bde2004-03-111-2/+2
|
* Fixed misspellings of 0 as NULL.bde2004-03-111-2/+2
|
* Fix a long-standing deadlock issue with vnode backed md(4) devices:phk2004-03-102-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can provoke a buffer starvation which puts the md thread to sleep on wdrain. This generally tends to grind the entire system to a stop because the event that is supposed to wake up the thread will not happen until a fair bit of the piled up I/O requests in the system finish, and since a lot of those are on a md(4) vnode backed device which is currently waiting on wdrain until a fair amount of the piled up ... you get the picture. The cure is to issue all VOP_WRITES on the vnode backing the device with IO_SYNC. In addition to more closely emulating a real disk device with a non-lying write-cache, this makes the writes exempt from rate-limited (there to avoid starving the buffer cache) and consequently prevents the deadlock. Unfortunately performance takes a hit. Add "async" option to give people who know what they are doing the old behaviour.
* Fixed a misspelling of 0 as NULL.bde2004-03-101-1/+1
|
* Make libgeom usable by C++ programs:jhb2004-03-091-13/+13
| | | | | | | | | | - Add DECL wrappers to libgeom.h. - Rename structure members in libgeom.h to use a lg_ prefix for member names. This is required because a few structures had members named 'class' which made g++ very unhappy. - Catch gstat(8) and gconcat(8) up to these API changes. Reviewed by: phk
* Link pf to the build and install:mlaier2004-03-081-0/+7
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-055-6/+6
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* s/considred/considered/brueffer2004-03-042-2/+2
|
* Make this WARNS=2 clean by:johan2004-03-032-3/+2
| | | | | | | | | - including <timeconv.h> to get _long_to_time prototype - removing an unused variable Bump WARNS to it keep clean. Approved by: ume on ipfw@
* Fix a couple of camcontrol issues that popped up on sparc64:ken2004-03-031-2/+12
| | | | | | | | | | | | - bzero the CCB header in getdevtree() and set the path properly, to avoid having random garbage in the CCB header. - if the lun isn't specified in a device specifier, it should default to 0, not whatever random data happens to be in the lun variable. - move the prototype for getdevtree() out from under #ifndef MINIMALISTIC, since it is used in both cases. Submitted by: Marius Strobl <marius@alchemy.franken.de> (mostly) MFC After: 2 weeks
* Add CTLTYPE_QUAD to the list of types for which we don't want an emptydd2004-03-021-1/+2
| | | | value. All the other numeric types are doing it . . .
* Add skeleton build dirs for pf userland:mlaier2004-02-2813-0/+2298
| | | | | | | | | | | | | | | | | | libexec/ftp-proxy - ftp proxy for pf sbin/pfctl - equivalent to sbin/ipf sbin/pflogd - deamon logging packets via if_pflog in pcap format usr.sbin/authpf - authentification shell to modify pf rulesets Bring along some altq headers used to satisfy pfctl/authpf compile. This helps to keep the diff down and will make it easy to have a altq-patchset use the full powers of pf. Also make sure that the pf headers are installed. This does not link anything to the build. There will be a NO_PF switch for make.conf once pf userland is linked. Approved by: bms(mentor)
* o Remove obsoleted '-N' and '-d' flags.maxim2004-02-281-3/+1
|
OpenPOWER on IntegriCloud