Commit Graph

598 Commits

Author SHA1 Message Date
sborrill
67d1007e0f Fix syntax for load command. There is no = sign when specified as a command
vs being a boot.cfg directive.
2008-05-03 20:19:02 +00:00
sborrill
dac9aa49ba Add support for multiple commands separated by semi-colons on menu lines
in boot.cfg.
e.g.
menu=Boot with module foo:load=/foo.kmod;boot
2008-05-03 09:46:40 +00:00
martin
00d2f7cc97 Move to 2 clause license 2008-05-02 19:09:56 +00:00
martin
cd22f25e6f Move TNF licenses to 2 clause form 2008-05-02 18:11:04 +00:00
ad
bfc5732320 - Give x86 BIOS boot the ability to load new style modules and pass them
into the kernel. Based on a patch by jmcneill@, with many fixes and
  improvements by me.

- Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that
  you can load miniroot.kmod from the boot blocks and boot into the
  installer!
2008-05-02 15:26:38 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
plunky
486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
sborrill
25ac1dd285 Note that /etc/mtree/special.local can override entries in
/etc/mtree/special not just add new entries.
Explain that check_mtree_follow_symlinks will give reports of links not
being links (notably /etc/localtime)
2008-04-08 14:51:02 +00:00
jmmv
dad672bb3e Beleatedly document the MODULAR kernel option and mk.conf's MKMODULAR.
Per hubertf@'s request.
2008-03-22 12:29:01 +00:00
lukem
a98f1bcdff Describe 'bool'. Update 'list'.
Inspired by FreeBSD.

Note: we could seek more inspiration from FreeBSD WRT login.conf(5)
and login_cap(3)'s implementation.
2008-02-25 23:52:48 +00:00
elad
52cf460a76 Following input from Matthew Mondor, some Veriexec documentation changes:
- Document the signatures file format in a veriexec(5) man-page,
  - Document the strict levels and a general Veriexec intro in veriexec(8)
    instead of security(8).

Okay blymn@.
2008-02-18 10:37:19 +00:00
xtraeme
6efe384afc Remove references to check_uucp in daily.conf(5) and the defaults
file... uucp was removed a while ago.
2008-01-27 05:20:24 +00:00
apb
4ee202cfe2 If a menu line in boot.cfg has an empty description, then re-use the
command as the description.  For example,

	menu=:boot netbsd -s

now works like

	menu=boot netbsd -s:boot netbsd -s
2008-01-05 19:29:16 +00:00
apb
d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
sborrill
ccf6d08a57 i386 and amd64 share a bootloader, so this should work on both.
Thanks to xtraeme@ and bouyer@ for pointing out this oversight.
2007-11-22 15:27:22 +00:00
sborrill
3a63ee360d While boot.cfg support is currently i386 only, it is hoped that its use
will be extended to other appropriate ports in future. Note as such in the
bugs section.

This is an MI man page, so should not be flagged as i386 in the header.
2007-11-21 08:14:10 +00:00
sborrill
d849e6b356 Add support for /boot.cfg configuration file in x86 boot loader.
This allows easy configuration of banner text, console device and timeout
as well as allowing menus of commands to be displayed. If /boot.cfg
is not present, then the existing behaviour does not change.

The sections in the boot loader source are surrounded by #ifdef SMALL
allowing this functionality to be removed if space is at a premium.
2007-11-20 15:37:36 +00:00
minskim
11b36d4969 Remove the MKUUCP entry as uucp is no longer in src. 2007-10-18 22:39:02 +00:00
reed
2d8c92dafd My last commit accidently added the links for some other manpages.
Remove those for now.
And commit them later at same time with distrib/sets/lists/base/mi.
Sorry!
2007-10-06 11:39:36 +00:00
reed
bced21f4e8 Add sysctl.conf.5 manpage.
Thank you, wiz, for the few mandoc suggestions.
I slightly reworded part of the description and removed the
advertising clause from the version I posted to tech-userlevel.
2007-10-05 18:49:43 +00:00
mishka
6e6d7fe39f Adjust wscons.conf documentation to its current 'setvar' behavior
(rc.d/wscons is now able to set variables for arbitrary control device).
2007-08-10 06:14:08 +00:00
rumble
60f2903e7a struct dirent is padded to an 8 byte boundary according to sys/dirent.h. 2007-06-22 15:03:40 +00:00
ginsbach
8d82f5f607 Add newgrp(1) cross-reference. 2007-06-21 15:12:59 +00:00
christos
f666788961 mention services_mkdb; from Thilo Jeremias 2007-06-19 19:26:10 +00:00
wiz
39a58c1651 Bump date for previous. 2007-05-19 14:43:20 +00:00
elad
6700cfccd6 Some Veriexec stuff that's been rotting in my tree for months.
Bug fixes:
  - Fix crash reported by Scott Ellis on current-users@.

  - Fix race conditions in enforcing the Veriexec rename and remove
    policies. These are NOT security issues.

  - Fix memory leak in rename handling when overwriting a monitored
    file.

  - Fix table deletion logic.

  - Don't prevent query requests if not in learning mode.


KPI updates:
  - fileassoc_table_run() now takes a cookie to pass to the callback.

  - veriexec_table_add() was removed, it is now done internally. As a
    result, there's no longer a need for VERIEXEC_TABLESIZE.

  - veriexec_report() was removed, it is now internal.

  - Perform sanity checks on the entry type, and enforce default type
    in veriexec_file_add() rather than in veriexecctl.

  - Add veriexec_flush(), used to delete all Veriexec tables, and
    veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
  - Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
    database. This allows Veriexec to produce slightly more accurate
    logs under certain circumstances. In the future, this can be either
    replaced by vnode->pathname translation, or combined with it.

  - Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
    This can be used to recover a database if the file was lost.
    Example usage:

        # veriexecctl dump > /etc/signatures

    Note that only entries with the filename kept (that is, were loaded
    with the '-k' flag) will be dumped.

    Idea from Brett Lymn.

  - Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
    usage:

        # veriexecctl flush

  - Add a 'veriexec_flags' rc(8) variable, and make its default have
    the '-k' flag. On systems using the default signatures file
    (generaetd from running 'veriexecgen' with no arguments), this will
    use additional 32kb of kernel memory on average.

  - Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
    load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
  - The code for veriexecctl was massively simplified as a result of
    eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
    pass of the signatures file, making the loading somewhat faster.

  - Lots of minor fixes found using the (still under development)
    Veriexec regression testsuite.

  - Some of the messages Veriexec prints were improved.

  - Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.
2007-05-15 19:47:43 +00:00
plunky
c6f8856e3c For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd 2007-03-18 15:53:54 +00:00
mjf
ac72285ff1 lfs filesystems work with fstab(5), sync man page. 2007-03-09 14:24:05 +00:00
dogcow
c1a14b53bd running in emulated wizd mode, convert caddr_t to void *. 2007-03-07 00:41:16 +00:00
wiz
44e16b19dd Link to the pkgsrc guide for description of pkgsrc-specific variables.
Bump date.
2007-03-02 11:38:24 +00:00
reed
cfbdfbc5a7 Remove unused references to "clean_uucp" variable. (Code was already
removed.)

Add rebuild_whatisdb weekly variable that defaults to NO.
This is for running makewhatis weekly.
This defaults to NO because it is not needed using just base sets/default
install which provide the whatis.db file(s).
2007-02-15 23:04:10 +00:00
reed
ab2b69b1e9 Remove sentence that says variables can be set to NO to
disable the test. There is no "test". So it is confusing.

Instead say:

  The variables described below can be set to ``YES'' or ``NO'' in the
  /etc/weekly.conf file.  The default settings are in the
  /etc/defaults/weekly.conf file.  (Note that you should never edit
  /etc/defaults/weekly.conf directly, as it is often replaced during system
  upgrades.)

(I don't suggest that all are YES because of a possible upcoming
addition.)
2007-02-10 18:27:28 +00:00
reed
e8146d3cc6 Don't say the script is run "by default" because it is not.
Also mention that it is disabled.
2007-02-06 17:17:47 +00:00
elad
5e2e282f9c Add support for per-user /tmp.
Enabled via per_user_tmp in /etc/rc.conf (default off).

See security(8) and rc.conf(5) for more details.

Lots of input from thorpej@ & christos@, thanks!
2007-02-04 08:19:26 +00:00
njoly
f0142adc4d Remove wrong statement about non automatic files creation.
ok by christos
2007-01-31 15:41:37 +00:00
wiz
e0c96a247b Undo accidental change in 1.109. 2006-12-23 09:12:35 +00:00
wiz
b9b556a28f Sort sections. 2006-12-23 08:26:35 +00:00
ad
c7a999e12a Note that ACOMPAT and ASU are no longer recorded. 2006-12-22 08:00:20 +00:00
rpaulo
08a924d363 Mention wpa_supplicant rc script.
Noted by hubertf@
2006-12-04 03:52:26 +00:00
jmmv
175531f6ed Mention the maximum line length allowed in the passwd file.
Inspired by PR misc/34664.
2006-11-26 11:43:48 +00:00
jmmv
964c039645 Explain that groups can be defined using multiple lines due to the fixed
line length used to parse the file.  Closes PR misc/34664.
2006-11-26 11:35:39 +00:00
pooka
e518d4247c elf loader lives in /libexec these days. and besides, it's called
ld.elf_so, not ld.so_elf
2006-11-18 14:32:14 +00:00
christos
c04db80c0b mention that we can now escape ,'s and whitespace using a double \\ 2006-10-14 18:52:39 +00:00
wiz
88e68e1308 Bump date for previous. 2006-10-13 21:21:47 +00:00
reed
0589c4dc74 Instead of pointing to vi man page, refer to new virecover
man page for the virecover details.
2006-10-10 03:24:51 +00:00
jnemeth
89484508a4 PR/34712 -- Kibum Han -- remove mention of MKSENDMAIL as sendmail is no longer 2006-10-05 02:49:06 +00:00
wiz
6baf4f0810 Remove trailing whitespace. 2006-09-19 18:55:36 +00:00
hubertf
dd78f0e3af Try to describe what the difference between the "old" ([wu]tmp) and
"new" ([wu]tmpx) files is.

OK'd by christos@
2006-09-18 22:01:42 +00:00
hubertf
96c09cbbe1 utmp.5: xref utmpx(5)
utmpx.5: xref utmp(5)
2006-09-18 21:10:34 +00:00
plunky
4f1cbddc12 update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00