Commit Graph

205363 Commits

Author SHA1 Message Date
christos
fa52ba2c5b merge 0.7.3 2011-09-10 20:59:03 +00:00
christos
e6e4448bba Import wpa_supplicant and hostapd 2011-09-10 20:53:49 +00:00
wiz
72a60d8cd5 Another option order fix. 2011-09-10 20:47:33 +00:00
wiz
51f435b8eb Sort options and descriptions in standard order.
Remove unecessary Bk/Ek in SYNOPSIS.
2011-09-10 20:46:43 +00:00
apb
b799ebe187 Disable rebuilding files in the source tree. 2011-09-10 20:35:42 +00:00
christos
e8ad09e0b7 PR/45257: Instead of passing a 32bit sec and 32 bit usec timestamp in little
endian format by default, pass a struct timespec in native host format. Add
-C flag to produce a compatible timestamp like before.
2011-09-10 20:04:28 +00:00
apb
3cc8722d9f Don't include .depend.* files during "make clean" or "make cleandir" 2011-09-10 19:26:18 +00:00
apb
87213f7215 Don't automatically load ".depend" files during "make clean"
or "make cleandir".
2011-09-10 19:25:10 +00:00
marino
bc3992397d Add John Marino to the list of developers. 2011-09-10 19:07:57 +00:00
jakllsch
eefea85339 Correct and improve some comments. Collect unused variables. Add a define. 2011-09-10 18:38:20 +00:00
christos
2ba0028160 - remove bogus casts
- print recycled vnode flags
2011-09-10 18:35:28 +00:00
christos
ebb6dc2ee4 add libutil. 2011-09-10 18:34:54 +00:00
christos
48bd4d9cb5 add all the possible fileops here, and if there is one we know about
print that instead of the passed name.
2011-09-10 18:34:40 +00:00
apb
00aba3793b Revert previous now that "make cleandir" uses bsd.clean.mk to clean
both the obj dir and the src dir.
2011-09-10 17:02:46 +00:00
apb
386a389aab Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.
2011-09-10 16:57:35 +00:00
tron
ac4bb8cc15 Postfix has been been updated to version 2.8.5. 2011-09-10 11:44:34 +00:00
reinoud
52976d256a Make cpu_lwp_trampo only jump once and make successive jumps go to the func
only
2011-09-10 10:37:06 +00:00
tron
01b50dc734 Import Postfix version 2.8.5. Changes since version 2.8.4:
- The Postfix Milter client logged a "milter miltername: malformed reply"
  error when a Milter sent an SMTP response without enhanced status code
  (i.e. "XXX Text" instead of "XXX X.X.X Text").
- The Postfix Milter client sent a random {client_connections} macro value
  when the remote SMTP client was not subject to any smtpd_client_* limit.
  As a workaround, it now sends a zero value instead.
2011-09-10 10:35:21 +00:00
reinoud
de98cb6774 The illegal instruction handler can exist on the usermodes stack and the
stackframe will disappear when its switched back.
2011-09-10 10:29:39 +00:00
tron
aff2bc3b4f Avoid comparison between signed and unsigned integer expressions by
casting the offset to a unsigned type. This fixes the NetBSD/i386
and hopefully the NetBSD/amd64 build.
2011-09-10 10:06:10 +00:00
mbalmer
7821aff47b Include sysctl descriptions when building modules. 2011-09-10 08:27:06 +00:00
christos
92ad06d875 make this build on amd64 and remove redundant and unused code. 2011-09-09 22:51:44 +00:00
reinoud
2041dd27bc Make the trampoline only jump once!
All next calls are directed directly to the func specified.
2011-09-09 20:14:33 +00:00
reinoud
a1730aac72 Use the new thunk_makecontext() scheme with function and upto 3 aguments 2011-09-09 20:06:04 +00:00
reinoud
ed2801c109 Sanitise thunk_makecontext() allowing upto 3 random arguments 2011-09-09 20:04:43 +00:00
apb
37b9b22e26 Add tests for the shell under which build.sh is run. If the
shell fails the tests, then build.sh tries to re-exec itself
under a more suitable shell.
2011-09-09 18:48:34 +00:00
reinoud
c37f580072 Streamline makecontext() calls to really only specify the number of arguments
to prevent side-effects
2011-09-09 18:41:16 +00:00
christos
b6f6e1bfbd fix a shadow variable warning. 2011-09-09 17:48:39 +00:00
reinoud
772c2c0c6d Clean up cpu_trampoline and link the context so we dont have to manually do
that.
2011-09-09 16:24:44 +00:00
manu
5a6d3e75bd Serialize access to file size. We already have such a thing in the
kernel, where it fixes race for PUFFS filesystems, but we need it again
in perfused since FUSE filesystems are allowed to reorder requests.

The huge issue is in the asyncrhonous SETATTR sent by fsync. It is
followed by a syncrhnous FSYNC, so if the filesystem does not reorder
requests, once the FSYNC returns, we are confident the SETATTR is done.
But since FUSE can reorder, we need to implement sync in perfused.
2011-09-09 15:45:28 +00:00
manu
f19a344abc Make sure perfused remains locked in memory, otherwise we can get
deadlocks in low memory situations, where ioflush waits for perfused
to fsync vnodes, and perfused waits for memory to be freed.
2011-09-09 15:35:22 +00:00
jakllsch
2eb0dcce4e Replace pms_synaptics_send_command() and identical pms_elantech_send_command()
with pms_sliced_command().  Linux shows that this sequence can also be used by
"Logitech PS/2++" protocol as well.
2011-09-09 14:29:47 +00:00
apb
5f70d1f98e Move the code for creating src/BUILDING from "make build-docs" in
src/Makefile to "make regen" in src/doc/Makefile, and update a comment
in doc/BUILDING.mdoc to match.
2011-09-09 14:23:37 +00:00
apb
94bddc04db Revisions 1.92 and 1.93 of src/BUILDING were not reflected in
src/doc/BUILDING.mdoc, so those changes were lost when src/BUILDING
was regenerated in revision 1.94.

Now update src/doc/BUILDING.mdoc and regenerate src/BUILDING to
reinstate the lost changes.  (I also edited one of the changes, to use
the phrase "space-separated list" for consistency with other parts of
the document.)

The original changes were:
----------------------------
revision 1.93
date: 2011/08/06 19:52:49;  author: jnemeth;  state: Exp;  lines: +5 -0
Add description of MKKMOD, part of PR misc/45216
----------------------------
revision 1.92
date: 2011/01/29 16:56:26;  author: jym;  state: Exp;  lines: +6 -4
Pass down INSTALLSETS variable to installsets target. Use :Q to escape
shell meta-characters, as the variable contains a list of sets, separated
by spaces.

$ ./build.sh -V INSTALLSETS="base etc" install=idir

should now work as expected.

Reviewed by apb@ on tech-toolchain.
----------------------------
2011-09-09 14:01:28 +00:00
jakllsch
33419b02ae const-ify input command buffer argument to
pckbport_poll_cmd and pckbport_enqueue_cmd.
2011-09-09 14:00:01 +00:00
apb
a4d065775d Allow MAKEFLAGS to be set via build.sh -V. Somebody asked for this
in 2008.

Also add comments above a few functions in build.sh, and bump copyright
dates.
2011-09-09 13:29:23 +00:00
reinoud
6efc43af66 machdep.c: Cleanup the machine dependent code and set the carry flag on error
out. While here also clean up register printing.

syscall.c: Add debug syscall printing code to track basic syscalls being
taken.
2011-09-09 12:44:27 +00:00
christos
fa2954d50c document another non-literal string. 2011-09-09 12:43:14 +00:00
reinoud
4d72a86db6 Make pmap.c not so chatty unless we've enabled debug and verbose 2011-09-09 12:41:12 +00:00
reinoud
8058f19f87 Implement TBL functionality by remembering if its mapped in or not before
guessing and adjusting access types.

While here, when we hit a read-access fault and reference the page, also mark
it for executable when its permissions permit it. Distinguising between the
two is neigh impossible as we need to guess/derive the access the process
tried to have to the memory: we dont know if its a read/write/exec try.

Also clean up some debug messages.
2011-09-09 12:28:05 +00:00
reinoud
f0de0f3104 Be more verbose in trap.c on what address should be passed to userland. Also
detail about what function goes into recurse
2011-09-09 12:21:57 +00:00
apb
f6a28000e5 Document the FILESBUILD variable, which was added in
bsd.files.mk revision 1.41 dated 2010-02-03.
2011-09-09 10:08:14 +00:00
christos
07ba3f910e PR/45344: Pierre Allegraud: Added Dlink DWA-110 in rum(4) 2011-09-08 22:06:54 +00:00
christos
bb8daee5b8 PR/45343: Pierre Allegraud: Add missing nonliteral format comment. 2011-09-08 22:05:00 +00:00
wiz
adb6017bcb Describe options and arguments. Bump PKGREVISION.
Based on PR 45275 by Julian Fagir.
2011-09-08 19:55:52 +00:00
reinoud
cf0d0b43fb Implement a working(!) syscall! well, it can call a number of syscalls without
dying ;)
2011-09-08 19:38:59 +00:00
reinoud
71ec3c5abe Remove not used variable from the pcb.h 2011-09-08 19:37:01 +00:00
jmmv
7970eac628 It's ATFFILE=no, not NOATFFILE=true. This fixes the contents of the
installed Atffile, and allows the tests to actually run.
2011-09-08 18:44:38 +00:00
jmmv
5de965f758 Remove temporary file committed by mistake. 2011-09-08 18:27:01 +00:00
jym
9ce680e4f1 Use a scratch space in panic(9) so we can store a more meaningful
message for panicstr instead of just the format string.

Keep setting the panicstr to fmt beforehand though for safety precaution.

ok joerg@.
2011-09-08 18:15:56 +00:00