Commit Graph

206846 Commits

Author SHA1 Message Date
jmmv
06f3e60d63 Add tests to ensure that the new asm examples build and run, just as the
end-user is supposed to work with them.
2011-11-12 01:19:25 +00:00
jmmv
a5847cc334 Add assembly language examples in a new 'asm' subdirectory.
At the moment this only provides an example for a "Hello world" program
for powerpc.  (Bear with me: this is my very first assembly program in
powerpc; if you find anything stupid in the code, please fix it!)
2011-11-12 01:18:40 +00:00
jakllsch
f0cbadea8b Use GPP_GPC in the last place it isn't already used. 2011-11-11 23:01:59 +00:00
jakllsch
68c14001ba Improve punctuation and consistency in some comments. 2011-11-11 22:57:27 +00:00
njoly
2eb2f19fbe Substitute __mapfilesdir__ in man page. 2011-11-11 22:27:33 +00:00
gdt
c9bfbf1142 Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2.
RTF_ANNOUNCE was defined as RTF_PROTO2.  The flag is used to indicated
that host should act as a proxy for a link level arp or ndp request.
(If RTF_PROTO2 is used as an experimental flag (as advertised),
various problems can occur.)

This commit provides a first-class definition with its own bit for
RTF_ANNOUNCE, removes the old aliasing definitions, and adds support
for the new RTF_ANNOUNCE flag to netstat(8) and route(8).,

Also, remove unused RTF_ flags that collide with RTF_PROTO1:
  netinet/icmp6.h defined RTF_PROBEMTU as RTF_PROTO1
  netinet/if_inarp.h defined RTF_USETRAILERS as RTF_PROTO1
  (Neither of these flags are used anywhere.  Both have been removed
  to reduce chances of collision with RTF_PROTO1.)

Figuring this out and the diff are the work of Beverly Schwartz of
BBN.

(Passed release build, boot in VM, with no apparently related atf
failures.)

Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.
2011-11-11 15:09:32 +00:00
wiz
7b2c1e970a Add an EXAMPLE section showing how to add a swap file system using gpt. Bump date. 2011-11-11 13:26:45 +00:00
jruoho
8e19d9277e Fix typo. 2011-11-11 05:06:01 +00:00
jruoho
074fcac079 Fix wrong format string. 2011-11-11 05:03:38 +00:00
christos
e965f57700 enable unlock notify 2011-11-11 01:34:18 +00:00
njoly
3f9feaa4df Remove extra newlines. 2011-11-10 22:33:12 +00:00
riz
4c9d92224e Add pseudo-device drvctl. (Already exists in i386 domU config) 2011-11-10 22:16:56 +00:00
jakllsch
2c4d5c4f31 When applying the board-specific bits for the SMC 9332,
the mediasw has already been set to non-NULL, don't require it to be NULL.
2011-11-10 20:12:48 +00:00
chs
b594044edd add gcc-4.5/tgmath.h 2011-11-10 17:18:22 +00:00
chs
7411e1d619 include builtins.md in vax.md so that ffs is defined.
update for conditional branch changes in gcc.
2011-11-10 17:16:30 +00:00
seanb
d0ff9c06e4 - Remove unused variable from nd6_timer(). 2011-11-10 17:10:00 +00:00
wiz
4a47c09250 Fix typo. 2011-11-10 16:44:47 +00:00
manu
ec1aa8a54b Return EISDIR for read/write to directories. NetBSD directory read should
instead return a getent(2) output, but is that really used?
2011-11-10 16:21:09 +00:00
yamt
9c5d9163d1 document pthread_curcpu_np 2011-11-10 14:01:11 +00:00
christos
7b69fe6a2f PR/45595: bch: fix missing magic prefix 2011-11-10 13:41:00 +00:00
yamt
128f443a4a add a crude dependency on tm_p.h. build.sh -j128 fails for me without this. 2011-11-10 09:28:25 +00:00
riz
71932a0feb i386_use_pae is now just use_pae. 2011-11-10 03:45:40 +00:00
joerg
f02d1cc2e1 Don't redefine _C_LABEL. 2011-11-10 00:37:38 +00:00
joerg
e18cbfbf65 G/C -nostdinc usage, --sysroot is provided automatically. 2011-11-10 00:36:54 +00:00
jym
56027687e2 Turn the 'i386_use_pae' variable into simply 'use_pae'. Technically
speaking we are also running with PAE enabled in long mode under amd64,
so this variable will be used in various places across x86 machdep to
branch at runtime to functions that require extra handling for PAE mode.
2011-11-10 00:12:04 +00:00
drochner
8e6899dea3 Don't allow '/' characters in the "service" argument to pam_start()
The "service" is blindly appended to config directories ("/etc/pam.d/"),
and if a user can control the "service" it can get PAM to read config
files from any location.
This is not a problem with most software because the "service" is
usually a constant string. The check protects 3rd party software
from being abused.
(CVE-2011-4122)
2011-11-09 20:26:41 +00:00
drochner
7621b801a7 remove duplicated #defines (in a usually unused part of the code) 2011-11-09 20:17:44 +00:00
christos
60b08a4dfb cosmetic, no functional change:
- sizeof(*var) instead of sizeof(type)
- sort the event counters in the discard the same as alloc for readability
2011-11-09 19:43:22 +00:00
wiz
10532e0141 Sort sections, use Aq, add comma in enumeration. 2011-11-09 19:42:27 +00:00
christos
c4753f0f6f sync with /usr/bin/time, use CLOCK_MONOTONIC 2011-11-09 19:16:00 +00:00
christos
d656290c5d PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC 2011-11-09 19:10:10 +00:00
tron
7207ea5adf Postfix 2.8.7 has been imported. 2011-11-09 19:08:59 +00:00
tron
37141b1254 Resolve conflicts from last import. 2011-11-09 19:06:34 +00:00
tron
c3d89ca464 Import Postfix 2.8.7. Changes since version 2.8.6:
Postfix stable release 2.8.7 is available. This contains a workaround for
a problem that is fixed in Postfix 2.9.
- The postscreen daemon, which is not enabled by default, sent non-compliant
  SMTP responses (220- followed by 421) when it could not give a connection
  to a real smtpd process. These responses caused some remote SMTP clients
  to return mail as undeliverable.

  The workaround is to hang up after sending 220- without sending the
  421 "sorry" reply; this is harmless.
2011-11-09 18:58:43 +00:00
drochner
bbe84d1654 for the *xattr() calls, return ENOTSUP rather than EOPNOTSUPP if
the filesystem doesn't support extended attributes -- this is how
it is documented in Linux manpages
(on Linux itself, ENOTSUP and EOPNOTSUPP are the same value)
approved by Emmanuel Dreyfus
2011-11-09 18:29:28 +00:00
matt
41adc9f5c2 Make sure to invalidate correct size. 2011-11-09 17:05:50 +00:00
christos
5607c3d45b add a large timeout for libtre 2011-11-09 15:14:44 +00:00
christos
cd021ecc4e need || instead of && 2011-11-09 14:42:42 +00:00
wiz
918f67027f Use Sq, and remove trailing whitespace. 2011-11-09 14:16:00 +00:00
is
5224338e35 If hosts.lpd contains '+', don't insist on reverse DNS == forward DNS. 2011-11-09 12:45:58 +00:00
roy
6a222e7196 Replace fgetln(3) with the more standard getline(3) 2011-11-09 07:40:27 +00:00
macallan
e572604a78 Support setting the temperature threshold for the LM75's alarm/interrupt
output. Some hardware ( I'm looking at you, Gdium ) abuses it to control
a fan.
2011-11-09 05:47:54 +00:00
riz
6d1b5d773a Don't add iscsi_utils.c without 'iscsi' condition. 2011-11-09 00:51:00 +00:00
christos
d08c0f066a mention libgcc/emacs hack. 2011-11-08 23:11:42 +00:00
christos
d87651d3f4 Somehow emacs tries to unregister frame info for a symbol it did not register.
Don't abort for now. This worked before because the previous version of gcc
did not bother unregistering. Adding debugging printfs makes emacs core
dump, where other programs work fine.
2011-11-08 23:08:11 +00:00
joerg
2405db5059 Just because IPV6 support is disabled doesn't mean inet_ntop are not
present. Since the local prototype conflicts, use the system version.
2011-11-08 22:21:30 +00:00
joerg
e7b856ae43 Unbreak MKINET6=no 2011-11-08 22:13:58 +00:00
christos
af2ef29d66 use writev(2) instead of dprintf(3) for portability. Suggested by joerg@ 2011-11-08 20:25:14 +00:00
apb
bbc5f4100a The previous change made "nooutput -2" discard both stdout and
stderr, whereas it should discard only stderr.  This commit
should fix that problem.
2011-11-08 19:36:30 +00:00
christos
c8e7a7eec2 if we don't have any sets yet, don't try to look in them. 2011-11-08 19:25:45 +00:00