Commit Graph

219082 Commits

Author SHA1 Message Date
dholland 430d02428a right, why does rump have to have its own copy of all the build information? 2013-06-08 22:45:28 +00:00
dholland e981abf045 ulfs_dir.h has been emptied; remove it. 2013-06-08 22:23:52 +00:00
dholland 0497d48137 Move a comment to lfs.h that belongs better there. 2013-06-08 22:19:01 +00:00
dholland 8be3e7027b G/C 2013-06-08 22:07:24 +00:00
dholland 9416340bc0 There is no WAPBL in LFS. 2013-06-08 22:05:15 +00:00
dholland 15c1f6b300 mp->mnt_wapbl and mp->mnt_wapbl_replay are always NULL in here. 2013-06-08 21:40:27 +00:00
dholland 346c9baa29 Missed one of the -I${NETBSDSRCDIR}/sys hacks yesterday; remove it now. 2013-06-08 21:15:29 +00:00
dholland a65dc3fc86 Redo these changes properly:
-r1.12 libexec/lfs_cleanerd/Makefile
 -r1.15 sbin/fsck_lfs/Makefile
 -r1.6 sbin/newfs_lfs/Makefile

hi ad@
2013-06-08 21:13:19 +00:00
dholland d347d0af43 Merge -r1.213 of ufs_vnops.c:
Committed By:   kardel
Date:           Sat Jun  8 05:47:02 UTC 2013

fix clearing of system-flags (schg, sappnd). clearing system flags is
possible again at securelevel < 1.
reviewed by christos@
2013-06-08 20:43:35 +00:00
htodd 92cba3584f Comment out IPSEC in GUMSTIX like the rest. 2013-06-08 19:40:07 +00:00
rmind 7cb08cfdd0 Split IPsec code in ip_input() and ip_forward() into the separate routines
ipsec4_input() and ipsec4_forward().  Tested by christos@.
2013-06-08 13:50:22 +00:00
christos 415d109c2c Revert previous. It is too aggressive and might pick the wrong interface
now.
2013-06-08 13:13:34 +00:00
stacktic a69c3c1394 Typo 2013-06-08 12:50:32 +00:00
kardel 01ae5b4204 Bring description in sync with errors-section and implementation reality.
(changing super-user only flags is not silently ignored)
2013-06-08 06:05:03 +00:00
kardel 862ab1ea2e fix clearing of system-flags (schg, sappnd). clearing system flags is possible again
at securelevel < 1.
reviewed by christos@
2013-06-08 05:47:02 +00:00
rmind e4506547a6 Split IPSec logic from ip_output() into a separate routine - ipsec4_output().
No change to the mechanism intended.  Tested by christos@.
2013-06-08 03:26:05 +00:00
dholland 5941f5f878 Add the new LFS options. 2013-06-08 02:43:10 +00:00
christos 0e92ff1093 PR/44032: Proxy entries stopped working with pppd. The issue here is that
the route entry was added, but the RTF_LLINFO bit was not set, making arp -a
not showing the entry, but netstat -rn -f inet showing it with the missing
L bit. The order of resolution in ifa_ifwithroute() is that if a destination
address is found, then the interface chosen for the route is that of the
destination. This does not work for link-level addresses since the ppp
interface does not arp (uses link_rtrequest, not arp_rtrequest), so the
bit is never set. The easy solution here is to check that the gateway is
a link address, and use the interface which we chose for the link address
as opposed to the interface that routes to the destination. This restores
the previous behavior, but is it correct?
2013-06-08 02:42:56 +00:00
dholland 7480682842 As nearly all the content of ulfs_dir.h and ulfs_dinode.h has migrated
to lfs.h, propagate the copyright notices too.
2013-06-08 02:16:30 +00:00
dholland c13a12500a Tidy up the LFS userland build hacks.
Don't use -I${NETBSDSRCDIR}/sys; don't include files other than the
exported LFS headers, which are lfs.h, lfs_inode.h, and (for now)
lfs_extern.h.
2013-06-08 02:16:03 +00:00
dholland 34a172b8ab Move more symbols to lfs.h:
LFS_DIRBLKSIZ
   LFS_DIRECTSIZ
   LFS_DIRSIZ
   LFS_OLDDIRFMT
   LFS_NEWDIRFMT
   LFS_IFTODT
   LFS_DTTOIF
   ULFS{,1,2}_MAXSYMLINKLEN
2013-06-08 02:15:12 +00:00
dholland 25bc01ad43 DIRBLKSIZ -> LFS_DIRBLKSIZ
DIRECTSIZ -> LFS_DIRECTSIZ
DIRSIZ -> LFS_DIRSIZ
OLDDIRFMT -> LFS_OLDDIRFMT
NEWDIRFMT -> LFS_NEWDIRFMT
IFTODT -> LFS_IFTODT
DTTOIF -> LFS_DTTOIF
2013-06-08 02:14:46 +00:00
dholland 1d8094a0f2 Move stuff to lfs.h that's needed by userland:
LFS_DT_*
   ULFS_ROOTINO
   ULFS_WINO
   struct lfs_direct
   struct lfs_dirtemplate
   struct lfs_odirtemplate
   struct ulfs_args

Also fix FFS_MAXNAMLEN -> LFS_MAXNAMLEN in several places.
2013-06-08 02:13:33 +00:00
dholland 4b157546cf struct direct -> struct lfs_direct
struct dirtemplate -> struct lfs_dirtemplate
struct odirtemplate -> struct lfs_odirtemplate
DT_* -> LFS_DT_*
2013-06-08 02:12:56 +00:00
dholland 4260cc072b Now move LFS_IFMT and friends from ulfs_dinode.h to lfs.h. 2013-06-08 02:11:49 +00:00
dholland b6eb36b1f1 Stick LFS_ in front of IFMT, IFIFO, IFREG, etc. so as not to conflict
with the UFS copies of these symbols. (Which themselves ought to have
UFS_ stuck on.)
2013-06-08 02:11:11 +00:00
dholland 5fce92dbf7 Move the dinode (on-disk inode) structures to lfs.h, since they are
and will be obviously required by userland tools that need to read
the on-disk structures.

Also, DINODE{1,2}_SIZE -> LFS_DINODE{1,2}_SIZE.
2013-06-08 02:09:35 +00:00
dholland 956327f1bc Set lists for lfs_inode.h. 2013-06-08 02:06:17 +00:00
dholland eb628b88b7 Split the definitions suitable for userland out of ulfs_inode.h into
lfs_inode.h. Since fsck_lfs, newfs_lfs, and lfs_cleanerd want to reuse
the inode structure for their own internal use, and some of them share
parts of the kernel code as well, the best way forward is to provide a
relatively sanitized header that doesn't bring in stray material.

Shuffle a few other definitions around so that lfs_inode.h depends
only on lfs.h.

Install lfs_inode.h into /usr/include.
2013-06-08 02:04:31 +00:00
mrg ba39e0d4ed revert previous; it was already done in the previous previous.
while here, make freetype-config depend upon Makefile, so it
will be rebuilt for update builds properly.
2013-06-08 00:37:33 +00:00
dholland 7b05da3fb4 typo in comment 2013-06-07 23:37:53 +00:00
christos ff7cb014e8 PR/47908: Gary Grebus: SHA256_Transform and SHA512_Transform are called
by openssl with unaligned buffers. All other Transforms can handle unaligned
buffers so make these handle them too.
XXX[1]: any better fixes are welcome
XXX[2]: pullup-5, pullup-6
2013-06-07 22:40:34 +00:00
martin cc87d0b6c6 Fix a few library substitutions 2013-06-07 19:28:25 +00:00
apb 62d3d9959d "temp", "pub", and "proxy" are keywords, not replaceable
parameters, so do not use ".Ar" markup.  Use either no markup,
or ".Dq" markup, depending on context.
2013-06-07 18:33:53 +00:00
christos 59aa3006a2 Add a debugging format that prints all the fields with names. 2013-06-07 17:23:26 +00:00
christos ab61edc6b5 allow ifscope with pub and proxy 2013-06-07 17:18:33 +00:00
christos d7a0544b97 - skip addresses that don't have a link address by finding the link address
immediately.
- don't skip v6 only interfaces.
- default to the first interface with a link address or to the best matching
  one, printing a warning if there are more than one.
- consume data after sending messages to the routing socket.
2013-06-07 17:17:14 +00:00
spz d08fd20449 fix narn-names -> mollari
add ecdsa keys (in many cases, pre-emptive strikes)
2013-06-07 16:44:17 +00:00
roy 1535311f47 Whitespace 2013-06-07 13:16:18 +00:00
mbalmer 542b174b57 Move _gpio gid below 100 per mrg's request. 2013-06-07 06:35:11 +00:00
mrg a22936209f fix the sed to find all patterns. from nonaka@. 2013-06-07 06:15:46 +00:00
christos 4d4651f0df Add an ifscope <interface> argument to arp in the spirit of the MacOS/X one,
that sets the arp entry on the interface specified. Undocumented for now,
until people decide it is useful.
2013-06-07 01:09:10 +00:00
mrg 1eadb0bbb3 fix vax build issues - GCC 4.1 warns about always true comparisons
more than GCC 4.5 does.
2013-06-06 21:42:36 +00:00
joerg 44c2dc6e5d Make back trace more robust. At least on i386, one of the intermediate
functions in ATF is not replaced by tail recursion elimination, so
mark it as optional.
2013-06-06 17:40:09 +00:00
mrg d5fe81af2a don't build greeter lib with GREET_LIB. it triggers some
sort of problem i haven't yet figured out, and our linker
doesn't need these hacks with --export-dynamic anyway.

if !MKPIC, built the greeter into xdm statically.
2013-06-06 09:13:41 +00:00
wiz d067cd1c6c fix typo. 2013-06-06 08:34:05 +00:00
mlelstv 78c79fafb1 fix build for 'no options MTRR' 2013-06-06 07:55:46 +00:00
msaitoh 6f7d4f1823 Fix compile error. PR#38480 was correctly fixed in 2009, it's ok to remove
"no options MTRR"
2013-06-06 07:11:18 +00:00
mrg 63b935973f update do_fontconfig() to update all the conf.avail files. fixes
errors that xkbcomp spews when the X server starts since fontconfig
was updated.
2013-06-06 07:06:42 +00:00
mrg f84646f75b note Xorg updates. 2013-06-06 06:48:25 +00:00