summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Don't refuse to pass the force and sync options to the kernel. Thebde1998-09-091-1/+3
| | | | | | kernel supports them, and the force option will be more important when mounting of unclean ext2fs file systems is not permitted unless it is forced.
* Add a new library function getobjformat(). It checks all thejdp1998-09-091-73/+16
| | | | | | | | | | | | | standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an indication of the user's preferred object file format. This consolidates some code that was starting to be duplicated in more and more places. Use the new function in ldconfig. Note: I don't think that gcc should use getobjformat(), even though it could. The compiler should limit itself to functions that are widespread, to ease porting and cross-compilation.
* Fix calls to mmap. It returns void *, and on failure it returnsjdp1998-09-061-11/+11
| | | | | | | | | | | MAP_FAILED. Don't try to extend the mapping in place if it is too short. There's no guarantee it will be possible. Remap the file instead. Put in a few style fixes. Submitted by: Bruce Evans <bde>
* For a.out mode, ignore shared libraries that don't have at least 2jdp1998-09-051-1/+3
| | | | version numbers.
* Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligneddfr1998-09-051-1/+4
| | | | regions properly and this triggers an unaligned access trap.
* Change MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-3/+3
|
* Now that ldconfig does elf work too, build it on alpha as well.jb1998-09-051-2/+2
|
* Implement ldconfig functionality for ELF. The hints are stored injdp1998-09-055-31/+465
| | | | | | | | | | | | | | | | | | | | | | | a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints". These hints consist only of the directory search path. There is no hash table as in the a.out hints, because ELF doesn't have to search for the file with the highest minor version number. (It doesn't have minor version numbers at all.) A single run of ldconfig updates either the a.out hints or the ELF hints, but not both. The set of hints to process is selected in the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout" or "-elf" command line option. The rationale is that you probably want to search different directories for ELF than for a.out. "ldconfig -r" is faked up to produce output like we are used to, except that for ELF there are no minor version numbers. This should enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports even for ELF. I implemented the ELF functionality in a new source file, with an eye toward eliminating the a.out code entirely at some point in the future.
* Sort cross references.wosch1998-08-312-4/+4
|
* Split lines into one subdir per line.gpalmer1998-08-302-11/+64
|
* Install ipmon.8 in man8/ not man1/.jkoshy1998-08-301-1/+1
| | | | | PR: 7778 Submitted by: horikawa@jp.freebsd.org
* Updated manual page. Removed description of (now defunct) -c restrictions.dillon1998-08-271-3/+2
|
* Use explicitly sized types when formatting cylinder groups.dfr1998-08-271-7/+7
|
* Remove -c restrictions from previous commit.des1998-08-261-13/+1
|
* (well tested at BEST): -i option can now take FP values (e.g. -i 0.1),dillon1998-08-262-17/+46
| | | | | | | extremely useful for networking testing. Other options secured from user-level D.O.S. attacks. -f, -s now root-only. -i wait times < 1.0 root-only. -c count limited to 100 and defaults to 16 when ping run by non-root user.
* Change length arguments to sysctl to size_t.dfr1998-08-251-5/+21
|
* Attempt to fix my breakage of the alpha makebootarea() in rev.1.19.bde1998-08-232-14/+14
| | | | | The previous attempt just converted compile time breakage to runtime breakage.
* Try to make this compile on both alpha and i386gpalmer1998-08-212-4/+4
|
* Fix the machine dependent SUBDIR I removed by mistake in the last commit.jb1998-08-201-1/+5
|
* Fixed style bugs in previous commit.bde1998-08-172-74/+72
| | | | Added some comments on #endifs.
* Teach disklabel how to install a bootstrap on an alpha with SRM console.dfr1998-08-172-4/+74
|
* All but two if these build on alpha now, but most are untested.jb1998-08-151-13/+9
| | | | ldconfig isn't required.
* Use explicitly sized types when laying out the cylinder groups. Thisdfr1998-08-153-18/+18
| | | | | | bug was the cause of the 'freeing free frag' panics that people have been seeing with FreeBSD/alpha. I have a similar patch to newfs but I've not finished testing it.
* Forgot to remove a ';' in my previous commit.charnier1998-08-121-2/+2
|
* Add "-aout" option when calling the linker, so that this will workjdp1998-08-121-3/+3
| | | | | in an ELF world. This will have to be revisited when the kernel moves to ELF.
* unifdef -UISOphk1998-08-071-119/+1
| | | | Inspired by bdes comment to PR: 7419
* Fix LIBDIR (for aout/ELF).markm1998-08-062-2/+4
|
* PR: 7475thepish1998-08-042-8/+14
| | | | | Added support for -q (suppress output) when firewall rules are taken from a file. Solves PR 7475
* There seem to be two messages that were added with soft-updatesphk1998-08-043-9/+9
| | | | | | | | | | | support, which need a final "\n". I only observed one line of mangled output, but I think there is another one which suffers from the same problem, and thus I provide a patch that covers both. PR: 7483 Reviewed by: phk Submitted by: Stefan Esser <se@FreeBSD.org>
* Use errx() instead of err() for malloc failures. -Wall. Do not dotcharnier1998-08-032-13/+14
| | | | terminate errx() string. Remove unused #includes. Use .Tn for NFS.
* Document -n (soft-update) flag.charnier1998-08-032-21/+21
| | | | Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
* .Nm swapon -> .Nm.charnier1998-08-032-12/+11
| | | | Sort #includes. Add rcsid.
* Correct use of .Nm and .Ev.charnier1998-08-032-31/+34
| | | | Add rcsid, rmove unused #include. Spelling.
* Typo: i. e. -> i.e.charnier1998-08-033-14/+13
| | | | Remove unused #include.
* Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.charnier1998-08-032-17/+19
|
* Correct use of .Nm, add .An.charnier1998-08-031-7/+9
|
* Fixed printf format errors.bde1998-08-027-16/+20
|
* Avoid trying to malloc > (1<<32) bytes of memory due to an arithmeticdfr1998-08-013-6/+6
| | | | underflow on the alpha.
* Document the kern.logsigexit sysctl variable (sort of).joerg1998-07-291-1/+2
| | | | Reminded by: bde
* Commit patch from Tor Egge to fix the "large filesystem restore" problem.imp1998-07-281-6/+12
| | | | | | | This appears to work for me in the old case, but I don't have large enough filesystems to test the fix case. Reported working by: karl@mcs.net
* Spelling. Errx() on malloc() failure.charnier1998-07-282-11/+18
|
* Correct use of .Nm, add rcsid, remove unused #include.charnier1998-07-282-12/+15
|
* Spelling, add rcsid, remove unused #includes.charnier1998-07-2815-168/+183
| | | | | | | | Convert 1000000 usec to 1 sec 0 usec. Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation failure. Correct use of .Nm Add usage() and use errx().
* Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getoptcharnier1998-07-282-28/+24
| | | | | returns -1. Correct use of .Nm. Spelling. Add rcsid and remove unused #include.
* Add rcsid. Remove unused #includes. Add missing prototypes and others -Wallcharnier1998-07-289-35/+51
| | | | cleanings. Spelling.
* Use an error message that more clearly indites(sp?) an out-of-synchoek1998-07-271-2/+2
| | | | | | kernel+userland when that is the case. PR: bin/7414
* Fixed bugs in `disklabel -R...':bde1998-07-252-16/+42
| | | | | | | | - nonstandard sector sizes didn't work because the sector size in the ASCII label was not read before a (default, wrong) sector size was used. - the exit status was 0 after exiting early due to an invalid ASCII label. Abort `disklabel -B...' if the secondary bootstrap doesn't fit.
* /usr/src/sbin/routed/parms.c and .../routed/rtquery/rtquery.c bothphk1998-07-222-4/+4
| | | | | | | | | | | contain code that compare a char pointer with a char. As this doesn't make much sense, it looks very much as if a '*' has been dropped by mistake. I have made no analysis of the possible consequences of the problem. PR: 7319 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Memory management error in init.phk1998-07-221-2/+5
| | | | | | PR: 7320 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Document sef's recent changes in the corefile naming.joerg1998-07-211-1/+2
| | | | Reviewed by: sef (well, i believe his `Looks good' was a review result :)
OpenPOWER on IntegriCloud