Commit Graph

236213 Commits

Author SHA1 Message Date
martin
d86daecc04 Add the two versioned mq_* calls I missed in the last round 2015-06-21 08:28:36 +00:00
mlelstv
9b4eccc9c7 Restore logic for setting the VERASE character.
- use terminfo _unless_ the terminal does overstrike.
- use terminfo data not only for an unset tty.
2015-06-21 08:23:22 +00:00
matt
57f81421ab ./usr/libdata/firmware/radeon is obsolete so remove it. 2015-06-21 07:45:10 +00:00
msaitoh
34476fc305 Add missing sys/kauth.h 2015-06-21 06:51:05 +00:00
mrg
3a70beec89 separate the 3 functions midirecord uses from libaudio.a into its own
file and link it directly, instead of having an (implicit) dependancy
on usr.bin/audio/common being built before usr.bin/midirecord is linked.
2015-06-21 06:06:01 +00:00
mrg
0602c83b22 fix the log message typo. 2015-06-21 06:04:45 +00:00
dholland
49f4cf4b46 Add used-by comments on source files that are .PATH'd in from elsewhere. 2015-06-21 04:01:40 +00:00
dholland
c30abfbbfa global variables should be declared extern. 2015-06-21 03:58:36 +00:00
dholland
68072c6ae8 add missing rcsid 2015-06-21 03:33:22 +00:00
christos
96cff257a5 Restart the loop each time we delete an entry because the hash code does
not handle it well. Is that a db bug?
2015-06-21 01:13:21 +00:00
martin
021a80b600 Implement modctl, sigqueinfo and mq_* 2015-06-20 19:58:40 +00:00
martin
95e5bbaeef Regen (sigqueinfo, modctl, mq_*) 2015-06-20 19:56:24 +00:00
martin
2cfad306cd Add sigqueuinfo, modctl and mq_*. 2015-06-20 19:55:07 +00:00
hubertf
30d2284760 There was a pilot flying a small single engine charter plane, with
a couple of very important executives on board. He was coming into
the Berkeley airport through thick fog with less than 10 miles
visibility when his instruments went out.

He began circling around looking for a landmark. Finally, a small
opening in the fog appears and he sees a tall building with a guy
working alone on the fifth floor. He banks the plane around, rolls
down the window and shouts to the guy, "Hey where am I?"

The man replies, "You're in an airplane." The pilot rolls up the
window, executes a 275 degree turn and proceeds to perform a
perfect blind landing on the airport runway 5 miles away. Just as
the plane stops, so does the engine as the fuel has run out.

The passengers are amazed and one asks how he did it.

"Quite easy," replies the pilot, "I asked the guy in that building
a simple question. The answer he gave me was 100 percent correct
but absolutely useless, therefore, that must be NetBSD's
support office and from there the airport is just five miles due
East." (Credits:
http://www.techsupportforum.com/forums/f289/microsoft-joke-404432.html)

Seriously: give the reader of the manpage an idea on what this program
is for without forcing them to Google or read another manpage.
2015-06-20 16:42:32 +00:00
martin
5c8d981967 Welcome to 7.99.19!
Cumulative bump for recent mqueue, sigqueue and modctl changes to support
netbsd32 emulation.
2015-06-20 14:44:56 +00:00
martin
4c145ea87f Make mqueue_get public, rearrange mq_open into a helper function that can
be called from compat code, adapt mqueue_create accordingly.
2015-06-20 14:41:54 +00:00
skrll
8638b0baf8 __USE_TOPDOWN_VM
Fixes PR/49974: mmap(2) of large anonymous regions is broken

"go for it" from matt@
2015-06-20 07:13:25 +00:00
dholland
aeb39c6e9e PR 49988 Kamil Rytarowski: fix pasto 2015-06-20 04:18:00 +00:00
chs
25c6628fee plug memory leak in drm_vma_node_revoke(). 2015-06-19 22:51:57 +00:00
matt
2e9f40f3b7 Add support for MKCOMPATTESTS 2015-06-19 18:17:49 +00:00
matt
058cc44625 Prevent multi inclusion 2015-06-19 18:17:26 +00:00
matt
9a87189027 Rework this to auto generate the compat directories using a template
and the information from compat/archdirs.mk.  Also add suport MKCOMPATTESTS
and process the NetBSD.dist.tests to generate appropriate compat directories.
2015-06-19 18:16:06 +00:00
matt
0499097e0e Add MKCOMPATTESTS knob to enable building and installing the NetBSD test
suite as part of doing MKCOMPAT
2015-06-19 18:13:52 +00:00
christos
a73bc7adc9 Deal with limits properly.
Don't print strerror() 2ice.
XXX: pullup-7
2015-06-19 17:33:20 +00:00
christos
be0200b5b7 remove unused label 2015-06-19 17:20:02 +00:00
christos
43fc769556 remove useless assignment and explain why. 2015-06-19 17:17:24 +00:00
mlelstv
ad909f3fd2 remove obsolete comments 2015-06-19 14:55:51 +00:00
christos
a038441bc0 restore use of whitespace needing shell. 2015-06-19 14:32:56 +00:00
christos
0002ddbc7d make needshell customizable, so that xinstall can use it. 2015-06-19 14:32:04 +00:00
christos
3f6f33cbde create needshell so we don't scan the string multiple times. 2015-06-19 14:25:34 +00:00
christos
fc12b1912c use isspace() 2015-06-19 14:25:16 +00:00
martin
c41d48b868 Make handle_modctl_load() usable from compat/netbsd32. 2015-06-19 14:23:59 +00:00
youri
28411567b5 Wording. 2015-06-19 12:27:02 +00:00
martin
5f7e4ad45b Make kill1 public (we'll need it from compat/netbsd32) 2015-06-19 10:18:19 +00:00
mlelstv
75fd2a8412 Adjust metachar handling to previous behaviour:
- space and tab are no shell metachars, remove them from generic
  metachar function
- add space and tab as to-be-quoted characters for :Q modifier
- add = and : as characters that require command handling by the shell
2015-06-19 08:03:35 +00:00
matt
a21be4e6a6 Don't include <machine/param.h> 2015-06-19 06:32:08 +00:00
dholland
01dcf47e23 Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
2015-06-19 06:02:31 +00:00
riastradh
377d82d6de Fix dtrace module autoload. 2015-06-19 02:33:00 +00:00
pooka
0dcc02b3ce add READELF and STRINGS 2015-06-18 22:29:12 +00:00
christos
12ca937409 grr too many different compilation options. 2015-06-18 19:49:08 +00:00
christos
ddeabcf2cb initialized sc_unit (from Riastradh)
XXX: pullup-7
2015-06-18 17:21:55 +00:00
christos
e02fe630ea this is not buf.c 2015-06-18 15:51:57 +00:00
justin
a9e309ea46 Fix non native build on metachar.c 2015-06-18 15:34:44 +00:00
pooka
a3cfad0d94 regen 2015-06-18 15:19:50 +00:00
pooka
3de8e14458 +RUMP to __posix_{,f,l}chown. at least python wants them. 2015-06-18 15:16:12 +00:00
jnemeth
29c769ab8c Instruct user to use resizedisk if media size has changed, as
resizedisk will adjust the media size in the headers, whereas
recover simply copies the existing header over the missing one.

XXX recover and resizedisk should probably be merged (even if just
partially, so that recover can properly handle media size changes).
Also, reading in the GPT should probably be centralised so that
error handling can be centralised, and users aren't given misleading
messages (i.e. they aren't told to run recover when they should be
running resizedisk).  However, something that can be quickly pulled
up to netbsd-7 was needed, and there isn't time for a major overhaul
or rewrite.
2015-06-18 01:37:23 +00:00
christos
9beb5dadf3 Centralize the "is a meta char" test, instead of using two different arrays. 2015-06-17 17:43:23 +00:00
christos
5e58d82807 restore unlink file if strip fails (from Takeshi Nakayama) 2015-06-17 15:52:37 +00:00
christos
b1e483495a centralize shell metachar handling. 2015-06-17 15:34:55 +00:00
christos
e9677ce525 Use the bourne shell if the after command has shell metachars. 2015-06-17 15:34:08 +00:00