Commit Graph

189537 Commits

Author SHA1 Message Date
wiz
1bc7bb47a0 Sort ERRORS section. 2010-04-05 07:53:47 +00:00
wiz
a59af7eb39 Fix date. 2010-04-05 07:44:28 +00:00
joerg
58e867556f Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.
2010-04-05 07:19:28 +00:00
he
bb89b7208d Extend struct malloc_type to count the number of active allocations
per size, and make vmstat report this information under the "Memory
statistics by type" display, which is only printed when the kernel
has been compiled with KMEMSTATS defined, like this:

Memory statistics by type                                Type  Kern
           Type InUse  MemUse HighUse   Limit   Requests Limit Limit Size(s)
          wapbl    15   4192K   4192K  78644K     376426     0     0 32:0,256:3,512:6,131072:1,262144:2,524288:3

Since struct malloc_type is user-visible and is changed, bump kernel
revision to 5.99.26.

While it is true that malloc(9) is in general on the path of slowly
being replaced by kmem(9) (kmem_alloc/kmem_free), there remains a
lot of points of usage of malloc/free, and this could aid in finding
any leaks.  (It helped finding the leak fixed in PR#42661.)

This was discussed with and somewhat hestitantly OKed by rmind@
2010-04-05 07:16:12 +00:00
nakayama
92bfeebb2c Avoid use of LOOKUP_BOOTINFO, since LOOKUP_BOOTINFO causes panic
when BTINFO_XXX is not passed from ofwboot.

This makes -current kernel bootable with old ofwboot.
2010-04-04 23:38:55 +00:00
martin
b4deff4fda Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
specific dhcpcd hook scripts
2010-04-04 23:02:23 +00:00
martin
8299a0b61d Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
created by the sysinst specific dhcpcd hook
2010-04-04 22:56:44 +00:00
martin
2e897a5cc1 Turn a printf into a DPRINTF(), since we will very likely recover from
the condition (and it happens on stock install CDs)
2010-04-04 21:49:15 +00:00
martin
b1e20a7dbb cd_size: if we fake a size (and I realy have no idea why this would be a
good idea), at least set up all values to the fake values, as the caller
expects.
Should fix PR kern/39904, though if noone can find out why the fake value
would be needed, we should change it to just return 0 as suggested in the PR.
2010-04-04 21:36:22 +00:00
jruoho
31b5eda414 FTBFS, POV, TOCTOU, and YAGNI. 2010-04-04 17:55:52 +00:00
jnemeth
bc239ea58a don't leak a vnode and don't call namei (implicitly) twice 2010-04-04 17:18:04 +00:00
jakllsch
1f3f22f656 Note Intel 82855GM AGP support in agp(4). 2010-04-04 14:46:35 +00:00
jakllsch
058c4e6e3b Add (non-IGP) AGP port support for Intel 82855GM.
agp_intel tested with radeondrm(4).  agp_i810 tested with i915drm(4).
2010-04-04 14:40:05 +00:00
christos
f1b28409da ctime can return NULL 2010-04-04 01:36:03 +00:00
christos
3dc82e5062 handle ctime returning NULL. 2010-04-04 00:08:49 +00:00
jym
c4d1a64e49 Fix the comments about cpuid flags, according cpuid documentation by
Intel and AMD.
2010-04-03 23:17:05 +00:00
christos
4c1d35303b don't use NULL for 0 2010-04-03 19:01:15 +00:00
christos
a16ec97975 relative .PATH 2010-04-03 18:50:43 +00:00
christos
a27b6b66af remove useless double [[ 2010-04-03 18:43:54 +00:00
christos
3642b6f6d7 hack for amd64 2010-04-03 18:43:34 +00:00
christos
de23d8acad use relative .PATH, and remove one that is not needed. 2010-04-03 18:35:49 +00:00
christos
8e1b2eaa2f - use CPPFLAGS instead of CFLAGS
- use relative .PATH
2010-04-03 18:34:19 +00:00
jruoho
a1264b7faf Only unregister the sensors if these were successfully installed;
sysmon_envsys_unregister() does not check for NULL pointers gracefully.
2010-04-03 17:54:24 +00:00
njoly
0876f873dd Move most clock_getres syscall code, except for coypout call, to a new
clock_getres1() function which can be used by emulations. Adjust all
clock_getres syscalls to now make of use it.
2010-04-03 17:20:05 +00:00
jruoho
7fe08819d5 Update the limits when a change from absent to present is detected. 2010-04-03 16:29:22 +00:00
jruoho
a6664c93e0 Mention the history of stat(2) and fix the history of open(2). 2010-04-03 15:48:52 +00:00
jruoho
22451322a2 The functions read(), wait(), and write() appeared already in v2 UNIX. 2010-04-03 15:43:46 +00:00
jruoho
7e0f77d0f3 Add a history section. From OpenBSD. 2010-04-03 15:42:22 +00:00
jruoho
e029f37fb0 An unlink() appeared already in v2 UNIX. 2010-04-03 15:35:06 +00:00
jruoho
22c60c14ce Add some history. 2010-04-03 15:13:43 +00:00
jruoho
c1b7f739cf Some interesting additions to the history section. From OpenBSD. 2010-04-03 14:49:31 +00:00
jruoho
086a18e995 Trivia: one .Pp after .El, speak about NULL instead of nil pointers, etc. 2010-04-03 14:40:34 +00:00
pgoyette
7645fe957d If we're detaching the device, make sure we unregister the sensors. 2010-04-03 14:19:17 +00:00
pgoyette
cae66ef7cc When unregistering a device, in addition to reducing the global count
of sensors, we need to adjust the sme_fsensor values for some devices.
Failure to do this leaves a sparesly-populated number-space and can
subsequently result in overlapping sensors number assignments.  (This
only affects the compatability-mode API, but still needs to be fixed.)
2010-04-03 13:55:09 +00:00
plunky
ba9e7b8487 use -Wno-pointer-sign in the HAVE_PCC case also 2010-04-03 11:55:41 +00:00
tsutsui
8e04678e48 - add atari's EtherNEC to SYNOPSIS
- also pull comments about MD device description from each kernel config
- note that RTL8019 is widely used on local busses other than ISA
2010-04-03 11:00:11 +00:00
skrll
ab3a2fd811 Wrap long line. 2010-04-03 08:01:42 +00:00
skrll
0be33f66cf Add md_astpending to struct mdlwp and use it. 2010-04-03 07:46:01 +00:00
pgoyette
e11dcd85ce Insert missing ) 2010-04-03 02:08:30 +00:00
tsutsui
55bc1f1a41 Use time_t (not long) to save time_second value. 2010-04-02 23:31:42 +00:00
martin
2866ed0d7d Ooops, remove leftovers from the ramdisk / 2010-04-02 21:58:46 +00:00
spz
db894a99b3 update portmaster and releng lists 2010-04-02 21:52:55 +00:00
christos
99b1f1b15a ctime can return NULL. 2010-04-02 21:40:00 +00:00
christos
a41de9d317 check ctime. 2010-04-02 21:37:22 +00:00
christos
f7cd580182 check ctime return 2010-04-02 21:33:14 +00:00
martin
411ff5dead Move install CDs over to / on cd9660 (instead of a memory disk image) 2010-04-02 21:29:30 +00:00
jakllsch
216105d4cd regen 2010-04-02 20:34:10 +00:00
jakllsch
20b8a19c00 Add Intel 82855GM Host-AGP Bridge. 2010-04-02 20:32:15 +00:00
plunky
73d0ac941f - int putbuf_func ARGS((const char *s, size_t len));
+	int (*putbuf_func) ARGS((const char *, size_t));

for pcc
 - did not recognise pointer to function
 - argument names shadowed other arguments
2010-04-02 20:19:40 +00:00
christos
ff4e4fcdee fix typo. 2010-04-02 19:34:44 +00:00