Commit Graph

8979 Commits

Author SHA1 Message Date
hubertf
b850659285 Revert previous commit - just keep logfiles around, don't nuke them on
upgrades.
2006-09-30 22:50:41 +00:00
dsl
4bde2b5d8d Redraw the 'welcome' message when we redisplay the 'utility' menu.
Otherwise it will sit atop the last data output by the last executed
utility.  Even a blank screen looks funny.
2006-09-29 19:41:07 +00:00
macallan
8c774caf8c Add gimpy's OF device tree dumping tool.
Tested on macppc and sparc64
2006-09-29 19:03:11 +00:00
martin
f944aa66d2 Ignored interfaces should be ignored, wether they are IFF_UP or not.
For example eon0 is always up after boot, but completely useless.
2006-09-29 10:37:49 +00:00
martin
3da83175e0 If we ask "is any of these interfaces connected?" we want the answer to be
"yes", and abort if it is "no" - not vice versa.
XXX - when returning to the utilities menu loop, the menu message should
be output again, I think. I couldn't figure out how that is supposed to
be done though.
2006-09-29 09:56:04 +00:00
martin
109baa1a34 Make the DEBUG version build again. 2006-09-29 09:29:12 +00:00
pavel
7c45d943a0 Do not strip INSTALL kernels. Makefile.tarfloppy does this now. 2006-09-29 08:20:44 +00:00
pavel
9883a03a3c Strip the kernel before it is written to floppy. This will allow to have
unstripped INSTALL kernels in the release.

OK lukem@.
2006-09-29 08:16:41 +00:00
christos
7ba8127306 update sets 2006-09-28 21:50:09 +00:00
hubertf
1bb8fe58a4 add back aculog & mark as obsolete 2006-09-28 21:18:40 +00:00
jmcneill
b11beef4fa Add acadapter, lid_switch, and sleep_button powerd scripts. 2006-09-26 02:19:56 +00:00
christos
64d44756ee add csplit. 2006-09-25 19:23:42 +00:00
elad
9eeeb5537f Add /usr/include/sys/systrace.h, pointed out by xtraeme@, thanks! 2006-09-24 12:23:03 +00:00
kleink
1e794d1b5d Add links from tzdata2006l update. 2006-09-23 17:37:58 +00:00
jmcneill
71207876a1 Add Canadian French keyboard mapping, from Matthew Mondor in PR# 23184. 2006-09-23 02:37:45 +00:00
christos
6172879b25 add the new linux example directories. From Steven M. Bellovin 2006-09-22 23:03:24 +00:00
dbj
9891916c61 add missing prop_dictionary_send_ioctl.3 2006-09-22 19:45:57 +00:00
christos
967d77bc4d Add linux makedev 2006-09-22 15:38:43 +00:00
thorpej
6cf1ffe998 Alter the protocol impemented by prop_kern to allow for bi-directional
plist-based messages and to eliminate looping previously required to
receive a plist from the kernel:

- prop_dictionary_copyin_ioctl() and prop_dictionary_copyout_ioctl()
  now take the cmd argument rather than the file open flag.  The
  read-ness or write-ness of an ioctl command is checked by these
  routines to ensure that information is being passed to/from the
  userland component properly.

- prop_dictionary_copyout_ioctl() now allocates the memory for the
  XML plist on behalf of the userland component by way of uvm_mmap().
  The XML plist is copied out to the newly-mapped anonymous region,
  and the pointer returned via the plistref.

- prop_dictionary_recv_ioctl() is responsible for munmap()'ing the
  region after parsing the XML plist into internal represenatation.

- A new prop_dictionary_sendrecv_ioctl() is added, allowing user space
  code to send a dictionary to the kernel and receive one back as a
  reply.


Update users of prop_kern for the API changes (Bluetooth).

This constitutes an ABI / protocol change -- but this will also be put
into NetBSD 4.0 so that the first proplib release will implement the new
scheme.
2006-09-22 04:20:23 +00:00
wiz
df07ad58a8 Install aliases(5) from postfix, since the sendmail one is gone,
but we refer to it from various other man pages.
2006-09-19 20:10:22 +00:00
hubertf
035a96fc94 Update polish translation, by Piotr Meyer <aniou@smutek.pl>
Also fix a typo that was there before, pointed out by zuntum@.

OK'd by zuntum@
2006-09-19 14:47:10 +00:00
hubertf
a021833b49 Remove last traces of /var/log/aculog
OK'd by perry@
2006-09-18 22:39:37 +00:00
dbj
b8b19d6145 add veriexecgen.debug 2006-09-18 08:12:27 +00:00
dbj
49b5953fca sort lines, no intended functional change 2006-09-18 08:09:29 +00:00
wiz
162efeaa51 Update set lists for share/man/man9/Makefile commit:
Make links from ieee80211(9) to pages for all included functions.
2006-09-17 21:47:25 +00:00
tsutsui
42f593a4d5 Reorganize macppc_installboot to make macppccd.iso image actually bootable
on (some) OpenFirmware 2.x machines.

Current macppccd.iso image doesn't boot on Openfirmware 2.x
(and probably 1.0.5) machines because it uses pre-compiled binary
which is based on old (and customized) bootxx.
It causes version mismatch against newer ofwboot whose load address
has been changed from 0x600000 to 0xe00000, as mentioned in the
following post:
http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html
There was also an raw binary which was passed to mkisofs as -boot-hfs-file.

To fix these issue, prepare a simple mkhfsboot program which creates
a boothfs file with the Apple partition map info for mkisofs,
and modify macppc_installboot to search the secondary ofwboot from isofs
and to put and modify the primary bootxx accordingly.
See PR toolchain/30245 for more details.

There are still some machines which don't boot from an iso image created
by this method (G3 machines with OF 2.0f1 etc.), but it's still better
than to keep ugly and obsolete hacks.

Ok'ed by macallan, and there is no other particular comment about this PR.
2006-09-17 03:56:03 +00:00
tsutsui
097bad5fd3 Remove trailing slash from RSYNC_INCLUDE and RSYNC_EXCLUDE pathes
so that rsync can get regular files.
2006-09-17 03:20:46 +00:00
elad
5727e58f16 Obsolete old fingerprint generation scripts. 2006-09-16 21:03:11 +00:00
elad
ade08c91dc Add a C version of Veriexec's fingerprint generator, written by Matt
Fleming.

This one has some nice options -- for example, an admin can run right
after installing a system:

        fpgen -D

and it will fingerprint a set of "common" system directories to the
default loaction. See the man-page for more stuff.

Performance-wise, here are results for both fpgen.sh (old) and this
new tool:

	474.599u 574.335s 13:53.05 125.9%       0+0k 0+307io 0pf+0w

	0.424u 0.131s 0:00.56 98.2%     0+0k 0+2io 0pf+0w

...guess which is which? (that's ~1500 times *faster*)
2006-09-16 20:54:42 +00:00
yamt
f349782fa8 add workqueue_destroy. 2006-09-16 11:15:50 +00:00
tnozaki
138067b448 - rename KOI8-BASE more suitable name, GOST19768-74.
- fix wrong conversion table KOI7 and KOI7-switched.
2006-09-16 08:38:20 +00:00
elad
a416017103 Add a man-page for secmodel_overlay(9). 2006-09-16 08:37:33 +00:00
elad
85e66157f0 Add a man-page for secmodel_bsd44, describing a bit the concepts of
super-user and securelevel.

The securelevel part was compiled of text from both init(8) and OpenBSD's
securelevel(7), and brought in-sync with what we really do.
2006-09-15 20:01:38 +00:00
hubertf
8d5320e242 Fix last commit - it's nice to actually be able to select sets when told so 2006-09-14 14:42:37 +00:00
pavel
d8b49bb74e Factor out common settings from /root/.shrc and /etc/skel/.shrc to a
new file /etc/shrc.

As proposed on tech-userlevel.
2006-09-14 13:01:31 +00:00
dbj
b35222ae45 obsolete trsp.debug 2006-09-12 05:29:50 +00:00
simonb
61cfd56598 White space nits. 2006-09-12 02:36:37 +00:00
dbj
a1ab34c948 add lockstat.debug 2006-09-12 00:54:06 +00:00
dbj
8500662e28 rename 2 installed files in xsrc which may have case conflicts in $DESTDIR
/usr/X11R6/bin/xdmx -> /usr/X11R6/bin/dmx
 /usr/X11R6/include/X11/bitmaps/Stipple -> /usr/X11R6/include/X11/bitmaps/Stippler
2006-09-11 22:28:33 +00:00
dbj
ad69f7c05a fixes for building into case preserving, but case insensitive $DESTDIR
- have checkflist do a second possibly case insensitive check for
   files which are missing from DESTDIR
 - have postinstall require exact case matches for obsolete files
2006-09-11 22:16:10 +00:00
riz
be7b64549b Only descend into instkernel if MACHINE_ARCH is mipsel. Un-breaks
evbmips-mipseb builds.
2006-09-11 06:12:23 +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
riz
11d88bbe54 Add msk(4) info to the sk(4) manpage, and install links (from OpenBSD).
Also, add msk to DEVNAMES.
2006-09-09 23:52:27 +00:00
tnozaki
3acfcd1374 add iconv GB18030 <-> Unicode BMP conversion table. 2006-09-09 15:43:04 +00:00
elad
5f7169ccb1 First take at security model abstraction.
- Add a few scopes to the kernel: system, network, and machdep.

- Add a few more actions/sub-actions (requests), and start using them as
  opposed to the KAUTH_GENERIC_ISSUSER place-holders.

- Introduce a basic set of listeners that implement our "traditional"
  security model, called "bsd44". This is the default (and only) model we
  have at the moment.

- Update all relevant documentation.

- Add some code and docs to help folks who want to actually use this stuff:

  * There's a sample overlay model, sitting on-top of "bsd44", for
    fast experimenting with tweaking just a subset of an existing model.

    This is pretty cool because it's *really* straightforward to do stuff
    you had to use ugly hacks for until now...

  * And of course, documentation describing how to do the above for quick
    reference, including code samples.

All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:

	http://kauth.linbsd.org/kauthwiki

NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:

  - Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
  - Checks 'securelevel' directly,
  - Checks a uid/gid directly.

(or if you feel you have to, contact me first)

This is still work in progress; It's far from being done, but now it'll
be a lot easier.

Relevant mailing list threads:

http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html

Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).

Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.

Happy birthday Randi! :)
2006-09-08 20:58:56 +00:00
tron
8e86c1ab96 Make sure that all "move-if-change" scripts in "src/gnu/dist" are
executable in the source ".tgz" files. This is necessary while
bootstrapping the toolchain which isn't done using NetBSD makefiles.

This should fix PR toolchain/34489 by Kirk Russell.
2006-09-07 22:03:58 +00:00
itohy
cb2fb285ec Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)
This driver supports NinjaATA-32Bi and NPATA-32 chips,
which are used for CardBus ATA interface cards and
CardBus CompactFlash adapters.
2006-09-07 14:22:07 +00:00
garbled
3ac9a5180a Note support for the F40 in the distrib notes. 2006-09-07 07:49:12 +00:00
ad
297f461929 Add the lockstat command: displays a summary of kernel locking events
recorded over the lifetime of a called program.
2006-09-07 00:50:45 +00:00
ad
beafae096b Add the 'lockstat' driver, which collects basic information about lock events. 2006-09-07 00:20:28 +00:00