Commit Graph

204452 Commits

Author SHA1 Message Date
tteras
cbb586e05f Allow inherited remote blocks without additional remote statements to
be specified in a simpler way. patch by Roman Hoog Antink <rha@open.ch>
2011-08-19 05:36:47 +00:00
matt
5f7da46ddf Need pci_machdep_common.c now 2011-08-19 02:18:26 +00:00
riastradh
0ed1cdc740 Add test for `ln -s / foo && cd foo'. 2011-08-19 01:25:27 +00:00
riastradh
4b12d41728 No more xfail for PR kern/36681. 2011-08-18 21:44:55 +00:00
riastradh
b4d52ac6e6 Fix tmpfs_rename locking.
Fixes PR kern/36681.  tmpfs now survives dirconc, all our vfs/tmpfs
tests and rename races in atf, and a bunch of hand-written tests
that I'd commit if atf didn't find them highly indigestible.

ok dholland
2011-08-18 21:42:18 +00:00
matt
42dd23afed Change bcond/BCOND to regimm/REGIMM to better match the MIPS nomenclature. 2011-08-18 21:04:23 +00:00
jakllsch
271ee63da4 Catch up to current reality. 2011-08-18 20:57:11 +00:00
jakllsch
844442797e Attach amdtemp(4) at pchb(4) instead of in place of pchb(4).
Should fix PR#45268.
2011-08-18 20:55:20 +00:00
dholland
f5e6253528 Fix the errno tests so if someone messes up permission checks and it
fails, it won't trash your /root/profile. Instead, the victim will be
/usr/bin/fpr. This way it at least won't break the world.

XXX: this test should probably be testing such things in a rump namespace.
2011-08-18 19:48:03 +00:00
manu
bf2e0cc4e9 Fix utimes/futimes after utimensat/futimens addition 2011-08-18 19:34:47 +00:00
jmmv
a17f7e9f91 Disable a few stack protector warnings to fix the build with USE_SSP.
This actually recovers something that was in the Makefile before but that
I removed during the update thinking they were not needed any more.  (I had
assumed ssp was the default.)

Build problem reported by bch at methodlogic.net in current-users.
2011-08-18 19:05:54 +00:00
christos
4d92fa6ddb document non-literal string format 2011-08-18 17:02:49 +00:00
uwe
53fc796546 Revert previous as it introduces "Circular dependency on provision
`mountcritremote'".

route6d is "BEFORE: NETWORKING" and was made to "REQUIRE: mountcritremote",
but mountcritremote "REQUIRE: NETWORKING".
2011-08-18 16:46:14 +00:00
sjg
daf6508d3f Make some dashes em-dashes (based on patch from Andrew O. Shadoura).
Note behavior of .META flag wrt out-of-date.
2011-08-18 15:36:51 +00:00
sjg
4f95291ad9 Fix formatting of Notes to work with groff.
Patch from Andrew O. Shadoura.
2011-08-18 15:19:30 +00:00
yamt
a7b89fad2a uvm_aio_aiodone_pages: check disposed anon correctly. 2011-08-18 14:17:08 +00:00
yamt
2b339dd699 uvm_anon_release:
- don't forget to call uvm_anon_dispose.
- simplify code a little.
2011-08-18 14:13:59 +00:00
yamt
535ffbdf82 uvm_anon_freelst:
- clear an_link/an_ref when deferring anon disposal.  otherwise others can
  see bogus an_ref.
- fix the code to remove anon from the list.
2011-08-18 14:13:02 +00:00
reinoud
7dbd3c57fe Fix compilation after bus space changes. They are weak linked to the defaults. 2011-08-18 13:47:22 +00:00
christos
9bc1ed7123 PR/43563: Wolfgang Solfrank: boot.cfg doesn't support comments
Fix makes it support # comments and treat spaces and tabs the same way.
2011-08-18 13:20:04 +00:00
macallan
eb42293275 shut up some debug output accidentially left in 2011-08-18 12:53:25 +00:00
christos
cb81bcdf23 revert 4 digit year printing and add -y option to print 4 digit years. 2011-08-18 11:29:27 +00:00
phx
e7925f6977 Finding the disklabel on MBR partitioned disks did no longer work since RDB
support was added. Fixed that and bumped the version to 1.12.
2011-08-18 09:03:28 +00:00
phx
07744f6ee9 First check whether an MBR is present. Then use it for locating the disklabel.
Otherwise try to construct a disklabel from RDB partitions, and when
everything fails, look for a raw NetBSD disklabel in LABELSECTOR.
This is the same sequence as in ofwboot now.
Also fixed some typos in the comments.
2011-08-18 08:55:43 +00:00
phx
233e75c9c0 Define USE_MBR for ofppc. 2011-08-18 08:42:07 +00:00
manu
e3a6fc043c Remove warning about system extended attributes that cannot be copied, since
it will always be displayed when an unprivilegied user moves files across
filesystems (mv(1) uses cp -p in that case). After all, there is no warning
that we loose a setuid bit during a move or copy, so this makes sense.

Fixes bin/45259
2011-08-18 08:11:58 +00:00
matt
ec53afa919 Add a -mtrap-zero-jump option for mips that causes a trap instruction to
fire before a jump to a zero or "near" zero address.  This can't be used
with MIPS1 kernels since MIPS1 doesn't have a trap instruction (it will
be silently ignored).
2011-08-18 06:32:35 +00:00
macallan
f0b7a070f3 device_t-ify 2011-08-18 02:56:21 +00:00
christos
3cb2c388bf Fix enums confusion. 2011-08-18 02:44:45 +00:00
christos
dd0d75f09d provide the out of address space test in a gcc-4.5 friendly way. 2011-08-18 02:32:32 +00:00
christos
c439220508 Better debugging. 2011-08-18 02:26:38 +00:00
christos
c2480dc377 sizeof type -> sizeof *var 2011-08-18 02:21:02 +00:00
christos
26b068fc42 Remove gcc-4.5 hacks 2011-08-18 02:19:20 +00:00
christos
756a508c2d Fix gcc-4.5 warnings. If you still see them, e-mail them to me. 2011-08-18 02:18:40 +00:00
christos
32ba7fa0b5 fix gcc-4.5 warnings 2011-08-18 02:08:06 +00:00
sjg
bbf6dc9998 If a target is explicitly flagged .META,
a missing .meta file means it is out-of-date.
2011-08-18 00:00:21 +00:00
joerg
0a50150ffc .code16 user, so disable integrated assembler with clang for now. 2011-08-17 22:26:40 +00:00
joerg
0a09baa75f Fix disable stricter format string messages with clang again. 2011-08-17 22:16:42 +00:00
joerg
a99d375170 Works with clang's integrated assembler now. 2011-08-17 21:42:16 +00:00
rmind
e52f8e8779 amap_cow_now: just free the fresh anon on error, no need to dispose it. 2011-08-17 20:46:27 +00:00
jmmv
e27abe6ff4 Reenable all warning checks and fix fallover. 2011-08-17 19:28:36 +00:00
jmmv
c5edbcf7d8 Note import of tmux 1.5. 2011-08-17 18:54:08 +00:00
matt
1f2907ad40 First pass of the new PCI MSI/MSI ABI definitions. (return EOPNOTSUPP for
now).
2011-08-17 18:52:00 +00:00
jmmv
5365634b06 Adjust reachover Makefiles after tmux 1.5 import.
The new code has quite a bit of warnings to be fixed.  I did not realize
until merge-resolving time that christos@ had fixed such warnings in our
copy of tmux 1.4 and assumed these warnings were new and thus could just
be disabled.

Therefore, I'm disabling some global warning checks as a temporary measure
to bring the tree back to a buildable state.  I will take a look at these
warnings afterwards.
2011-08-17 18:51:10 +00:00
jmmv
0f3d27469a Fix merge conflicts after tmux 1.5 import. 2011-08-17 18:48:34 +00:00
jmmv
d530c4d0ae Import tmux 1.5:
CHANGES FROM 1.4 TO 1.5, 09 July 2011

* Support xterm mouse modes 1002 and 1003.
* Change from a per-session stack of buffers to one global stack. This renders
  copy-buffer useless and makes buffer-limit now a server option.
* Fix most-recently-used choice by avoiding reset the activity timer for
  unattached sessions every second.
* Add a -P option to new-window and split-window to print the new window or
  pane index in target form (useful to pass it into other commands).
* Handle a # at the end of a replacement string (such as status-left)
  correctly.
* Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262.
  If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
  UTF-8 terminals. The option defaults to on if LANG etc are set in the same
  manner as the utf8 option.
* Support for HP-UX.
* Accept colours of the hex form #ffffff and translate to the nearest from the
  xterm(1) 256-colour set.
* Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors
  before closing them (fixes things like "tmux ls && cat").
* Use TMPDIR if set.
* Fix next and previous session functions to actually work.
* Support -x and -y for new-session to specify the initial size of the window
  if created detached with -d.
* Make bind-key accept characters with the top-bit-set and print them as octal.
* Set $TMUX without the session when background jobs are run.
* Simplify the way jobs work and drop the persist type, so all jobs are
  fire-and-forget.
* Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the
  terminal disappears while locked.
* Add a -P option to detach to HUP the client's parent process (usually causing
  it to exit as well).
* Support passing through escape sequences to the underlying terminal by using
  DCS with a "tmux;" prefix.
* Prevent tiled producing a corrupt layout when only one column is needed.
* Give each pane created in a tmux server a unique id (starting from 0), put it
  in the TMUX_PANE environment variable and accept it as a target.
* Allow a start and end line to be specified for capture-pane which may be
  negative to capture part of the history.
* Add -a and -s options to lsp to list all panes in the server or session
  respectively. Likewise add -s to lsw.
* Change -t on display-message to be target-pane for the #[A-Z] replacements
  and add -c as target-client.
* The attach-session command now prefers the most recently used unattached
  session.
* Add -s option to detach-client to detach all clients attached to a session.
* Add -t to list-clients.
* Change window with mouse wheel over status line if mouse-select-window is on.
* When mode-mouse is on, automatically enter copy mode when the mouse is
  dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel
  is scrolled off the bottom.
* Provide #h character pair for short hostname (no domain).
* Don't use strnvis(3) for the title as it breaks UTF-8.
* Use the tsl and fsl terminfo(5) capabilities to update terminal title and
  automatically fill them in on terminals with the XT capability (which means
  their title setting is xterm-compatible).
* Add a new option, mouse-resize-pane. When on, panes may be resized by
  dragging their borders.
* Fix crash by resetting last pane on {break,swap}-pane across windows.
* Add three new copy-mode commands - select-line, copy-line, copy-end-of-line.
* Support setting the xterm clipboard when copying from copy mode using the
  xterm escape sequence for the purpose (if xterm is configured to allow it).
* Support xterm(1) cursor colour change sequences through terminfo(5) Cc
  (set) and Cr (reset) extensions.
* Support DECSCUSR sequence to set the cursor style with two new terminfo(5)
  extensions, Cs and Csr.
* Make the command-prompt custom prompts recognize the status-left option
  character pairs.
* Add a respawn-pane command.
* Add a couple of extra xterm-style keys that gnome terminal provides.
* Allow the initial context on prompts to be set with the new -I option to
  command-prompt. Include the current window and session name in the prompt
  when renaming and add a new key binding ($) for rename session.
* Option bell-on-alert added to trigger the terminal bell when there is an
  alert.
* Change the list-keys format so that it shows the keys using actual tmux
  commands which should be able to be directly copied into the config file.
* Show full targets for lsp/lsw -a.
* Make confirm-before prompt customizable with -p option like command-prompt
  and add the character pairs #W and #P to the default kill-{pane,window}
  prompts.
* Avoid sending data to suspended/locked clients.
* Small memory leaks in error paths plugged.
* Vi mode improvements.
2011-08-17 18:40:03 +00:00
jmmv
e48648f0d2 Adjust instructions and import script in preparation for tmux 1.5. 2011-08-17 18:37:59 +00:00
matt
cc8037f3d1 Add an inline ex script to modify configargs.h for powerpc to auto-enable
-msoft-float.
2011-08-17 18:34:13 +00:00
matt
72dd554728 Regen (since mknative blew away _SOFT_FLOAT changes). 2011-08-17 18:33:03 +00:00
dholland
788ec3df53 Remove redundant set of prototypes for local functions, exposed by
previous.
2011-08-17 18:17:40 +00:00