Commit Graph

9279 Commits

Author SHA1 Message Date
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 — 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
ghen
42821065a9 Add configuration files for the 3.1 release ISO's. 2006-08-21 21:14:24 +00:00
thorpej
d21620b264 Several changes to proplib:
- Arrays can now be externalized and internalized in the same way
  dictionaries can.
- Add new "externalize to file" and "internalize from file" functions
  to make reading a property list from a file and writing a property
  list to a file more convenient.
- Many assertions in the object implementations are gone.  Instead,
  calling an accessor for one object type with a different object type
  as an argument will return a suitable "invalid" value.
- prop_object_type() now returns a new PROP_TYPE_UNKNOWN value if called
  with a NULL object.
- Externalized property lists now contain a reference to the Apple XML
  plist DTD.
- Add a new prop_ingest(3) facility, which provides a convenient way to
  translate a dictionary into an arbitrary binary representation.
2006-08-21 04:13:28 +00:00
bjh21
f2d8dc9311 Add vidcvideo(4). 2006-08-20 12:48:47 +00:00
martin
e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
martin
914384b438 The "request" arg of ioctl(2) is unsigned long, not int!
Sign extended requests do not work on archs with sizeof(long) > sizeof(int).
2006-08-19 21:18:40 +00:00
dsl
db1e1cd15f Add a missing file, I think it something to do with simplified chinese. 2006-08-19 19:13:59 +00:00
plunky
95d2b886d7 The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219
2006-08-19 16:35:02 +00:00
tnozaki
2ad099c737 1. added iconv support of Chinese Simplefied encoding, GBK.
2. added Unicode mapping of 2byte GB18030 User Defined Area.
2006-08-19 10:58:40 +00:00
martin
5cefff4513 It is "MAKEDEV bpf" nowadays 2006-08-18 21:44:53 +00:00
bjh21
f67b7f40a0 Obsolete <arm/iomd/vidc.h> and its directory. 2006-08-17 22:43:43 +00:00
ghen
8ef6dfdf8c Add mount_tmpfs(8) to /rescue. Ok with christos. 2006-08-16 16:50:59 +00:00
macallan
ad53a0a585 Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
2006-08-16 03:24:57 +00:00
ghen
787f1c4af1 Add ex(1) to /rescue. This won't add more than a few bytes to the crunchgen
binary since "ex" is just "vi -e" and vi(1) is already there.

Ok with hubertf and salo.
2006-08-15 14:14:35 +00:00
bjh21
3588325ecf Obsolete manual pages for deleted acorn32 keyboard drivers. 2006-08-14 22:26:59 +00:00
bjh21
cd46a5a9c8 Remove mention of wscons-specific kernels on acorn32 -- all acorn32 kernels
now use wscons.
2006-08-14 22:14:13 +00:00
bjh21
844bc4f1f6 Obsolete two header files related to the (removed) old console code. 2006-08-14 22:07:11 +00:00
rpaulo
2e90509055 Install postfix-manuals.html. 2006-08-14 21:35:38 +00:00
wiz
a007d06dc9 Add dk(4) manpage written by Jonathan A. Kollasch, provided in PR 34193. 2006-08-13 09:28:23 +00:00
plunky
885b13c515 rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming
scheme for control programs. This fixes pr 34051.
2006-08-13 09:03:21 +00:00
simonb
af29995e74 Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.
2006-08-13 02:21:45 +00:00
christos
1aabccbafc man pages for stresep and strndup. 2006-08-12 23:54:12 +00:00
christos
fc3d8b7c5f libc 146 2006-08-12 23:52:29 +00:00
plunky
a1c876ddfc Add my name to list of Developers 2006-08-11 18:39:02 +00:00
hubertf
a441eeeff1 Add whitespace to make more readable. No functional change. 2006-08-11 13:39:44 +00:00
hubertf
f4ff510f74 Offer to install GENERIC.MP, too, as we build & ship it. 2006-08-11 13:35:54 +00:00
wiz
78c9a76781 Add NetBSD.el containing some settings for emacs' c-mode to better
match NetBSD's KNF (kernel normal form).
2006-08-08 18:41:11 +00:00
mhitch
4b2f6edec3 gcc4 fixes: a lot of char * signed/unsigned mismatches. 2006-08-04 05:30:13 +00:00
oster
066dca4e5e We need to .WAIT until 'prepare' is done, and then .WAIT until
'copy-releasedir' is done before doing 'image'.  Failure to do so
leads to a race condition that may result in build errors on
parallel builds with '-j 4' and '-j 16'.
2006-08-02 21:37:41 +00:00
bjh21
edbe853398 Add the !Help file I forgot previously. 2006-08-02 11:31:27 +00:00
tsutsui
d8e998dec9 Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.
2006-08-02 09:30:46 +00:00
lukem
4adcd9d67f add psim for gdb6 2006-08-02 01:35:50 +00:00
he
cfaad7eb68 Bump the miniroot size by 1MB to 18MB so that it fits again. 2006-07-31 22:56:09 +00:00
martin
cb10eb2bc2 Bump libc to 145 (fhandle_t is gone) 2006-07-31 16:39:23 +00:00
bjh21
5b69310abf Merge in changes from acorn32 version, which should fix some build failures
with GCC 4.
2006-07-30 16:46:49 +00:00
ad
d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
tsutsui
1a7f69d4dc After extracting sets, copy miniroot kernel only if there is
no extracted kernel in the target disk.
2006-07-29 10:40:51 +00:00
wiz
ef2b4b6a60 Install twa(4) and add it to set list. 2006-07-29 08:54:51 +00:00
bjh21
fab9ece38c obsolete db_machdep.h 2006-07-28 22:30:21 +00:00
lukem
7569b63e4d Remove a mirror that was decommissioned almost five years ago
and was removed from the mirrors database at the time.
Somehow this file slipped through the cracks...
2006-07-27 23:01:27 +00:00
christos
d58b0e2d4c add services_mkdb 2006-07-27 22:18:46 +00:00
christos
4e15f37a26 bump for libc. 2006-07-27 15:50:04 +00:00
tron
7220cf0cb7 Correct suffixes and sort. 2006-07-27 12:55:45 +00:00
gdt
9f0410a08f add new man pages.
(Thanks to Juergen Hannken-Illjes for pointing out my error.)
2006-07-27 11:59:54 +00:00
drochner
76372bef22 obsolete db_machdep.h 2006-07-26 20:09:17 +00:00
tron
fdeefd9c3e Bluetooth fixes by Iain Hibbert:
Create "/etc/rc.d/btcontrol" to attach bluetooth devices at boot.
2006-07-26 11:14:55 +00:00
tron
ebe62ad714 Bluetooth fixes by Iain Hibbert:
Remove bluetooth.conf(5) and config parsing from libbluetooth(3)
as this is no longer required.
2006-07-26 11:11:04 +00:00
tron
30d6332135 Bluetooth fixes by Iain Hibbert:
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron
4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
elad
4357c6cde3 missed in previous commit, we now have veriexec(9) 2006-07-25 21:21:25 +00:00
lukem
a7661355df Add amrctl.debug 2006-07-24 05:09:19 +00:00
bjh21
b1e602b971 Update to match new documentation layout. 2006-07-23 13:37:43 +00:00
bjh21
66e6b99a2b Move varous documents into a subdirectory of !BtNetBSD and add a !Help file
(accessible from the Filer menu) to open it.  The documents are:
  BtNetBSD/FBInstall
  BtNetBSD/!BtNetBSD/Files
  BtNetBSD/!BtNetBSD/Legal
2006-07-23 13:33:53 +00:00
bouyer
d252c65e9c Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00
lukem
cacf5bfacc Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no
2006-07-23 11:41:24 +00:00
bjh21
eaf8878f34 We build releases under NetBSD now, so there's no need for the MkRelease
and MkRelScr scripts to do (some of) it under RISC OS.  Remove them.
2006-07-22 22:38:54 +00:00
tsutsui
4f08243995 Use MI installboot(8), not obsolete disklabel(8) with -B. 2006-07-21 19:02:27 +00:00
martin
9d93195858 Fix truncated message and one inconsistency, fixes parts of
PR bin/34048.
2006-07-21 14:04:26 +00:00
bjh21
3ec3640611 No acorn32 system that I know of has PCMCIA, so skip PCMCIA references there. 2006-07-20 19:38:17 +00:00
bjh21
03570c9170 Add line numbers to BASIC files we distribute. This avoids the annoying
"Program renumbered" message when they start up.
2006-07-19 22:54:57 +00:00
rpaulo
f483709ebd add new postfix docs 2006-07-19 22:20:59 +00:00
bjh21
683e3863d0 Add NetBSD RCSID. 2006-07-19 21:52:54 +00:00
rpaulo
d8a0a3ce50 add bounce(5) man page 2006-07-19 02:06:15 +00:00
jnemeth
cf6a192ebc CID 2970: don't close a file that isn't open 2006-07-18 12:05:03 +00:00
hubertf
7c79d661fa Mozilla -> Firefox 2006-07-17 14:21:19 +00:00
tnozaki
41efa2e2cd 1. added CNS11643 plane 3 <-> UCS iconv data.
2. zh_TW.eucTW locale now supports CNS11643 plane 3 ~ 7
2006-07-16 06:13:29 +00:00
elad
b5d09ef065 okay, since there was no way to divide this to two commits, here it goes..
introduce fileassoc(9), a kernel interface for associating meta-data with
files using in-kernel memory. this is very similar to what we had in
veriexec till now, only abstracted so it can be used more easily by more
consumers.

this also prompted the redesign of the interface, making it work on vnodes
and mounts and not directly on devices and inodes. internally, we still
use file-id but that's gonna change soon... the interface will remain
consistent.

as a result, veriexec went under some heavy changes to conform to the new
interface. since we no longer use device numbers to identify file-systems,
the veriexec sysctl stuff changed too: kern.veriexec.count.dev_N is now
kern.veriexec.tableN.* where 'N' is NOT the device number but rather a
way to distinguish several mounts.

also worth noting is the plugging of unmount/delete operations
wrt/fileassoc and veriexec.

tons of input from yamt@, wrstuden@, martin@, and christos@.
2006-07-14 18:41:40 +00:00
bjh21
890c1cd933 It's possible to launch the installation kernel by double-clicking it now. 2006-07-13 15:19:58 +00:00
bjh21
5fa51428d5 Fix a couple of .Pa that should have been .Pp. 2006-07-13 15:07:47 +00:00
bjh21
74be07eab4 Correct another reference to BtNetBSD.zip.
Also spell "RISC OS" consistently and correctly throughout.
2006-07-13 14:50:27 +00:00