Commit Graph

219504 Commits

Author SHA1 Message Date
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
christos
7807c80061 Prevent buffer overflows; reported by Maxime Villard 2013-06-28 17:20:15 +00:00
matt
d2b8f70ecf Make this compile again. 2013-06-28 17:13:34 +00:00
matt
ee9af514b0 Remove duplicate define of LFS_MAXNAMLEN 2013-06-28 16:14:06 +00:00
christos
b4e74c76f9 fix wrong variable check, remove casts
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:48:02 +00:00
christos
c22fbb82f6 remove useless initialization, KNF
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:46:37 +00:00
matt
741c872fa1 Use ANSI C string concatenation 2013-06-28 15:44:27 +00:00
matt
93e2a02e4a Use a multiple of 256 for the size. 2013-06-28 15:38:56 +00:00
christos
348fd11f73 remove useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:34:21 +00:00
christos
9a402121dd delete useless initialization
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:33:40 +00:00
christos
ed4feda3aa don't store random values in retval
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:32:20 +00:00
htodd
e6214e0872 Bump MEMORY_DISK_ROOT_SIZE to fix build. 2013-06-28 15:32:07 +00:00
htodd
7cea4ceb0f Bump imagesize to fix build. 2013-06-28 15:31:26 +00:00
christos
dfa91fc437 this could have never worked. Cleanup bogus code.
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:26:57 +00:00
joerg
9e69720425 Fix violations of the sequence point rule. 2013-06-28 15:04:35 +00:00
christos
b9bf0e6c5d prevent memory leak on error
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:49:14 +00:00
christos
d4897af65e avoid undefined behavior
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:48:17 +00:00