| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.
Convert all calls to POSIX from historic BSD API:
- unsetenv returns an int.
- putenv takes a char * instead of const char *.
- putenv no longer makes a copy of the input string.
- errno is set appropriately for POSIX. Exceptions involve bad environ
variable and internal initialization code. These both set errno to
EFAULT.
Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit. A few I re-wrote to use setenv()
instead of putenv().
New regression module for tools/regression/environ to test these
functions. It also can be used to test the performance.
Bump __FreeBSD_version to 700050 due to API change.
PR: kern/99826
Approved by: wes
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
|
| |
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
|
|
|
|
| |
don't allow const as putenv() arg, dup it
|
|
|
|
| |
don't allow putenv() arg be on the stack, use strdup()
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
is needed in sysinstall on boot, but not in sade on a fully working system.
After this change I noticed no change in behavior on a vty when TERM is not
set.
|
|
|
|
| |
Tested with: make universe
|
|
|
|
| |
Reported by: tinderbox
|
|
|
|
| |
Spotted by: make universe
|
|
|
|
| |
these code on other architectures.
|
| |
|
| |
|
|
|
|
| |
comment which does not apply to sade(8).
|
|
|
|
|
|
|
|
|
|
|
|
| |
disklabel part
of sysinstall. So sysinstall may retire now, we have the important non-install part
of it covered.
ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches
to change this and to clean it up internally are more than welcome.
Submitted by: mami@nyitolap.hu
|
|
|
|
| |
Repo copy by: markm
|
| |
|
| |
|
|
|
|
|
| |
Reported by: Ian J. Hart <ianjhart at ntlworld dot com>
Pieter de Goeje <pieter at degoeje dot nl>
|
| |
|
|
|
|
|
|
|
|
| |
greater than the size we autosized. Without this fix, systems with
drives under 10GB can end up with very small /usr partitions...
Broken since: January 2002
Tripped over by: simon
|
|
|
|
| |
- Remove an extra argument.
|
|
|
|
|
|
|
| |
common USA ISO rather than index 0 (Belgian).
Reviewed by: jhb
MFC after: 1 day
|
|
|
|
| |
Reviewed by: ru
|
| |
|
|
|
|
| |
Noticed by: kensmith
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic
Notes:
1. On HEAD this code is not currently used because GENERIC kernels
include SMP. This work is mainly intended for RELENG_6 where the
GENERIC kernel is UP. If HEAD changes to match then just enable
WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
we rename one kernel at the last moment (SMP if installed, otherwise
GENERIC). There are other, possibly better, approaches.
Lots of help from ru, emaste, scottl, and jhb.
|
|
|
|
|
|
|
| |
PR: bin/92160
Submitted by: Jose Liang <jose at jose dot idv pinkt tw>
Approved by: jhb
MFC After: 2 days
|
|
|
|
|
|
| |
build on archs that don't include syscons support in sysinstall.
Reported by: sparc64 tinderbox
|
|
|
|
|
|
|
|
| |
this now compiles on i386 with WARNS?= 3. Most of the fixes included
adding missing 'static' keywords to internal functions, using fully-defined
terminators in statically defined arrays of structs, and various
signed vs unsigned mismatches. Also G/C'd unused configSecurity()
function.
|
|
|
|
|
| |
to allow us to use default values in some entries to quiet warnings. This
table is actually readable again now.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by syscons.
- If we are running as init, popup the country menu before the main menu.
If a non-default country is chosen, then a second menu is brought up
to let the user choose a keymap. By default the default keymap for
the country that was selected is highlighted. If the user chooses the
default country, then the default keymap is just assumed and the user
is not presented with the keymap menu. Currently the default country
is set to "United States" except for PC98 which assumes "Japan".
PR: bin/93853
Submitted by: Seth Kingsley sethk at magnesium dot net
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
completely noop.
- Geometry sanitization for non-interactive mode is moved to correct place.
Reported by: Anton Yuzhaninov <citrin at citrin dot ru>
Pointyhat: me
|
|
|
|
|
| |
Approved by: jhb
MFC after: 1 week
|
|
|
|
| |
Approved by: jhb
|
|
|
|
|
|
|
| |
achieved by hitting 'F', which is no longer undocumented.
PR: bin/92533
Submitted by: Rudolf Cejka <cejkar at fit.vutbr dot cz>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Perform some rewording while here.
Remove register.hlp, since the code that deals with it was removed
nearly 7 years ago.
|
|
|
|
|
|
| |
know what they are doing in non-interactive mode. Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:
mediaSetCDROM
mediaOpen
command='/dist/rescue/sh /dist/scripts/install.sh'
system
mediaClose
configFile=/tmp/generated.cfg
loadConfig
Now we have full access to files on the media before installation begins.
|
|
|
|
|
|
|
| |
PR: bin/90095
Submitted by: Jakub Chromy <hicks at cgi dott cz>
Approved by: jhb (proxy mentor)
MFC after: 3 days
|
|
|
|
|
|
|
| |
Bump USR_MIN_SIZE to 128MB, so that an auto-layout install won't fail
due to /usr being too small.
MFC After: 8 days
|
|
|
|
|
|
|
| |
succeed, whilst an i386 with 256MB of RAM requires more. Up the amount
of disk hinted at as a minimum requisite for auto-layout.
MFC after: 1 week
|
|
|
|
|
|
| |
since devd(8) now provides the same functionality.
Submitted by: Anish Mistry
|
| |
|