summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix generation of check-state rules, which i broke in last commit.luigi2002-08-041-1/+1
|
* Small diffs that p4 didn't catch when I extractedmux2002-08-031-2/+1
| | | | the diffs from my branch.
* This should have been committed too, I have no ideamux2002-08-031-1/+1
| | | | why p4 didn't gave me this diff too.
* I should have committed this ages ago...mux2002-08-031-3/+15
| | | | | | Convert init(8) to use nmount() instead of mount() when it has to mount devfs. This doesn't happen normally, since the kernel is supposed to mount devfs itself.
* Now that the kernel is able to load modules itself,mux2002-08-0314-231/+25
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-022-1/+5
| | | | | | | | | | | | | | kernel access control. Teach mount(8) to understand the MNT_MULTILABEL flag, which is used to determine whether a file system operates with individual per-vnode labels, or treats the entire file system as a single object with a single (mount) label. The behavior here will probably evolve some now that nmount(2) is available and can more flexibly support mount options. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Forgot this one: properly initialize an address set when the setluigi2002-07-311-3/+1
| | | | | size is less than 32 bits (/28 mask or more). Also remove a debugging fprintf().
* Two bugfixes:luigi2002-07-311-15/+26
| | | | | | | | | + the header file contains two different opcodes (O_IPOPTS and O_IPOPT) for what is the same thing, and sure enough i used one in the kernel and the other one in userland. Be consistent! + "keep-state" and "limit" must be the last match pattern in a rule, so no matter how you enter them move them to the end of the rule.
* Also print the serial # on atacontrol cap ....sos2002-07-311-0/+1
|
* Fix a bunch of format string warnings which brokemux2002-07-316-35/+43
| | | | | | the sparc64 build. Tested on: sparc64, i386
* Remove some additional paranoia which Kirk forgot to remove from hisphk2002-07-302-4/+2
| | | | | | | | | | | | | UFS2 commit. These bits in essence made any instance of "softupdates expected corrution", (ie blocks marked allocated but not referenced by an inode etc) result in a exit value for fsck_ffs of 2. 2 is part of the magic and appearantly undocumented protocol between fsck_FOO and fsck and means "dump into single user mode ASAP. Sponsored by: DARPA & NAI Labs.
* Warning cleanup.phk2002-07-3012-74/+74
| | | | Format changes by peter
* Don't depend on pollution in <machine/limits.h> (by way ofmike2002-07-291-0/+1
| | | | <sys/param.h>) for definition of <stdint.h> macros.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* Nuke whitespace at EOL.dd2002-07-282-3/+3
|
* What we're actually passing around is an ioctl request, not a command,dd2002-07-281-3/+3
| | | | and it's an unsigned long, not an int.
* This compiles cleanly with WARNS=5 on i386 and alpha, so try to makedd2002-07-281-1/+1
| | | | sure that doesn't change.
* Implement this (quoted from the updated man page): If the first tokendd2002-07-284-9/+181
| | | | | of a rule specification is a single dash (``-''), rules are read from the standard input and the rest of the specification is ignored.
* Use more standard section names in an attempt to unconfuse new usersdd2002-07-281-8/+5
| | | | | | | | | | | (and make it easier to find stuff for the old ones). I originally put everything under one "RULE SUBSYSTEM" so it didn't look like devfs(8) is dedicated to the rule subsystem, but since nobody has any idea what else might go here, it's not worth confusing people just to save a little time for someone that might add something rule-unrelated to devfs(8) in a few years. Suggested by: sheldonh, phk
* Fix spacing for -P (policy) examples.fenner2002-07-271-10/+3
|
* Add SEE ALSO references to papers handling RED.sheldonh2002-07-251-0/+26
|
* Turn nfsiod back on. It is basically now just a sysctl wrapper that alsopeter2002-07-241-0/+1
| | | | arranges a kldload of the nfs client file system code if necessary.
* WARNS cleanpeter2002-07-242-7/+6
|
* s/IPSEC/IPsec according to RFCsblackend2002-07-231-1/+1
| | | | | | PR: in part docs/38668 Reviewed by: charnier MFC after: 10 days
* Connect up gpt and mca subdirs for ia64peter2002-07-201-1/+3
|
* Grab a snapshot of Marcel's WIP ia64 machine check decoder.peter2002-07-202-0/+509
| | | | Obtained from: marcel
* Grab a snapshot of Marcel's gpt tool. This is still a work-in-progresspeter2002-07-2010-0/+1454
| | | | | | but is useful to have handy. EFI GPT partitions are used instead of the fdisk+disklabel combination. They are pure 64 bit LBA, are fully extensible, support up to 16383 partitons per disk, etc.
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-1/+1
|
* di_createtime -> di_birthtime.roberto2002-07-171-1/+1
| | | | Submitted by: Udo Schweigert <Udo.Schweigert@siemens.com>
* Change utimes to set the file creation time (for filesystems thatmckusick2002-07-174-19/+37
| | | | | | | | support creation times such as UFS2) to the value of the modification time if the value of the modification time is older than the current creation time. See utimes(2) for further details. Sponsored by: DARPA & NAI Labs.
* Introduce the DEVFS "rule" subsystem. DEVFS rules permit thedd2002-07-176-0/+949
| | | | | | | | | | | administrator to define certain properties of new devfs nodes before they become visible to the userland. Both static (e.g., /dev/speaker) and dynamic (e.g., /dev/bpf*, some removable devices) nodes are supported. Each DEVFS mount may have a different ruleset assigned to it, permitting different policies to be implemented for things like jails. Approved by: phk
* Fixed some print format errors. Avoid some warnings about possiblebde2002-07-161-4/+5
| | | | | | (but not actual) alignment problems. Both of these bugs were detected on ia64's and were fatal on ia64's due to premature setting of WARNS to 4.
* Replace extra call to "tunefs" with the equivalent of "newfs -U".rse2002-07-151-2/+1
| | | | Reviewed by: phk
* The .Nm utilitycharnier2002-07-141-7/+10
|
* A bunch of minor fixes:luigi2002-07-131-8/+11
| | | | | | | | | | | | * accept "icmptype" as an alias for "icmptypes"; * remove an extra whitespace after "log" rules; * print correctly the "limit" masks; * correct a typo in parsing dummynet arguments (this caused a coredump); * do not allow specifying both "check-state" and "limit", they are (and have always been) mutually exclusive; * remove an extra print of the rule before installing it; * make stdout buffered -- otherwise, if you log its output with syslog, you will see one entry for each printf(). Rather unpleasant.
* Remove unused variables due to libufs(3) commit. Clean up extraneous use ofjmallett2002-07-111-4/+3
| | | | semicolon at closing paren of a function body.
* Convert dumpfs(8) to libufs(3), rather than rolling local functions for ajmallett2002-07-112-39/+14
| | | | number of things.
* Add a bit of information on FFS snapshots to the mount(8) manual page.trhodes2002-07-111-0/+67
| | | | | | PR: 30139 Submitted by: Chris Knight <chris@aims.com.au? MFC after: 3 days
* Convert old style (type foo *)0 casts to NULLsdillon2002-07-111-3/+3
| | | | | PR: kern/40360 Requested by: Hiten PAndya via direct email
* Fixed 4 printf format errors that were fatal on alphas. %qd is not evenbde2002-07-111-7/+9
| | | | | suitable for printing quad_t's since it is equivalent to %lld but quad_t is unsigned long on alphas. quad_t shouldn't be used anyway.
* Uncommented WARNS=0. ipfw2.c is full of printf format errors that arebde2002-07-111-1/+1
| | | | | | | | fatal on alphas. Fixed setting of WARNS. WARNS should never be set unconditionally, since this breaks testing of different WARNS values by setting it at a higher level (e.g., on the command line).
* Replace the 'at least the amount of physical memory + 64K' with a betterdillon2002-07-091-2/+5
| | | | explanation in regards to sizing the dump device.
* Oops, the previous revision (1.22) introduced a potential alignmentiedowse2002-07-081-15/+20
| | | | | | | | | issue, since the MAXBSIZE-sized buffers are accessed as arrays of block pointers, but were declared as char[] arrays. Use a union to avoid this, which also makes a number of casts unnecessary. Pointed out by: bde Reviewed by: bde
* Fixed some world breakage caused by not updating clients when <timeconv.h>bde2002-07-081-0/+1
| | | | | was split off from <time.h>. This became fatal here when -Werror was reenabled.
* - Do not include <utmp.h> for no reason.robert2002-07-082-4/+0
| | | | - Remove unneeded utmp path constant.
* Use a fixed MAXBSIZE-size auto array instead of a static pointeriedowse2002-07-081-6/+2
| | | | | | | | | to a malloc'd buffer in dmpindir() and dirindir(). These functions recursively call themselves to handle deeper levels of indirect blocks, so a single static buffer was not suitable. Bug tracked down by: Don Lewis <dl-freebsd@catspoiler.org> Approach suggested by: bde
* Replace the use of %qd with intmax_t/%jd and fix a number of -Walliedowse2002-07-084-20/+23
| | | | | | | and -Wformat warnings: o Include timeconv.h for the time conversion functions. o Remove unused variables. o Correct a few cases where %d was used when printing longs.
* Remove nfsd and mountd from src/sbin, look for it in src/usr.sbingordon2002-07-079-4202/+0
|
* Unhook sbin/nfsd and sbin/mountd from the build. They will be moving togordon2002-07-071-2/+0
| | | | | | /usr/sbin shortly. Reviewed by: jake (mentor)
* Don't explicit kill of the process' own pid.ume2002-07-071-5/+4
| | | | | | PR: bin/38862 Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification MFC after: 1 week
OpenPOWER on IntegriCloud