Commit Graph

219870 Commits

Author SHA1 Message Date
matt 434ca5fbec Use stack adjustment in the lnk instruction to adjust the stack.
Saves one word on the following moveml
2013-07-18 21:18:36 +00:00
matt 105794b79c Use ${MACHINE_CPU} == "m68k" 2013-07-18 21:11:47 +00:00
matt 611b1a73a0 Make sure fdformat is on m68k (even sun2) 2013-07-18 21:03:07 +00:00
matt 1c909d1ed8 Make the shared library related tests dependent on pic 2013-07-18 20:35:39 +00:00
matt f320c653c7 invert tests ${MACHINE} != "m68000" -> ${MACHINE} == "m68k" 2013-07-18 19:49:00 +00:00
alnsn f346ebebc0 Always terminate qc_name with NUL because pool_init(9) uses
strcmp(3) to compare wchans.
2013-07-18 19:39:49 +00:00
matt 75eb6b3ee8 Only supplie -fPIE to crtbegin.c if MKPIC is yes. 2013-07-18 18:43:56 +00:00
matt bfbfd7bbc3 s/bsrl/jsr/ and let gas figure it out 2013-07-18 18:43:04 +00:00
njoly 3e0f13cf65 +librumpnet_netmpls.so.0.0.debug 2013-07-18 18:11:30 +00:00
njoly 00693d7bfc Do not make FUTEX_WAIT wait indefinitely for an invalid timeout
(tv_nsec = -1).
2013-07-18 17:31:02 +00:00
christos a2f4868d2a add RTM_LOSING, RTM_REDIRECT 2013-07-18 17:02:58 +00:00
uwe 887d84a8cf Don't access memory outside the array if tmpdirlen == 0. 2013-07-18 16:33:31 +00:00
christos f75400a6b8 use -Wno-format and revert "fixstring" 2013-07-18 16:28:52 +00:00
kefren 91d0f5b769 Add librumpnet_netmpls into sets' lists 2013-07-18 16:01:41 +00:00
christos 532207c739 Set the string to NUL instread of providing an new empty string (from uwe) 2013-07-18 16:01:25 +00:00
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