Commit Graph

9248 Commits

Author SHA1 Message Date
martin
ca4e1f8a92 If we need -fno-strict-aliasing (see hack "gcc4 pointer sign and strict
aliasing problems", usr.sbin/dhcp/Makefile.inc rev 1.20), we need it
on the crunched binaries too.
2006-11-23 13:22:18 +00:00
tnozaki
51d316fde4 add GB12345 csmapper files. 2006-11-23 05:20:04 +00:00
rpaulo
5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki
dec2eb4c9d 1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.
2. add iconv support for Chinese Tradisional GB12345.
2006-11-23 03:25:24 +00:00
tnozaki
8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
martin
2d95ef4c0f Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
2006-11-22 20:54:16 +00:00
christos
4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
christos
ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
dsl
12dfa56940 Conditionalise the tests for the deleted kernels 2006-11-19 19:01:26 +00:00
dsl
d392ef1faa Remove TINY and PS2TINY 2006-11-19 11:37:32 +00:00
dsl
73faefbb9f As has been pointed out recently, the list of i386 release kernels needs
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy'
and a 'legacy' kernel that will fit.
In any case the small/tiny kernels which are really for i386 systems with
< 16MB of memory (some are sized for a 5.25" floppy) don't need to be built.
Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2
and associated ramdisks.
2006-11-19 11:17:51 +00:00
dsl
fed5688510 It is singularly pointless generating CD install images for PS2 and tiny
systems.  I really can't imagine them being bootable - especially if/when
this directory generates non-floppy-emulation images.
2006-11-18 20:15:59 +00:00
dsl
838c3d3c4f Remount mount_kernfs from these - kernfs isn't it the kernels any more. 2006-11-18 16:16:19 +00:00
dsl
202882dcbc Move the programs that are common to all ramdisks into common/list.ramdisk.
The build ramdiskbin programs have the same code size, the overall sizes
differ slightly due to the way rodata.str.1 gets relaxed.
2006-11-18 16:09:57 +00:00
dsl
77c391989d Whitespace/comment changes to align text between these files 2006-11-18 10:01:32 +00:00
christos
55b9633384 Documentation for getdate. 2006-11-17 22:18:48 +00:00
christos
ff2dbfd3d9 bump libutil for getdate. 2006-11-17 22:13:58 +00:00
reed
77c6811b1b Uppercase "BSD". s/Netbsd/NetBSD/
Saw this in the missing bootmenu menu.
2006-11-17 21:04:22 +00:00
christos
b1d5ffd2bd lfs_cleanerd.debug moved. 2006-11-16 00:50:19 +00:00
tnozaki
79a70a823d 1. add iconv support for followint encoding:
Vietnamese
	TCVN	8bit Viet Nam National Standard
	VISCII	8bit RFC1456
	VIQR	7bit RFC1456(libVIQR)
    Unicode Escape (GNU libiconv compatibility)
	C99, JAVA (libUES)
2. fix iconv_std module:
	add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung
a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
christos
92bb57d7f6 put back phones, used by tip 2006-11-12 03:02:50 +00:00
christos
ab6d6d1244 more uucp removal 2006-11-12 02:43:39 +00:00
dogcow
873dd89778 missed UUCP obsolete 2006-11-12 02:29:44 +00:00
christos
733988be60 goodbye uucp 2006-11-12 01:24:51 +00:00
jmmv
2947e73b43 Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
the root file system on a LFS volume.

Addresses PR bin/30407.  No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
he
a29dad4689 Add libssp_pic.a. 2006-11-11 12:06:54 +00:00
he
45c70b2a95 Use the correct file name for the libssp comp-c-proflib entry. 2006-11-11 12:06:34 +00:00
nakayama
d3dbf0b0af Fix prop_send_ioctl.3 keyword to `.man'. 2006-11-11 05:30:50 +00:00
christos
d74c6175d2 add more ssp library files. 2006-11-10 19:43:02 +00:00
pooka
644b5e87f7 puffs manual pages 2006-11-09 01:35:02 +00:00
scw
5a9e652d52 Build a gzboot image suitable for CP3100. 2006-11-09 00:35:32 +00:00
scw
0c2bb6eb97 Add CP3100 and CP3100_INSTALL to kernel/build sets. 2006-11-09 00:34:49 +00:00
christos
e1e30f287e bump libc for ssp stuff. 2006-11-08 20:59:18 +00:00
christos
3f7ee1da36 add ssp stuff. 2006-11-08 20:52:02 +00:00
dbj
e2c201cff5 sort | uniq 2006-11-07 17:49:47 +00:00
dbj
42bc842287 add gkermit.debug 2006-11-07 17:48:21 +00:00
he
9fdd864183 Implement mostly-stub versions of the new syslog functions
({v,}syslog_{r,ss}) and the corresponding openlog_r/setlogmask_r/closelog_r
functions.

This should allow sparc64 to build its ramdiskbin again.

Reviewed by christos@
2006-11-06 17:33:56 +00:00
jmmv
6b0060c0d6 Register the tmpfs lkm. 2006-11-05 22:43:26 +00:00
he
2e013abffa Ensure that ${METALOG} does not grow without bounds as an effect of
repeated unprivileged UPDATE builds.

Discussed with lukem@
2006-11-05 18:04:44 +00:00
yamt
bf2265fdcd vmem_xalloc/xfree. 2006-11-04 13:00:00 +00:00
yamt
6b5e5df655 sort. 2006-11-04 12:58:06 +00:00
hubertf
3da409792d Use CDROMS_RELEASEDIR consistently 2006-11-04 12:06:28 +00:00
tnozaki
6288c3fa08 add iconv support following encodings:
ISO-2022-JP-1(RFC2237)
	CP50220,CP50221,CP50222(ISO-2022-JP variant)
	CP51932(EUC-JP variant)
2006-11-04 03:46:19 +00:00
ghen
b936f8422b Add configuration files for the 3.0.2 release ISO's. 2006-11-02 10:46:30 +00:00
apb
67c362294a Revert the recent addition of /rescue/gkermit. There's some concern
that linking GPL code into /rescue is not a good idea.
2006-11-01 17:36:13 +00:00
hubertf
7e8c91d132 Install CDs need rockridge extensions, else the sets can't be found.
This fixes building of src/distrib/{i386,amd64/cdroms/installcd
(or .../cdroms/bootcd* with CDRELEASE set, which is about the same)
2006-11-01 16:47:17 +00:00
apb
3d7d705c6f Add /rescue/gkermit. Discussed in tech-userlevel. 2006-11-01 13:22:32 +00:00
apb
6eaf76c0ba Add list entries for gkermit files. 2006-11-01 13:19:43 +00:00
joerg
fc0bc19fc7 Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
2006-10-31 22:21:16 +00:00
pooka
588d70f94e libmagic.so.1.0 2006-10-31 21:55:58 +00:00
pooka
ae3a9c7f18 libmagic 0.2 2006-10-31 21:37:37 +00:00
hubertf
3eed780f61 Fix previous: xfont is also needed by X clients.
Thanks tron@
2006-10-31 14:05:22 +00:00
christos
11c53ad61c kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.
2006-10-30 20:22:53 +00:00
hubertf
4269337775 * Clarify that the xfont set is only needed by the X server
* simplify commands to extracts sets & pkgsrc
 * add spaces around \(em - why this isn't rendered as &mdash; is far
   beyond me, can someone with *roff fu have a look?

Inspired by posting by James K. Lowden on netbsd-docs.

XXX the hardware list needs real work. :(
2006-10-30 18:36:44 +00:00
hubertf
1cd9ce06e8 Add example on how to make an install CD - it's the same
as the bootcd* CDs just with the install sets added to
the CD as well.

XXX 1) The implementation of this is rather cludgy (copying sets around),
       as our makefs(8) can't put files from multiple directories into
       one image -- something that mkisofs can do with 'graft' points
XXX 2) This should be run after 'build.sh release' - It would be nice
       if we had a seperate stage to add such hooks in our build framework
2006-10-29 17:58:15 +00:00
jmmv
7c53e12270 Use TOOL_PAX instead of pax to allow building release CD images (i.e.
CDRELEASE=true) on non-NetBSD systems.
2006-10-29 16:45:18 +00:00
christos
7016508581 add sys/sha2.h and sys/rmd160.h 2006-10-28 04:25:54 +00:00
christos
c259a653fb add the _ss versions of syslog(3) functions. 2006-10-27 20:05:27 +00:00
tnozaki
0c4c29f46b add missing locale syspkg stuffs. 2006-10-27 15:09:46 +00:00
uwe
921ce8b2e0 Add prop_dictionary_{get,set}_bool.[03] (hi, potr). 2006-10-27 01:34:35 +00:00
uwe
0d5d31b4ff Add back setlogmask.3 (hi, christos). 2006-10-27 01:25:58 +00:00
bjh21
27e5dd6430 MI podulebus(4). 2006-10-26 21:41:47 +00:00
thorpej
1aea07a325 Add prop_array_t support to prop_kern. 2006-10-26 18:51:21 +00:00
kleink
87a904a64b Update for tzdata2006n. 2006-10-26 17:12:34 +00:00
tnozaki
f0e9414b43 added supports for chinese encoding ISO-2022-CN-EXT. 2006-10-26 15:06:17 +00:00
thorpej
26d4f90430 - Add prop_dictionary_all_keys(). Takes a snapshot of a dictionary's
keys and returns them in an array.  This effectively allows a caller
  to mutate a dictionary while iterating over it (really, you iterate
  over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
  circumstances, anyway) to get/set values in a dictionary.
2006-10-26 05:02:12 +00:00
christos
72ea77fc36 add syslog _r functions 2006-10-25 23:51:48 +00:00
gson
f43e0dea3d Add missing initializers to placate GCC 4.1-20061021. 2006-10-24 15:32:36 +00:00
he
ed6e54f4b5 Get rid of the tests with (now) empty bodies, instead just ignore the
return value from sysctl().
2006-10-23 22:42:33 +00:00
he
c0c38b0bb7 Complete the initializers. 2006-10-23 22:41:51 +00:00
he
6e75ae6383 Complete initializers, and correctly order "static" relative to "const",
i.e. at the front.
2006-10-23 19:45:56 +00:00
he
59ed5b6d63 Correctly order "static" relative to "const" and "volatile", i.e.
at the front (at least that's what gcc thinks...).
2006-10-23 19:44:57 +00:00
pooka
27168fd0cc llib-puffs.ln 2006-10-23 03:23:53 +00:00
pooka
599a6bbb6c libpuffs_pic.a 2006-10-23 03:21:21 +00:00
bjh21
8bb452f337 sec(4). 2006-10-22 23:52:19 +00:00
bjh21
c0f3f368d9 Document a couple of significant changes in 4.0. This should perhaps go
in "upgrade" rather than "whatis", but I'm not sure.
2006-10-22 23:49:37 +00:00
pooka
298096d245 puffs headers & libs 2006-10-22 22:57:36 +00:00
hauke
09aee34e95 Add Hauke Fath 2006-10-22 21:08:27 +00:00
bjh21
8b935e60cf Move ei(4) out of the acorn26 subdirectory. 2006-10-22 14:33:57 +00:00
elad
db3faefa96 First shot at a security(8) man-page, a quick guide for some NetBSD
security features.
2006-10-22 12:16:27 +00:00
yamt
03e080a5af document vmem. 2006-10-22 11:20:01 +00:00
yamt
2ab91c7717 sort. 2006-10-22 11:16:58 +00:00
bouyer
154d613f0b Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs
2006-10-21 14:10:32 +00:00
yamt
977e208912 add ecalloc. 2006-10-21 09:36:39 +00:00
kiyohara
9bb8dc5407 alphabetical order. 2006-10-20 16:38:15 +00:00
tnozaki
cf5d987754 add new iconvdata ATARIST, HP-ROMAN8, NEXTSTEP. 2006-10-19 14:45:02 +00:00
tnozaki
2e2fc44e22 add new iconv module libJOHAB,
this supports S.Korean character encoding scheme ``JOHAB''.
2006-10-18 17:54:54 +00:00
dogcow
4d6780ca5c I figure I may as well add myself, too. You'd think this'd be automagically
generated at some point...
2006-10-17 20:26:50 +00:00
mjf
34c85e509f Added myself to the list. 2006-10-17 20:07:34 +00:00
kiyohara
971dccffbf Add GUMSTIX_INSTALL. 2006-10-17 17:11:30 +00:00
pavel
dd6faf8e8a add myself (pavel@) 2006-10-17 07:54:06 +00:00
christos
9541503cb0 add gpt 2006-10-15 22:42:03 +00:00
dbj
e55a64b8e5 add revoke.debug 2006-10-15 20:44:21 +00:00
tsutsui
78ca0f3f54 Don't add `-I${NETBSDSRCDIR}/sys' to HOST_CPPFLAGS to pull
necessary target system headers (<fs/unicode.h> and <fs/cd9660/iso.h>)
because system headers for the host (like <sys/stat.h>) are also pulled
from there and it causes build errors if target src tree is different
from installed one on the host.
Instead, copy the necessary system headers for host's programs into
${.OBJDIR} first.

Problem reported from Geert Hendrickx, and there is no particular comment
on tech-toolchain.
2006-10-15 04:24:11 +00:00
tnozaki
65b88fc7e0 PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
(wcs?width and wprintf are already in repository).
2006-10-13 17:28:09 +00:00
he
1d78afbff8 Fix set lists so that prop_number_equals_integer.0 is there as well. 2006-10-13 05:03:50 +00:00
peter
dd191f37f3 Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
pavel
529cc0c586 Apply patch from Hauke Fath to solve port-mac68k/29049: sysinst did not
newfs and mount the target filesystem.

In Hauke's words: "Basically, the mac68k md_make_bsd_partitions() function,
which replaces the MI make_bsd_partitions() because the mac68k port does not
have an on-disk BSD disklabel, neglected to sign up BSD partitions for
newfs'ing and mounting by setting the appropriate flags."

Revert the commit to the install notes (rev. 1.14 of notes/mac68k/prep) which
added a warning and a workaround for this bug, as requested by hubertf in the
PR log.
2006-10-12 12:46:18 +00:00
thorpej
8f6016c4e6 Bump libprop version to 0.4. 2006-10-12 04:48:09 +00:00
thorpej
873293facc Make prop_number_t handle both signed and unsigned numbers. The *integer*
routines now take int64_t arguments, and new *unsigned_integer* routines
take uint64_t arguments.  See prop_number(3) for complete details.
2006-10-12 04:46:56 +00:00
ghen
0a24df9523 Add catpage for tcp_congctl(9). No cookie for rpaulo. 2006-10-09 19:33:22 +00:00
gdamore
454c4680f1 Add man pages for SPI, m25p flash, and tm121temp devices. I'm holding off
creating an spiflash man page until the framework settles, and I'd
ultimately like to create section 9 pages for SPI.
2006-10-09 16:51:51 +00:00
rpaulo
f3330397f0 Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).

In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.

Discussed on tech-net and reviewed by <yamt>.
2006-10-09 16:27:07 +00:00
apb
b6a988f3f2 Add man page for rcs2log(1). 2006-10-08 21:28:08 +00:00
elad
805c3d6901 PR/22228: Jeremy C. Reed: a man page for virecover(8)
Man page added, thanks!
2006-10-08 14:19:17 +00:00
thorpej
31adc576d7 Add subroutines for maintaining object-specific data for arbitrary
subsystems, based on work by YAMAMOTO Takashi.  This is intended to
be used by other subsystems (such as the proc_*() or lwp_*() routines)
rather than directly by consumers.
2006-10-08 04:21:53 +00:00
dogcow
789d2004b7 fix typo in 'config_finalize_register' 2006-10-08 02:56:52 +00:00
elad
9580da9e75 PR/32641: David Maxwell: No 'pkgsrc' manpage
Link pkgsrc(7) -> packages(7).
2006-10-07 22:36:57 +00:00
cube
007b992d97 Synchronise documentation with code. E.g., config_search is no more, but
instead you have config_search_{loc,ia}.  Add documentation for
config_finalize_regsiter, too.  Mostly fixes PR#32106 by Gavan Fantom, as I
think the cfdriver_* and cfattach_* stuff should be documented too, but I'm
not entirely sure where yet.
2006-10-07 17:26:24 +00:00
rpaulo
e3c4f7c039 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 16:50:34 +00:00
peter
9d1c827247 Add manpages for some Jornada 7xx drivers. 2006-10-07 14:15:36 +00:00
elad
fd79a15577 PR/18126: jnilsson at ludd dot luth dot se: add the revoke program
I have commited a different version than in the PR, it lacks a license
but if it warrants one we can stick the TNF standard on it. It's just
a main() routine that calls revoke(2).
2006-10-07 08:48:03 +00:00
christos
d1c132b639 add disklabel_gpt.h 2006-10-05 18:17:04 +00:00
he
47f7700709 We now need <sys/param.h> to bring roundup() into scope. 2006-10-05 16:25:38 +00:00
christos
85c2327ad4 remove home-brewd rounding macros. 2006-10-04 21:27:27 +00:00
pooka
d3d83351d8 obsolete uvm_coredump.9 2006-10-04 11:29:35 +00:00
bouyer
30f7dd0222 Add manpage for new ipmi driver. 2006-10-01 18:43:11 +00:00
bjh21
5c1cdfc365 Add a driver for sec(4). 2006-10-01 15:01:11 +00:00
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
wiz
18bbdd85f7 Update set lists for todr*9 and time*9 changes. 2006-09-06 18:18:49 +00:00
hubertf
b7be24d378 Fix two oversights from last update 2006-09-04 22:03:50 +00:00
hubertf
dd0080d52a Update with changes by Gilbert Fernandes <gilboooo@gmail.com>,
review and some updates from bouyer@
2006-09-04 22:00:52 +00:00
hubertf
46f83bb806 Update, submitted by Marco <marcotrillo@gmail.com>
OK'd by xtraeme@
2006-09-04 21:46:32 +00:00
hubertf
042bbb2bb1 * Add Minimal (core) installation, consisting of a kernel, base + etc
* Fixup all of the German translations.
2006-09-04 02:20:40 +00:00
hubertf
136960985f Fix previous - no need to prepend target-root in chroot 2006-09-04 00:46:13 +00:00
hubertf
5bc64783d6 Make md_cleanup_install() more uniform across platforms. 2006-09-04 00:11:00 +00:00
hubertf
c66460047c be consistent in md_cleanup_install():
use the sed(1) from the newly installed system here too
(is getting rid of sed from the install ramdisk/... worthwhile?)
2006-09-04 00:07:27 +00:00
hubertf
8346ac144d Use sed(1) from the newly installed system instead of from the
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.
2006-09-03 23:54:02 +00:00
rumble
e973f81726 Bring this up to date by mentioning the Personal Iris machines, Phobos
Fast Ethernet boards, and the IP22/24 parallel port. The Set Engineering
board is also noted but commented out until the bugs are shaken out.
2006-09-03 19:19:14 +00:00
hubertf
454b2c7a71 Enable rc_configured=yes, to be consistent with our other ports.
Also do the same cleanup.
2006-09-03 10:54:41 +00:00
wiz
aff5709ee3 Remove some ns(4)-related man pages. 2006-09-02 23:39:56 +00:00
uwe
2a28676497 xserver set for landisk. 2006-09-02 02:59:12 +00:00
uwe
4802ac293b MD sets for NetBSD/landisk. 2006-09-01 21:51:34 +00:00
hubertf
3a3624455e Sync behaviour of sh and ksh dotfiles for new users with those of root.
Addresses PR 32215 by Wouter Schoot
2006-08-31 22:49:55 +00:00
bjh21
bc3d7ff3c7 My version of scsidm (1.03) seems to section a disk by making a FileCore
file system that covers the whole disk but marking most of it in use somehow.
Make this easier to deal with by detecting an existing RISC iX partition and
displaying its starting cylinder.

This program should really go away and its job be done by sysinst and/or
disklabel, but not today.
2006-08-31 20:59:24 +00:00
dyoung
8cd106d3d2 Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h.  Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).

Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t.  XXX The manual
page lags this change by a bit.

Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31 19:24:37 +00:00
obache
f2599bc9e9 Add myself to the list of developers. 2006-08-30 14:19:24 +00:00
rpaulo
11a48dc44a fix comment 2006-08-29 21:34:45 +00:00
sekiya
221525774f XNS is no more; nuke reference to af_ns.c 2006-08-27 06:40:43 +00:00
christos
c635841ee9 add man pages for wcsdup, wcscasecmp, wcsncasecmp 2006-08-26 22:51:41 +00:00
christos
7dc9d522c9 add efun.3 2006-08-26 22:38:42 +00:00
matt
eb3f97a8e0 Add back /usr/include/netccitt and netns and mark as obsolete.
Move netbt from comp to base.
Remove trsp man page entries.
2006-08-26 19:31:53 +00:00
christos
01cda7f789 efun man pages. 2006-08-26 18:25:36 +00:00
christos
6ad9fd095c add efun. 2006-08-26 18:20:18 +00:00
matt
1567f6c620 Obsolete XNS man pages. 2006-08-26 16:17:18 +00:00
matt
462ab6f23d Mark netccitt and netns include files as obsolete 2006-08-25 17:41:09 +00:00
riz
6a3b33002c First crack at configs for 4.0 .iso images. 2006-08-24 18:15:08 +00:00
bouyer
356edfcf8e Don't strip (and don't generate the symbols.gz files) for Xen INSTALL kernels.
There's no space contraint here, and this makes debugging easier.
2006-08-23 19:02:37 +00:00
bouyer
24e23a5a9c Properly set ${_FILENAME} if the _F item of MDSETTARGETS is '-'.
From Jachym Holecek on tech-toolchain.
2006-08-23 19:01:26 +00:00
christos
22b67e3c33 libc 147 for wcsdup and wcs{n,}casecmp 2006-08-22 20:52:20 +00:00