Commit Graph

12401 Commits

Author SHA1 Message Date
joerg
cc89f7922a Most CPUs implement shifts modulo the width, but ARM doesn't. Don't
depend on this UB.
2014-04-30 21:04:58 +00:00
njoly
0f34420c1f Fix compat netbsd32 syscall return values display by calling
output_long() instead of printf().
2014-04-30 11:51:51 +00:00
christos
f48bd7a250 need bsd.own.mk 2014-04-29 01:21:02 +00:00
christos
12014f31d7 use the same for the route metrics part, both in the sysctl and kmem paths.
From Takahiro HAYASHI
2014-04-28 15:41:15 +00:00
pooka
401f0b87d5 Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore. 2014-04-27 15:26:05 +00:00
christos
9bbbeef3e7 PR/48426: Dimitris Karagkasidis: Make nfsstat use unsigned numbers. 2014-04-24 18:40:35 +00:00
christos
a2dd64f9b4 The sysctl code does not support verbose route printing that prints the
internal route statistics. Restore the old kmem route printing code that
was not just used for post-mortem displays. Reported by kardel@, test by
netstat -nrvf inet
2014-04-24 14:56:29 +00:00
christos
7cdbcec7f5 un __P 2014-04-24 14:54:51 +00:00
wiz
82cdf33b46 Bump date for previous. 2014-04-22 06:02:06 +00:00
ginsbach
236104be8e Add optional method for specifying protocol as part of the service
option.  This is similar to how the port number and protocol name are
specified in services(5).
2014-04-22 02:23:03 +00:00
christos
e305f86ab5 add more attributes 2014-04-21 21:52:24 +00:00
christos
1be8982a73 add asm function renames 2014-04-21 18:57:20 +00:00
christos
39d78ca60c fix asm() misclassification 2014-04-21 18:57:07 +00:00
snj
1f0d8af3c5 Add 6.0.5 and 6.1.4. 2014-04-19 15:51:46 +00:00
christos
9b2bca8f70 add more places where attribute is valid. 2014-04-18 21:54:52 +00:00
christos
719ac47d5d provide a poor man's fmemopen() 2014-04-18 21:53:44 +00:00
christos
f1ed7fe14d remove attribute keyword 2014-04-18 02:41:32 +00:00
christos
04a020c93e handle constant attribute 2014-04-18 02:41:17 +00:00
christos
0d1cbc6a00 don't include fmemopen in tools builds. Since tools does not define
_NETBSD_SOURCE, we don't get the fmemopen prototype
2014-04-18 02:17:14 +00:00
christos
c8b1f28fd2 Never return the attribute keywords if we are not in attribute. 2014-04-18 01:39:57 +00:00
christos
1f0ca5f12c builtins only for NetBSD since fmemopen is not portable. 2014-04-18 01:18:54 +00:00
christos
31ce3096fd Add some builtins 2014-04-18 01:15:07 +00:00
christos
687432e7a3 Handle the rest of gcc __attribute__ s. 2014-04-18 00:23:46 +00:00
christos
59bbfbb11d only fill memory with junk if BLKDEBUG 2014-04-18 00:21:14 +00:00
christos
a46cc2f317 handle LDOUBLE 2014-04-18 00:20:37 +00:00
christos
20ba703761 make outname print where it came from in case of error 2014-04-17 18:52:03 +00:00
christos
10e73b5c30 - add a function to dump a node
- better diagnostics on abort
- allow converting a constant
- initialize right node now that we trash memory this makes a difference.
  before it was NULL.
2014-04-17 18:23:18 +00:00
christos
e34b25460d typeof and extension don't need parens 2014-04-17 17:29:24 +00:00
christos
f87049800a Trash freed memory so we catch bad uses. 2014-04-17 16:30:05 +00:00
christos
8a20351779 Don't free memory; it is used later. 2014-04-17 16:29:26 +00:00
ginsbach
42bc9b7b73 Hook getaddrinfo(1) into the build. Hi riastradh! 2014-04-15 22:09:27 +00:00
snj
fc99b6a4d6 Change some standard exit status text to ".Ex -std"
From Eitan Adler in PR bin/47790.
2014-04-13 01:45:34 +00:00
christos
e9d34c2f4d mention -V none 2014-04-11 17:41:09 +00:00
christos
0b1777bf87 recognize -V none 2014-04-11 17:30:03 +00:00
dholland
1c111fd5cf typo in comment 2014-03-23 04:58:16 +00:00
pooka
3f0878753a On glibc systems, issue a warning if LD_DYNAMIC_WEAK is not 2014-03-21 16:26:30 +00:00
riastradh
5c1b7f4542 Clarify some wording in getaddrinfo.1. 2014-03-19 18:21:39 +00:00
ginsbach
aa8e09363a Add missing include files. Don't rely on them bein pulled in as a
side effect of other includes.  Fixes build errors when getaddrinfo(1)
is added to the usr.bin tree.
- need <sys/socket.h> for address family (AF_*) and socket type (SOCK_*)
- need <stdio.h> for printf() and friends
2014-03-19 01:24:32 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
dholland
c49e034e83 Fix gcc48 build. No obvious reason why nobody else has hit this... 2014-03-16 01:07:46 +00:00
dholland
19d6c717ae Fix gcc48 build without Kerberos.
While here, rectify related bug where if gethostname() failed, login
would null-terminate uninitialized stack trash and cheerfully pass it
on to kerberos. In this case, revert to "amnesiac" instead.
2014-03-16 00:33:13 +00:00
ginsbach
55791dff41 add missing break 2014-03-14 13:17:18 +00:00
jdc
3db3d1f929 Restore lost break. 2014-03-08 20:51:20 +00:00
riastradh
da030fc8bd `Controller' takes two l's. 2014-03-06 15:00:21 +00:00
matt
b1f346caa8 Use OBJECT_FMTS from <bsd.own.mk> to determine elf32/elf64 needs 2014-03-02 03:55:19 +00:00
matt
cbff955678 Use OBJECT_FMTS from <bsd.own.mk> 2014-03-02 03:42:50 +00:00
ginsbach
28ffd7e64f AF_MAX isn't an address family so don't include it in the generated table. 2014-02-27 01:17:13 +00:00
joerg
a400a0406f struct member can't be null, if the pointer itself is valid. 2014-02-27 00:49:46 +00:00
skrll
6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
mlelstv
8ab37b8ab4 skip unparseable addresses. 2014-02-23 07:50:01 +00:00