Commit Graph

231730 Commits

Author SHA1 Message Date
plunky 6e4644bb36 since rfcomm_attach_pcb may be called from (soft) interrupt context
(for incoming connections), use kmem_intr_()
2014-11-16 21:34:27 +00:00
wiz 746186406b Grammar. 2014-11-16 20:37:35 +00:00
riastradh 0e26ad0818 Rewrite arc4random(3) with ChaCha20-based PRNG and per-thread state.
Explain the security model in the man page.

No more RC4!

XXX pullup to netbsd-6, netbsd-5
2014-11-16 20:33:04 +00:00
christos 5988775b41 Don't try to extend the offset range on 32 bit machines by treating negative
offsets as positive. It is just confusing.
2014-11-16 20:32:52 +00:00
martin 2e1b1f0f3f Enable puffs 2014-11-16 18:54:52 +00:00
riastradh 565c83be0b Tag the Xen iSCSI modules with `iscsi' in the md.x86 lists. 2014-11-16 18:33:19 +00:00
ozaki-r 433c9fcdef Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

Discussed with martin@ and riastradh@.
2014-11-16 16:20:00 +00:00
joerg f23a56fd5e Deal with the potential pressence of long double support. 2014-11-16 16:11:33 +00:00
manu 239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
nakayama c0067af94a Wrap iconv.h also with #ifdef __NetBSD__. 2014-11-16 15:31:12 +00:00
uebayasi 9eb1865390 Fix oops in r1.30. 2014-11-16 15:10:54 +00:00
uebayasi d2824e0952 Simpfily code by assuming suffix is a single character. 2014-11-16 14:57:59 +00:00
uebayasi 8a0d672c53 Refactor. 2014-11-16 14:49:12 +00:00
uebayasi 20fd8a9d0f Consistently wrap long lines in ioconf.c. 2014-11-16 14:26:14 +00:00
tsutsui 5663afc984 Appease gcc48 -Werror=strict-aliasing warning by filling cksum via union.
Discussed in source-changes-d@ thread and tested on TT030.
Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).
2014-11-16 13:47:52 +00:00
tsutsui bdfce4082b Revert revs 1.29 and 1.30, to make it easier to pullup an alternative fix.
Ok'ed by christos@
http://mail-index.netbsd.org/source-changes-d/2014/11/15/msg007338.html
2014-11-16 13:38:39 +00:00
uebayasi 31da12f323 Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside. 2014-11-16 12:02:55 +00:00
tsutsui 58384ac8c7 Use "-Os -m68020-60" for DBG. It seems to generate smaller objects than -Os.
gcc48 with "-Os":
-rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin

gcc48 with "-Os -m68020-60"
-rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin

This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
Acually we need a real solution (ustarfs based floppies etc.) soon
but we can work around at least for NetBSD 7.0.

Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).
2014-11-16 11:54:29 +00:00
martin e0a8fed8ba Enable vnd and putter pseudo devices. 2014-11-16 10:20:21 +00:00
msaitoh c43bb8798b Add C2000 KX and 2.5G. 2014-11-16 09:47:35 +00:00
apb 882341d565 zoneinfo: Import tzdata2014j. [apb 20141116] 2014-11-16 07:17:50 +00:00
apb 6f0a32711d Updated tzdata to 2014j. tzcode2014j is also available. 2014-11-16 07:17:10 +00:00
uebayasi 73810e5d00 config(1): TODO about namespace (esp. options vs. module) 2014-11-16 07:12:34 +00:00
apb 1f80bef788 Import tzdata2014j from ftp://ftp.iana.org/tz/releases/tzdata2014j.tar.gz
Summary of changes in tzdata2014j (2014-11-10 17:37:11 -0800):
  * Turks & Caicos' switch from US eastern time to UTC-4 year-round
    did not occur on 2014-11-02 at 02:00.
  * Many pre-1989 time stamps have been corrected for Asia/Seoul and
    Asia/Pyongyang, based on sources for the Korean-language Wikipedia
    entry for time in Korea.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older (pre-1970) time stamps.
  * Changes affecting commentary.

Summary of changes in tzdata2014i (2014-10-21 22:04:57 -0700):
  * Pacific/Fiji will observe DST from 2014-11-02 02:00 to 2015-01-18 03:00.
  * A new Zone Pacific/Bougainville, for the part of Papua New Guinea
    that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
  * Since Belarus is not changing its clocks even though Moscow is,
    the time zone abbreviation in Europe/Minsk is changing from FET
    to its more-traditional value MSK on 2014-10-26 at 01:00.
  * The new abbreviation IDT stands for the pre-1976 use of UT+8 in
    Indochina, to distinguish it better from ICT (UT+7).
  * Many time stamps have been corrected for Asia/Ho_Chi_Minh before 1976.
    Asia/Ho_Chi_Minh has been added to zone1970.tab, to give tzselect
    users in Vietnam two choices, since north and south Vietnam
    disagreed after our 1970 cutoff.
  * Asia/Phnom_Penh and Asia/Vientiane have been turned into links, as
    they differed from existing zones only for older (pre-1970) time stamps.
  * Changes affecting commentary.
2014-11-16 07:08:08 +00:00
uebayasi e049ec87a3 regen 2014-11-16 06:10:55 +00:00
uebayasi 25506fcda3 Document build.sh mkernels. 2014-11-16 06:10:31 +00:00
uebayasi 34757c628f build.sh mkernels: Build all kernels in modular build 2014-11-16 06:08:13 +00:00
uebayasi 509aacc598 Define ddb module. 2014-11-16 05:46:27 +00:00
uebayasi 4595288418 regen 2014-11-16 05:45:43 +00:00
uebayasi 214195889d Document mkernel=*. 2014-11-16 05:44:57 +00:00
uebayasi 5c3b6b4d21 Expand TABs in usage. 2014-11-16 05:39:09 +00:00
uebayasi 445d0e91db build.sh mkernel=*: New command to build kernel in modular 2014-11-16 05:38:10 +00:00
uebayasi b8860b296b Minor tweaks. 2014-11-16 04:47:18 +00:00
uebayasi 79fcd6c2d2 config(1): TODO item about swapnetbsd.c 2014-11-16 04:28:09 +00:00
nakayama 51553e0795 Using host iconv(3) is limited to NetBSD host. 2014-11-16 04:26:46 +00:00
uebayasi 41543d65fd Test SORT() command. 2014-11-16 03:49:09 +00:00
joerg 1a64665727 Drop impossible check. 2014-11-16 00:04:06 +00:00
joerg 797e9a249e It's copysign, not _copysign. 2014-11-15 21:07:01 +00:00
joerg 2583a98ba6 Add copysignl aliases. 2014-11-15 20:59:02 +00:00
htodd 865ef480b9 libdm moved to /lib 2014-11-15 20:28:50 +00:00
martin 9c62140929 Split nand pins into two sets, functions differ. 2014-11-15 20:04:07 +00:00
christos 53bc3d77c3 fix macro names 2014-11-15 19:26:37 +00:00
christos a0a6c85f4d centralize the call unit / dialout macros 2014-11-15 19:20:01 +00:00
christos 6ca6d5d665 centralize the dialout/call unit macros. 2014-11-15 19:18:18 +00:00
christos cf8ac13ddd centralize the tty dialout and callunit macros 2014-11-15 19:17:05 +00:00
htodd 685040dc40 Remove unused variable. 2014-11-15 19:15:51 +00:00
nakayama 990b9f4b61 - add smbutil(1) and mount_smbfs(8) to SEE ALSO section each other.
- fix sample file path in smbutil(1).
2014-11-15 18:57:25 +00:00
nakayama 1686dd5137 Disable unused codes that causes SIGBUS or SIGSEGV if character
sets option (-E) is specified to mount_smbfs/rump_smbfs.
2014-11-15 18:55:26 +00:00
nakayama 8c1c14022f Adjust smbfs/netsmb for filenames byte length changes that come as
a result of iconv conversion.  Most codes are taken from FreeBSD.
2014-11-15 18:52:44 +00:00
nakayama fb45a1eb84 Make rump_smbfs(8) uses host iconv(3) to convert filenames
character set.
2014-11-15 18:49:04 +00:00