Commit Graph

229489 Commits

Author SHA1 Message Date
christos
2b177d3981 switch to the new gmake 2014-08-18 06:58:51 +00:00
christos
dace66f063 merge local changes 2014-08-18 06:57:25 +00:00
christos
69606e3f5c import latest gpl2 make 2014-08-18 06:46:46 +00:00
christos
409d07743a - Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
2014-08-18 06:31:24 +00:00
jnemeth
e0eccc7b53 - when checking hostname of incoming remote messages, fallback to checking
remote host if the message doesn't contain a hostname
- don't truncate IP addresses when reading syslogd.conf
2014-08-18 05:21:16 +00:00
christos
b65f2d484f ALLOW_FILTER_AAAA_ON_V4 has been renamed to ALLOW_FILTER_AAAA (John D. Baker) 2014-08-18 04:40:51 +00:00
riastradh
7bc9f99ca1 Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.
2014-08-18 04:28:55 +00:00
riastradh
75ecd5a308 Sizeof struct ievme, not sizeof size_t.
Noted by maxv@, compile-tested for sparc.
2014-08-18 04:26:38 +00:00
riastradh
4ce21324f0 Avoid leak in error branch, noted by maxv@, compile-tested for vax. 2014-08-18 04:16:59 +00:00
riastradh
fef866671e Don't leak f on failure. Noted by maxv@.
Compile-tested only, with zaurus.
2014-08-18 03:59:27 +00:00
riastradh
54cec2dc8c Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul of
strict aliasing rules.

Compile-tested only, with hppa.
2014-08-18 03:43:10 +00:00
riastradh
a3ea546522 Fix error branches to avoid leaks, noted by maxv@. 2014-08-18 03:14:12 +00:00
riastradh
5407cca9a3 Simplify previous. 2014-08-18 02:43:27 +00:00
riastradh
6f817c5016 For gem and ttm objects backed by uvm_aobjs, share the vmobjlock.
XXX pullup to 7
2014-08-18 01:21:03 +00:00
riastradh
b1a057f4fd bus_space_mmap cookies are not paddrs, so don't pmap_enter them! 2014-08-18 01:17:34 +00:00
chs
99a9d84aad eliminate COMPAT_OLDNOTE and just always recognize the old notes. 2014-08-17 23:03:58 +00:00
joerg
a26164117a Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
2014-08-17 21:17:43 +00:00
martin
1e232ed083 Revert previous (SCN*FAST*) and make PRI*FAST* identical.
Should fix the default (gcc 4.5 based) build.
2014-08-17 20:22:41 +00:00
justin
2ef27288ed Fix memory leak on error case, as reported in
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
2014-08-17 19:28:46 +00:00
joerg
5983af161f Add new option -P to print only the symbol table size. 2014-08-17 19:12:59 +00:00
matt
5b3354816c Add proper registers for register counts. 2014-08-17 16:57:37 +00:00
matt
7b338264bf Rework so that the ctzsi builtin is supported. 2014-08-17 16:25:21 +00:00
matt
d28139700f VAX does need __clzsi2 2014-08-17 16:14:59 +00:00
matt
d32bdc3217 add a missing register prefix. 2014-08-17 16:14:19 +00:00
wiz
3de47c839c Add missing parameter in printf. From Henning Petersen in PR 49122. 2014-08-17 10:01:49 +00:00
wiz
ac40b25ccf Fix year of Hawaiian Admission Day. From Henning Petersen in PR 49123. 2014-08-17 10:01:14 +00:00
tsutsui
05114bab99 Use C99 struct initializer. Also tweak some inconsistent TAB/space.
No binary change on i386.
2014-08-17 08:54:44 +00:00
apb
b41d70db45 Don't print ccd_size with %zu; it no longer has type size_t.
Instead, cast to uintmax_t and print with %ju.
2014-08-17 07:05:44 +00:00
christos
0a7d28b495 remove extra initialization 2014-08-17 06:11:48 +00:00
wiz
70e44a6c96 Bump date for previous. 2014-08-16 21:50:15 +00:00
sborrill
7d706cf73d Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works
with component and total sizes of > 2TB.
Add COMPAT_60 code for platforms where this alters userland-accessible
structures.
Make kernel print device information when a ccd configured.
Fix some typos in comments.
2014-08-16 19:27:27 +00:00
apb
a544a9c45e Add commented out "#options COMPAT_70" to all kernel configuration
files that already had commented out "#options COMPAT_60".
2014-08-16 17:57:37 +00:00
apb
2275423cea Add "no options COMPAT_70" to all kernel configuration files that
already had "no options COMPAT_60".
2014-08-16 17:57:02 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
maxv
b6cc446ce5 http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
#03-0x02: Memory leak

ok ozaki-r@
2014-08-16 17:27:09 +00:00
apb
f498235332 Add COMPAT_70 to conf/files; add compat_70 to kern/syscalls.conf
and compat/netbsd32/syscalls.conf.
2014-08-16 17:24:28 +00:00
manu
440aad5bad Remove a warning that happens when the filesystem cleanly exits. Just
display a message when running in debug mode.
2014-08-16 16:32:04 +00:00
manu
beafd5bc7c Removed unimplemented mmap and seek method. seek's declaration caused
seek request to be passed backand forth between kernel and userland
while we did nothing about them.
2014-08-16 16:31:15 +00:00
manu
781f78b809 Use just introduced open2 PUFFS method and its PUFFS_OPEN_IO_DIRECT oflag
to implement FUSE's OPEN_IO_DIRECT, by which the filesystem tells the kernel
that read/write to the file should bypass the page cache.

Remove a warning about read beyond EOF which will now normally appear when
page cache is bypassed.
2014-08-16 16:28:43 +00:00
manu
ccfb03f9b0 Add an open2 method, like open but with an additionnal oflags used
by the filesystem to send back information about the file.
This is used to implement PUFFS_OPEN_IO_DIRECT by which the filesystem
tells the kernel that read/write should bypass the page cache.
2014-08-16 16:25:44 +00:00
christos
b4cf015091 Reduce diffs with upstream by automatically defining INITIALIZE as it was
intended.
2014-08-16 16:22:21 +00:00
manu
7642144c05 Add a oflags input field to open requests so that the filesystem can pass
back information about the file. Implement PUFFS_OPEN_IO_DIRECT, which
will force direct IO (bypassing page cache) for the file.
2014-08-16 16:19:41 +00:00
apb
b83e765155 Document options COMPAT_40, COMPAT_50, and COMPAT_60. 2014-08-16 15:34:33 +00:00
nakayama
f22f501132 Add support for Spatializer, 3D audio effects embedded in ES1869
and ES1879 to ess(4).

Tested on my old laptop, mobio NX.
2014-08-16 13:01:33 +00:00
apb
06c335e708 Document supported subsets of image formats,
extracted from comments in src/sys/dev/stbi/stb_image.c.

XXX: This is not the right place to document supported image formats
for splash screens.
2014-08-16 12:30:12 +00:00
apb
e25d321f4d Document fs, menu, rndseed, and splash commands.
Add rescue(8) to SEE ALSO.
Also a little copy editing.
2014-08-16 11:41:37 +00:00
apb
e73191e17d Mention that some platforms may have boot menus, and may support
other boot protocols.  Also change some [i386 only] comments to [x86 only].
2014-08-16 11:39:47 +00:00
christos
f31197977a gcc on the sparc needs help with variables it thinks are unitialized, but are not. 2014-08-16 10:38:43 +00:00
apb
f80fae768b To get no space between [device:] and [filename],
the mdoc input needs ... Oc Ns Oo ..., not ... Ns Oc Oo ....
2014-08-16 08:43:12 +00:00
hannken
b041904f72 Needs HASH_SLIST, not HASH_LIST. 2014-08-16 07:22:30 +00:00