Commit Graph

219820 Commits

Author SHA1 Message Date
christos
b8a7bdb609 move proto to small 2013-07-02 01:39:17 +00:00
joerg
2484b3a328 Fix memset arguments. 2013-07-02 00:18:24 +00:00
christos
61276308e7 - remove unused variable
- call rdmsr() twice to avoid the 5.4210108624275222e-18% probability that
  rdmsr() returns 0.
From dsl@
2013-07-02 00:01:17 +00:00
joerg
7d41c5a7bc Ensure free(3) is declared before use. 2013-07-01 23:58:42 +00:00
joerg
b45db50f23 Fix option parsing on unsigned char platforms. 2013-07-01 21:59:20 +00:00
joerg
e49f3fb2ce Don't pick up strcmp as macro from libkern.h. 2013-07-01 20:51:59 +00:00
riastradh
51ab2460e3 Remove now-needless rump cprng_strong_deplete stub.
These rump stubs need to go away at some point...
2013-07-01 20:02:15 +00:00
riastradh
a7f90b2fd2 Fix races in /dev/u?random initialization and accounting.
- Push /dev/random `information-theoretic' accounting into cprng(9).
- Use percpu(9) for the per-CPU CPRNGs.
- Use atomics with correct memory barriers for lazy CPRNG creation.
- Remove /dev/random file kmem grovelling from fstat(1).
2013-07-01 15:22:00 +00:00
christos
958c0aac6e Instead of borrowing the mount code to get the nfs arguments, just use
the system call directly. It is shorter and works...
2013-07-01 15:16:33 +00:00
joerg
c3f5de37f1 Explicitly disable unwind table generation. 2013-07-01 12:48:03 +00:00
christos
d86fc82dda Add MLD_LISTENER_REDUCTION per RFC 3542. Requested by Lorenzo Colitti. 2013-07-01 12:43:15 +00:00
skrll
34b5ada363 PFIL_HOOKS is dead. 2013-07-01 08:32:48 +00:00
matt
b8bfdc198c Print out PMUSERSR 2013-06-30 22:02:56 +00:00
matt
95c53d32f1 Add MD_CPU_HATCH 2013-06-30 22:02:29 +00:00
matt
ebc78062c4 Move stand to its own line. 2013-06-30 21:56:44 +00:00
matt
8247cf6dae Add -fno-unwind-tables
Add CPUFLAGS=-mcpu-strongarm
Add ${_MKTARGET_LINK}
2013-06-30 21:54:26 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
wiz
0ed5815bd6 Strings are NUL-terminated, not NULL-terminated. 2013-06-30 19:19:12 +00:00
njoly
8b89b15c25 Fix pf module build. Adjust pfil_remove_hook 3rd arguments. 2013-06-30 17:23:52 +00:00
pooka
5df7109d74 Raise lo0 so that ipv6 config gets done for it.
Requested and tested by Justin Cormack.
2013-06-30 16:04:36 +00:00
martin
5e7b1b08fc Initialize mount args version info.
Add comment about a bogusly used "newfs" where "newfs_udf" is meant.
2013-06-30 15:42:43 +00:00
martin
05df297d98 Fix copy & pasto, notice by Nicolas Joly, one step closer to solving
PR kern/47974.
2013-06-30 15:05:49 +00:00
rmind
430eae4e07 Update pf to pfil(9) changes. Missed in previous commit. 2013-06-30 14:58:48 +00:00
rmind
4080fc40d9 RUMP fix: ifdef weak alias. Pointed out by martin@. 2013-06-30 12:20:32 +00:00
wiz
7b3d8f12ac Fix second problem noted by Henning Petersen in PR 47975:
renameat is in unistd.h. Bump date.
2013-06-30 11:48:42 +00:00
wiz
4afb2cfe8c Fix typo in SYNOPSIS. From Henning Petersen in PR 47975. 2013-06-30 11:47:00 +00:00
martin
6caac9d0e7 Rearrange to make lint deal with it (to unbreak the build).
Someone please (1) fix lint and then (2) back this out ;-)
2013-06-30 10:07:43 +00:00
matt
1729cd5b7e For O32, don't save $gp on the stack, save $s0 instead and just keep $gp
in $s0.
2013-06-30 08:00:34 +00:00
matt
138bf8b9ef When opening a ttys files, try path.<machine> first. This helps
machine archs which have multiple ttys files (arm, mips, powerpc, m68k, sh3)
2013-06-30 07:50:54 +00:00
rmind
f304ff8667 Welcome to NetBSD 6.99.23: pfil(9) changes. 2013-06-30 00:00:53 +00:00
christos
3a4a09ca06 one copy of the name is enough, and free it. 2013-06-29 23:06:29 +00:00
christos
18c826e11c declare the variables that getnfsargs need in getnfsargs so that they can
easily be used from other programs.
2013-06-29 22:56:26 +00:00
christos
da960e0858 Use the protocol we mounted the filesystem with instead of always udp.
(untested, but should fail back to udp).
2013-06-29 22:53:04 +00:00
rmind
f04a92b1d6 - Rewrite parts of pfil(9): use array to store hooks and thus be more cache
friendly (there are only few hooks in the system).  Make the structures
  opaque and the interface more strict.
- Remove PFIL_HOOKS option by making pfil(9) mandatory.
2013-06-29 21:06:57 +00:00
matt
1d832de058 am335x_cpu_clk is now am335x_sys_clk and am335x_cpu_clk and they are now
in <arm/omap>.
2013-06-29 20:44:52 +00:00
matt
3110b17134 Move am335x_sys_clk() and am335x_cpu_clk() here. 2013-06-29 20:43:33 +00:00
reinoud
052045ad4c Small rewording of the examples section. 2013-06-29 20:41:47 +00:00
matt
e3a4186fcc Add code to allow changing the cpu frequency.
XXX the sysctl_createv fails for "current" with ENOENT.
2013-06-29 20:21:41 +00:00
matt
7e2219404b Add a prcm_bootstrap(bus_space_handle_t) so that early bootstrap code can use
prcm_read_4 and prcm_write_4.
2013-06-29 20:20:17 +00:00
matt
1abd5b053f Make the softc static. Add a prcm_bootstrap(bus_space_handle_t) so that
early bootstrap code can use prcm_read_4 and prcm_write_4.
2013-06-29 20:19:54 +00:00
rmind
795c936845 sy_invoke: cache the predicate value and simplify the logic (also, fix the
tab/space mess while here).
2013-06-29 16:50:51 +00:00
rmind
7ae1c4ed1b libkern: add murmurhash module. 2013-06-29 16:02:01 +00:00
christos
865e3e8f40 PR/47973: Justin Cormack: build uses <sys/signal.h> not in POSIX 2013-06-29 15:19:32 +00:00
jdf
ddd897e067 Added entries: BIOS, DP, DVI, HDMI
Changed entries: BIOS, CGA, DDWG, DP, DVI, EGA, HDCP, HDMI, MCGA, MDA, OQL,
                 RAID, RDF, SMBIOS, SVGA, VESA, VGA, XGA

Patch supplied by Bug Hunting.
2013-06-29 12:22:48 +00:00
wiz
0504958a89 Improve wording. 2013-06-29 08:14:31 +00:00
mlelstv
9adb142f7d Change to home directory only after setting the full user context
to avoid issues with NFS or other user-mapped mounts that don't
give root the privilege to chdir there.
2013-06-29 05:08:35 +00:00
yamt
006f500d6a add "maxthread" tunable to login.conf to adjust RLIMIT_NTHR.
PR/47626
ok'ed by christos
2013-06-29 04:52:55 +00:00
matt
75db6d9605 Add sysctl 2013-06-28 22:13:56 +00:00
he
626b3edbd1 Bump the INSTALL ramdisk by 100k so that the contents fits again.
Approved by nonaka@
2013-06-28 19:24:28 +00:00
christos
8e33b891d8 prevent re-entry race and crash 2013-06-28 17:36:18 +00:00