Commit Graph

219805 Commits

Author SHA1 Message Date
kefren d7758422de Add librumpnet_netmpls that provides MPLS features into rump kernels
ok'ed pooka@
2013-07-18 15:59:27 +00:00
christos ef965bff9b WARNS=6
- fix cast qual issues
- don't use snprintf on a user-provided buffer
2013-07-18 15:39:08 +00:00
sjg 11a6c9d08b From bmake: move decl of pwd nearer to where it is used so the whole
thing can be ifdef'd out without causing unused variable errors.
2013-07-18 15:31:49 +00:00
riastradh 4821cee19b Rework cprng(9) man page to reflect the current state of affairs.
- Remove defunct cprng_strong_getflags/setflags.
- Remove defunct cprng_strong_ready.
- Document CPRNG_HARD.
- Omit cprng_strong structure, which is now opaque.
- Specify what can sleep and under what conditions.
- Be a little more consistent about some markup.

This is not the whole story (select/kqueue stuff for /dev/random is
still omitted), and I plan to change it some more (to split
cprng_strong into one routine that unconditionally guarantees as many
bytes as you asked, and another routine that may block or return
partial reads), but this will do until I find the time for those.
2013-07-18 14:35:30 +00:00
matt 3dff691c04 futimens uses two timespec as well. 2013-07-18 14:14:00 +00:00
matt 8985a1ce88 Deal with timespecs properly in futimens and utimensat.
PR/48060
2013-07-18 14:07:43 +00:00
matt ca47ca8a7a Make do_sys_utimensat public 2013-07-18 14:06:27 +00:00
matt b66091785f Move *at syscall handlers to netbsd32_fs.c from netbsd32_netbsd.c
Fix netbsd32_fstatat to emit a 32bit stat structure.
2013-07-18 13:43:32 +00:00
matt c537c2aa1b export do_sys_statat for netbsd32 2013-07-18 13:41:08 +00:00
christos 8fd4793004 PR/48061: NAKAJIMA Yoshihiro: wrong description about bzip2's suffix 2013-07-18 13:10:50 +00:00
matt 6b35aaa5b7 Fix typo. 2013-07-18 12:54:08 +00:00
matt 10fa00e357 Reorder a little to make clearer. 2013-07-18 12:53:09 +00:00
reinoud b26724915d Add comment to udf_do_rootdir(). Might eventually be moved to newfs_udf(8) 2013-07-18 12:50:51 +00:00
reinoud a2747c513b Initial split up for making newfs_udf(8) routines suitable for makefs_udf(8) 2013-07-18 12:44:21 +00:00
matt 0ad8b94ed8 Keep stack longword aligned.
Use longword ops for %d2.
2013-07-18 12:42:24 +00:00
matt 8d43a067dd Convert to motorola syntax 2013-07-18 12:40:42 +00:00
matt 6dedf03e19 Convert to morotola syntax 2013-07-18 12:29:30 +00:00
pooka f768d01c4f Fix build where compiler can throw an array-bounds error and
code is built with NDEBUG
	or
	platform's assert is not __dead
2013-07-18 12:28:26 +00:00
matt 9bc4e22366 Make __curbrk & __minbrk hidden. 2013-07-18 12:27:01 +00:00
matt 3aae98db4e Remove non-__ELF__ defines 2013-07-18 12:21:52 +00:00
matt 0bcd9d746a Use pcrel access and avoid GOT entries. Restructure a little to be more
efficient.
2013-07-18 12:20:41 +00:00
matt 547d5de4df Don't use %d2 (violates the ABI since it wasn't saved), use %a0 instead.
Use a pcrelative access for the local data avoiding the GOT.
2013-07-18 12:16:40 +00:00
joerg 8dce5128ed Explicitly disable unwind tables for the boot loader. 2013-07-18 12:15:15 +00:00
matt 90b4c890b1 Add more softfloat compatible functions 2013-07-18 12:05:30 +00:00
kefren e8941bb5d0 * rework the reattachment code
* build an implnull label when a route is added and let mpls_add_label
  to take care of relabelling
* take out last piece of the code where we do route lookups - we should have
  every information we need in labels
* tested these changes using a number of rump kernels and some couple of
  thousands of flapping routes
2013-07-18 11:45:36 +00:00
manu f7b644965d One more explicit error log, and two bug fixes
1) with recent FUSE, when lookup returns a null ino, it means ENOENT
2) odd corner case that caused a bug on dd if=test of=test conv=notrunc
   This caused the file to be open first ro, then rw. A logic bug in
   perfuse_node_open caused it to skip the second operation, whereas
   it should open for writing, and store the write FH without touching
   the read FH.
2013-07-18 09:01:20 +00:00
ryo b0a2ff862e PR/48048: Add a missing vm_map_unlock_read() and uvmspace_free() to the ENOMEM error case in procfs_domap()d 2013-07-18 07:59:44 +00:00
wiz 0bf4e62623 New sentence, new line. Some whitespace. Bump date for previous. 2013-07-18 06:39:18 +00:00
kefren 201ffb9853 explicitly call sysctl setup in init. Needed for future dynamic loading 2013-07-18 06:23:07 +00:00
kefren 9b2110eba6 Make sure labels are always updated when a route is added and when a peer
is added
Rework mpls_add_label according to that so no route refresh is done anymore
Use poll when reading the PF_ROUTE socket
setsockopt SO_USELOOPBACK on the PF_ROUTE socket
Output some information on SIGINFO
Allow map changing for a ldp peer
Finally fix the connected routes admission into labels
Correct the route trigger when a label map is received
2013-07-18 06:07:45 +00:00
uwe a2ec5e5863 Revert previous; other errors from WARNS=3 obscured the error in jump(). 2013-07-18 04:05:32 +00:00
uwe d7a42acd68 Constify jump() arguments appropriately. 2013-07-18 04:02:31 +00:00
uwe e0d6c9b51f Move manstate::pagerlen so that its "length of the above" comment makes sense. 2013-07-18 03:48:22 +00:00
uwe 3403b722b4 whatis.db is no more, so don't mention its location in FILES. 2013-07-18 03:40:31 +00:00
uwe db23d137fa Remove unnecessary line wrap. 2013-07-18 03:38:25 +00:00
msaitoh 0eb2544dd3 Add Intel 8 Series SMBus. 2013-07-18 03:14:09 +00:00
matt 9b2362ab06 kcpuset_t changes for the pmap and removal of __cpuset_t 2013-07-17 23:27:02 +00:00
matt 19c0b0267e kcpuset_t changes 2013-07-17 23:25:25 +00:00
matt d4eadb8ef5 Wait it actually wait. 2013-07-17 23:25:12 +00:00
matt fe1b443aac Make this kcpuset_t instead of the private __cpuset_t
Add improvements for single TLB implementation (PPC, ARM).
2013-07-17 23:15:20 +00:00
christos 2361750063 remove "register" in new code
fix backwards check for overflow
2013-07-17 23:09:26 +00:00
matt 6e660710b6 Some constification.
Add kcpuset_clone, kcpuset_insersection, kcpuset_remove,
kcpuset_ffs, kcpuset_ffs_intersecting,
kcpuset_atomicly_merge, kcpuset_atomicly_intersect, kcpuset_atomicly_remove
2013-07-17 22:36:26 +00:00
adam 495e7e8d6b Import wpa_supplicant and hostapd 1.1 2013-07-17 21:58:14 +00:00
adam 29e1cca8d2 merge v1.1 2013-07-17 21:47:50 +00:00
adam ad61743efd Import wpa_supplicant and hostapd 2013-07-17 21:34:10 +00:00
matt 88723221e0 Missed these. Convert to motorola format. 2013-07-17 21:29:01 +00:00
soren e943400c80 A few "isa" files are so tightly integrated into the x86 platform code
as to not really be part of the optional isa bus autoconf machinery.

Allows configuring a kernel like so:

include "arch/amd64/conf/GENERIC"
no isa
2013-07-17 21:26:28 +00:00
pooka b666f4df76 regen 2013-07-17 21:21:34 +00:00
pooka e4ca638e55 Additionally translate daddr_t to int64_t in the rumpvnode interface.
The type daddr_t is not available for all systems (e.g. Linux systems with
musl libc), and exposing it will just cause an unnecessary compilation
failure even if the type is not used.
2013-07-17 21:20:53 +00:00
christos 995432063b new tzcode 2013-07-17 20:16:50 +00:00