summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: vunerable -> vulnerable.pb2002-12-221-1/+1
|
* Make newsyslog(8) print the correct date when the logs are turned over.trhodes2002-12-211-2/+2
| | | | | | PR: 46395 Submitted by: maxim MFC: eventually
* Correct path to /usr/sbin/sysinstall for HEAD since that's where it lives now.jkh2002-12-202-6/+6
|
* o Use sysctl machdep.acpi_root to get the physical address of themarcel2002-12-194-17/+42
| | | | | | | | | | | RSDP. Scan the first 1MB on i386 if the sysctl fails, o Extend struct ACPIrsdp with the ACPI 2.0 fields which involves changing a prior reserved field into the ACPI revision, o Only calculate the RSDP checksum on the first 20 bytes to remain compatible with ACPI 1.0 tables; we don't check the extended checksum covering the whole table, o Use the length field in the RSDP to map the RSDP into the address space so that we don't have to know about future extensions here.
* On drives that returns 00 as 100% done, lower the criteriasos2002-12-181-13/+13
| | | | | | for wraparound, 99 was too much for fast drives since they do not give 99 as the last value, but instead something in the 90's range.
* Change the name for the local unix-socket based protocolmbr2002-12-162-6/+13
| | | | | | | | | from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: imp (UPDATING) Requested by: iedowse, lukem@netbsd.org
* Add a new `W' flag, that when used in conjunction with the `Z' flag or thesobomax2002-12-152-8/+38
| | | | | | | | | | | | | | `J' flag means that newsyslog should wait for previously started compression jobs to complete before starting a new one for this entry. When it is used along with the `G' flag, in the case when several logfiles match the pattern and should be compressed, the newsyslog will compress logs one by one, ensuring that only one compression job is running at a time. This prevents newsyslog(8) from overloading system by starting several compression jobs on big files simultaneously. Sponsored by: Porta Software Ltd MFC after: 2 weeks
* Update ROOT_MIN_SIZE for i386 to 118MB (and other ROOT_*_SIZE).kuriyama2002-12-154-10/+10
|
* Markup fixes. Document more correctly.trhodes2002-12-141-8/+14
| | | | | PR: 43678 Submitted by: ru
* Add missing "of".fenner2002-12-141-1/+1
|
* Account for fts(3)'s FTS_SLNONE case for symbolic links which havegreen2002-12-121-0/+1
| | | | | | | | a nonexistant target, in addition to the FTS_SL previously, so e.g. setfmac -h sebsd/system_u:object_r:malloc_conf_t /etc/malloc.conf succeeds. Approved by: re
* Uniformly refer to a file system as "file system".ru2002-12-1221-82/+82
| | | | Approved by: re
* MFS: Spelling: s/transfered/transferred/trhodes2002-12-121-1/+1
| | | | | | PR: 46104 Pointed out by: Rich Morin <rdm@cfcl.com> Approved by: re (rwatson)
* mdoc(7) police: markup overhaul.ru2002-12-121-33/+37
| | | | Approved by: re
* mdoc(7) police: tiny markup nits.ru2002-12-121-6/+7
| | | | Approved by: re
* mdoc(7) police: markup fixes.ru2002-12-125-198/+219
| | | | Approved by: re
* When things get bigger than 99GB our fields run over.phk2002-12-112-10/+40
| | | | | | Use GB from 100GB and upwards. Approved by: re
* mdoc(7) police: Added the missing .Os call; it's not strictlyru2002-12-112-0/+2
| | | | | | | necessary nowadays, but is documented as "required", and may become so again in the future. Approved by: re
* mdoc(7) police: fixed the document date (the current date was used, asru2002-12-111-1/+1
| | | | | | documented in mdoc(7)). Approved by: re
* Backout unapproved WARNS level change occasionally slipped into previoussobomax2002-12-111-1/+1
| | | | | | commit. Big pointy hat to: sobomax
* - Allow comments to be placed at the end of configuration line.sobomax2002-12-113-5/+21
| | | | | | Sponsored by: Porta Software Ltd Approved by: re MFC after: 2 weeks
* Check if rpcbind is already running and print a warning.mbr2002-12-101-0/+13
| | | | | | | | | Fixes segfault if rpcbind is started up a second time. Solution has been taken from mountd(8). Reviewed by: phk Approved by: re (rwatson)
* Unhook LOMAC sysinstall twiddle for the time being: mac_lomac requiresrwatson2002-12-092-0/+4
| | | | | | | the MAC Framework to be compiled into the kernel, and that's not well-expressed in sysinstall. Approved by: re (bmah)
* Correctly handle files with IFS characters (spaces) in their names whentjr2002-12-091-7/+3
| | | | | | | cleaning up temporary files. Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* - Use some macros to define common text between the dialog boxes to set thejhb2002-12-052-76/+50
| | | | | | | | | | | | type of new slices and to change the type of existing slices. This also has the advantage of moving a few #ifdef PC98's up to where the macros are defined instead of in the middle of the code. - Change the behavior of the 'T' option in the slice editor so that the default value in the dialog box is the current type of the existing slice rather than defaulting to changing the slice to a FreeBSD slice as this is more intuitive. Approved by: re
* Minimal change to cause pkg_version to examine the new INDEX-5 filekris2002-12-042-2/+3
| | | | | instead of INDEX. This should be done better since this file name will depend on the FreeBSD major version.
* Fixed a partition type for pc98 when create or change slices in the fdisknyan2002-12-042-0/+16
| | | | | | editor. Approved by: re (jhb)
* mdoc(7) police: nit.ru2002-12-041-1/+1
| | | | Approved by: re
* mdoc(7) police: bump document date for the C rewrite, nit.ru2002-12-041-1/+2
| | | | Approved by: re
* mdoc(7) police: overhaul.ru2002-12-042-182/+272
| | | | Approved by: re
* Reformulate how sysinstall handles file system options in the labelrwatson2002-12-038-138/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | editor, in order to support specifying UFS2 as a newfs option. (1) Support three different newfs types: NEWFS_UFS, NEWFS_MSDOS, and NEWFS_CUSTOM. Don't mix up the arguments to them: you can't use soft updates on an msdos file system. (2) Distinguish adding new arguments to the newfs command line from replacing it. Permit the addition of new arguments by the user for NEWFS_UFS. If we entirely replace the command line provided by sysinstall, call it NEWFS_CUSTOM. 'N' will now add additional arguments; 'Z' will opt to replace the newfs command line entirely, but will prompt the user with their current command line as a starting point. (3) Construct the newfs command line dynamically based on the options provided by the user at label-time. Right now, this means selecting UFS1 vs. UFS2, and the soft updates flag. Drop in some variables to support ACLs and MAC Multilabel in the future also, but don't expose them now. This provides sysinstall with the ability to do more "in band" editing of the newfs command line, so we can provide more support for the user, but doesn't sacrifice the ability to entirely specify the newfs command line of the user is willing to give up on the cushiness factor. It also makes it easier for us to specify defaults in the future, and define conditional behavior based on user configuration selections. For now, we default to UFS1, and permit UFS2 to be used as the root only on non-i386 systems. While I was there, I dropped the default fragment and block sizes, since newfs has much more sensible defaults now. Reviewed by: jhb, marcel Approved by: re ia64 bits from: marcel
* Oops, forgot this cosmetic tweak to the perl menu item in my previousjhb2002-12-032-2/+2
| | | | | | commit. Approved by: re (this is what they actually reviewed)
* - Convert the installation of the X package to using installPackage()jhb2002-12-034-3/+16
| | | | | | | | | | | rather than installX11package(). - Add a perl psuedo-dist that installs the perl package. The perl distribution is selected by default when a User distribution set is selected. It is not selected when a Minimal distribution set is selected. The perl distribution may be toggled manually in the custom menu just as other distributions. Approved by: re
* Rename installX11package() to installPackage() and tweak it so that itjhb2002-12-034-12/+8
| | | | | | can be used to install any arbitrary package. Approved by: re
* Fix a bug in the fdisk editor that partially masked the chunk deletionjhb2002-12-032-4/+4
| | | | | | | | bug fixed yesterday. New slices created in the fdisk editor and slices whose sub-type is changed are of type 'mbr' if their sub-type is not a magic type, not type 'unknown'. Approved by: re
* The default CD drive is /dev/cd0, not /dev/cd0c.des2002-12-031-1/+1
| | | | | Reviewed by: jhb Approved by: re (rwatson)
* Mdoc markup and language fixes.rwatson2002-12-032-9/+14
| | | | | | | Submitted by: ru Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Replace the perl versions of adduser and rmuser with shell script versions.scottl2002-12-037-2291/+1458
| | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* Replace the remaining strcpy() instances with strlcpy(), fixing a segfaultroam2002-12-021-8/+6
| | | | | | | | when parsing a malformed command-line parameter. Rearrange a risky usage of sprintf() in a loop. Reported by: phrail@division7.us via the vuln-dev mailing list Approved by: re (rwatson)
* ia64 specific.marcel2002-12-026-6/+106
| | | | | | | | | | | | | | o Mount the EFI file system as msdosfs and not ufs as it's a FAT file system. Introduce Mount_msdos() for this to go side-by-side with Mount(). o Also, since mounting is performed as a command (which means it's queued, sorted, lost, found and executed), we cannot create a directory on the file system by calling mkdir. We must make sure the mkdir happens after the mount. Introduce Mkdir_command() to allow mkdir operations to be queued, sorted, lost, found and executed as well. Approved by: re (jhb, rwatson)
* Cast argument to (long), missed in prior pass.rwatson2002-12-021-1/+1
| | | | | Approved by: re Submitted by: marcel
* Fix 32-bit/64-bit bug in format string.rwatson2002-12-021-1/+1
| | | | | | Approved by: re Submitted by: marcel Pointy hat to: green
* Add support for -R for file relabel operations.rwatson2002-12-023-47/+508
| | | | | | | | | | | | Add 'setfsmac' link, which permits labels to be provided in a label specification file, making it easier to provide initial file system labeling specifications. This is used by the new mac_lomac to provide initial system labeling and policy, and by sebsd, the port of SELinux FLASK/TE to FreeBSD. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a morerwatson2002-12-014-8/+16
| | | | | | | BSD-esque Makefile style. Submitted by: obrien Approved by: re
* ia64: make link /boot->efi/boot relative.marcel2002-11-302-2/+12
| | | | Approved by: re (murray)
* mdoc(7) police: sweep.ru2002-11-292-13/+13
|
* - Only declare the MBR menu for i386 that is not PC98.jhb2002-11-272-2/+18
| | | | | | | | - Only declare mouse menus if WITH_MICE. - Only declare syscons menus if WITH_SYSCONS. - Only declare fdisk editor functions if WITH_SLICES. Approved by: re
* Only include the fdisk editor and associated code if WITH_SLICES isjhb2002-11-272-16/+20
| | | | | | | defined. Tested on: i386, alpha, sparc64 Approved by: re
* Only define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 usejhb2002-11-272-0/+4
| | | | | | MBR). Approved by: re
* - Only define syscons menus and syscons menu items in other menus ifjhb2002-11-272-12/+48
| | | | | | | | | | | | | | | WITH_SYSCONS is defined. - Only define mouse menus and mouse menu items if WITH_MICE is defined. - Use WITH_SLICES instead of explicit lists of architectures to control the layout of menus dependent on if slices are used on this arch or not. - Only include the linux startup option if WITH_LINUX is defined. - Only include the SVR4 startup option on i386. It doesn't work on sparc64, and it is debatable that it even works on i386. - Change the OSF1 startup option to execute configOSF1() instead of just setting the variable so that /compat/osf1 gets created. Tested on: i386, alpha, sparc64 Approved by: re
OpenPOWER on IntegriCloud