Commit Graph

215088 Commits

Author SHA1 Message Date
christos 7655db5ec2 fix lint. 2012-11-24 15:20:58 +00:00
christos 33b3ee33ee mention that kevent returns now EOPNOTSUPP. 2012-11-24 15:16:52 +00:00
christos 4669372c9c - initialize kn_id
- in close, invalidate f_data and f_type early to prevent accidental re-use
- add a DIAGNOSTIC for when we use unsupported fd's and a KASSERT for f_event
  being NULL.
2012-11-24 15:14:32 +00:00
christos 7e72d438b2 Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported
fds. XXX: We should really fix the fd's to be supported in the future.
Unsupported fd's have a NULL f_event, so registering crashes the kernel with
a NULL function dereference of f_event.
2012-11-24 15:07:44 +00:00
christos 0156034a08 Add a test for adding an event to an unsupported fd. 2012-11-24 15:05:45 +00:00
alnsn fab5cb6386 Document MKSLJIT variable. 2012-11-24 14:01:28 +00:00
alnsn 012f33e5f2 Add sljit and bpfjit to evbmips. Not enabled by default. 2012-11-24 14:00:35 +00:00
apb 6f1f99ca7a Teach gcc4.1's cpp about the magic __COUNTER__ macro,
which returns a unique integer each time it is expanded.
This code was written without reference to any other
implementation of the same feature.
2012-11-24 09:07:44 +00:00
christos bbd1e49222 Use __arraycount(), and cast to u_int. 2012-11-24 07:16:04 +00:00
christos 5c26317391 bufmem is unsigned. 2012-11-23 15:35:57 +00:00
joerg 463d2a0e8f Add RCS keyword. Avoid overflow in constant. 2012-11-23 14:48:31 +00:00
joerg d3095eb543 Explicitly cast enum type. 2012-11-23 14:27:14 +00:00
njoly a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00
martin 5873910091 Split the test cases where root/non-root makes a difference in two and mark
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
2012-11-23 08:24:20 +00:00
wiz 7ac72149a6 Grammar fix. 2012-11-23 07:29:52 +00:00
pgoyette a5f70a7bc1 Fix format string to resolve build break 2012-11-23 06:44:38 +00:00
christos 0f21b86617 use more sysctl 2012-11-23 03:47:36 +00:00
christos 06cfe04c08 fix wrong sysctl 2012-11-23 03:46:35 +00:00
christos 9a3978f67e use more sysctl 2012-11-23 03:37:27 +00:00
christos abc21e6c39 use sysctl 2012-11-23 03:33:05 +00:00
joerg ab86636a8f Adding missing new lines in output. 2012-11-23 02:57:57 +00:00
matt df86f8dd33 Enable ETTF. 2012-11-23 02:17:15 +00:00
christos 2696762d5f mbufs display was broken since the time we moved to percpu stats. 2012-11-23 01:43:10 +00:00
christos f17f1ddf91 PR/47222: Manuel Bouyer: Fix syscall display to show something reasonable. 2012-11-23 00:05:18 +00:00
pooka a733ce9a7a Support clang as EXTERNAL_TOOLCHAIN 2012-11-22 21:41:22 +00:00
pooka 0163bf03f8 satisfy the slightly more picky clang 2012-11-22 21:23:08 +00:00
pooka 2b493f5e4b Pass linker script with -Wl,-T to avoid clang incompating itself out
without flagging an error.
2012-11-22 21:21:21 +00:00
agc 054ef4df4b revert previous change for LIBDPLIBS until I have a chance to work out the
order for building pre-req libs
2012-11-22 21:20:44 +00:00
tsutsui 774f69a012 Use CDBUILDEXTRA to copy secondary bootloader into target CD iso image. 2012-11-22 20:26:33 +00:00
christos c867d6c9e1 don't compile the libc stuff twice. 2012-11-22 20:22:31 +00:00
martin ee21bbfc8f 0-terminate strings returned by readlinkat 2012-11-22 20:17:48 +00:00
tsutsui 277ae0525b Make sure to initialize partition offset in cdopen(),
i.e. fix an uninitialized auto variable which happened
to be zero on XM6i emulator.

Now cdboot also works on real X68030.
2012-11-22 20:15:49 +00:00
reed 3a3bcb7dc5 Add some details about the hook scripts. 2012-11-22 17:16:30 +00:00
abs 2a29d4b2b4 - Correct macro usage;
- sort section order.

From Bug Hunting.
2012-11-22 16:19:49 +00:00
martin d875702485 Compare against modification time instead of creation time - which we did
not set.
2012-11-22 14:59:59 +00:00
martin 13981c9510 Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
just in case a filesystem would need to convert this to some other
representation.
2012-11-22 14:51:19 +00:00
abs 25e685524c Punctuation and (non-)capitalization fixes.
From Bug Hunting.
2012-11-22 14:27:32 +00:00
mbalmer 961d9fb287 Fix two quotes from "The Tao of Programming". From FreeBSD. 2012-11-22 11:32:19 +00:00
martin 6747337601 Initialize "ok" (and thereby fix the vax build) 2012-11-22 11:26:28 +00:00
martin ebfa54d646 Add o32 version of libnetpgpverify.so.4 and friends 2012-11-22 11:23:43 +00:00
christos fe230c9d39 Don't call the destructor in pthread_key_delete() following the standard. 2012-11-22 08:32:36 +00:00
agc ef7daf19a9 link libz and libbz2 into the netpgpverify library, rather than into the
executable, via LIBDPLIBS.
2012-11-22 04:05:57 +00:00
agc 53475f6b40 Fix some lint 2012-11-22 00:38:45 +00:00
agc e5e8eae465 Fix some lint - from Havard Eidnes 2012-11-22 00:37:55 +00:00
jakllsch 4ca1f26828 Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits.
Additionally, this feature allows this field to be represented in file
system block size units rather than DEV_BSIZE units.
2012-11-21 23:11:23 +00:00
rkujawa cde2f36932 Remove confusing comment, misc style. 2012-11-21 22:37:03 +00:00
rkujawa 8a98aa5082 Regen kernel configs. 2012-11-21 22:35:19 +00:00
rkujawa 1bf63ff331 Enable wdc at xsurf, remove WDC_NO_IDS (phx@ confirmed it's not needed). 2012-11-21 22:33:50 +00:00
jakllsch 26f3fbc515 Add various newer Ext2 superblock feature bits and inode flag bits. 2012-11-21 20:45:35 +00:00
pooka 0e23ad4a3c unrevert previous. i can't figure out how to make the build break with
the change anymore, so assume it was a sunspot.
2012-11-21 20:30:01 +00:00