Commit Graph

219504 Commits

Author SHA1 Message Date
christos
8acb1eb6b2 Fix the non-thunderbolt case. XXX: Is that right even?
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:46:44 +00:00
christos
92ee2313b4 fix uninitialized pointer. This could have never worked.
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:44:15 +00:00
christos
8d515abca4 undefined behavior, buffer overflow
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 14:42:31 +00:00
jakllsch
9e60c83703 Print the ioapic version using unambiguous base.
From Felix Deichmann.
2013-06-28 14:31:49 +00:00
reinoud
cb0bc59d6c Add the rumpfs_udf to the LDADD variable 2013-06-28 13:04:06 +00:00
mrg
64daf2467d re-run mknative-gcc. pickups fixes for ENABLE_SHARED (which
might want to be pulled up to netbsd-6?), removes the
entirely wrong -I/usr/include/libelf from various include flags
and fixes for when NEWCONFIGDIR != NETBSDSRCDIR.

i should fix PR 47955 but i haven't setup a system to test.
2013-06-28 12:45:01 +00:00
wiz
a87a4e005d Prefer Aq to \*[Lt] etc. 2013-06-28 10:13:18 +00:00
mrg
9b70ac591a pass both NEWCONFIGDIR and NETBSDSRCDIR to mknative-gcc. 2013-06-28 08:30:10 +00:00
roy
aaccc84c03 If we die and there are no timers, just exit. 2013-06-28 07:59:32 +00:00
msaitoh
6c7aa7e063 The default of hpcarm's MACHINE_ARCH is arm. 2013-06-28 06:17:37 +00:00
matt
980a5d040c Make this like all other INSTALL files. Override RAMDISKNAME to sshramdisk 2013-06-28 06:00:30 +00:00
matt
9737b97aee Bump memory disk to 3.5MB 2013-06-28 05:59:59 +00:00
matt
abca00605b Add RAMDISKNAME to allow a config to override the default name (ramdisk). 2013-06-28 05:59:38 +00:00
matt
e8a40c8a2e Add drvctl 2013-06-28 05:58:57 +00:00
matt
7b3bf49e93 Add a routine to set the mpu multiplier. (not used yet) 2013-06-28 02:31:16 +00:00
matt
6fb884f892 Make sbdrop panic more verbose 2013-06-28 01:23:38 +00:00
matt
a8c0b1a9f4 Make m_copydata panics more verbose 2013-06-28 01:23:05 +00:00
matt
a905a9f307 Convert a KASSERT to a KASSERTMSG 2013-06-28 01:21:45 +00:00
matt
8e19601507 Make page loaning in pipes color aware. 2013-06-28 01:21:06 +00:00
matt
9d2720c820 ufs -> ffsv1 (ffsv2 is commentout due to size limitations) 2013-06-28 01:13:40 +00:00
matt
6de09b649c Add code to make eMMC 8-bit (disabled) since it still needs code in omap3_sdhc
to actually enable 8-bit mode.
2013-06-28 00:53:04 +00:00
matt
9b23f60058 Remove -d from BOOT_ARGS
Remove HWCLOCK definitions
2013-06-28 00:52:02 +00:00
matt
93fa1c932a Add TIAM335X SDMMC BASE definitions 2013-06-28 00:50:22 +00:00
yamt
44f7683783 fix descriptor leaks. PR/47805
this fix was taken from FreeBSD SVN rev 199953 (Jilles Tjoelker)
    ------------------------------------------------------------------------
    r199953 | jilles | 2009-11-30 07:33:59 +0900 (Mon, 30 Nov 2009) | 16 lines

    Fix some cases where file descriptors from redirections leak to programs.

    - Redirecting fds that were not open before kept two copies of the
      redirected file.
	sh -c '{ :; } 7>/dev/null; fstat -p $$; true'
	(both fd 7 and 10 remained open)
    - File descriptors used to restore things after redirection were not
      set close-on-exec, instead they were explicitly closed before executing
      a program normally and before executing a shell procedure. The latter
      must remain but the former is replaced by close-on-exec.
	sh -c 'exec 7</; { exec fstat -p $$; } 7>/dev/null; true'
	(fd 10 remained open)

    The examples above are simpler than the testsuite because I do not want to
    use fstat or procstat in the testsuite.
2013-06-27 23:22:04 +00:00
jdf
eb2a9790dd * adjust indentation of list block
* fix capitalization
 * remove superfluous word ('The')

Patch supplied by Bug Hunting.
2013-06-27 21:55:10 +00:00
matt
350cb9bc6c Switch arm, earm, powerpc to use crtbegin.c
Use -fpie for crtbegin.
2013-06-27 21:24:39 +00:00
christos
c194fe82de close fp
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-27 21:24:08 +00:00
christos
d05665da48 free boot_code
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-27 21:23:21 +00:00
wiz
2c3c4687ae New sentence, new line. Fix typo. Remove 'i'. 2013-06-27 21:22:46 +00:00
christos
7bae9734a8 fix uninitialized variable
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-27 21:22:16 +00:00
christos
fc6be43550 don't forget to insert the io to the list
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-27 21:21:05 +00:00
christos
7159e1bc0a move assignment outside setjmp, because static analyzers are not smart enough
to know that it is impossible for id to be uninitialized.
2013-06-27 21:16:20 +00:00
christos
e8ffb7feee flip src/dst 2013-06-27 20:17:36 +00:00
christos
0234645c61 add pktinfo stuff 2013-06-27 20:14:25 +00:00
christos
9dc2582e68 add pktinfo tests 2013-06-27 20:03:36 +00:00
christos
9e823bd0f7 add a pktinfo test 2013-06-27 20:01:24 +00:00
christos
3829533e7f implement IP_PKTINFO and IP_RECVPKTINFO. 2013-06-27 19:38:16 +00:00
christos
4c8669e4d6 use sbcreatecontrol1() and m_add() instead of open-coding everything, and
getting it slightly wrong.
2013-06-27 18:54:31 +00:00
christos
931cb652f6 Introduce a more general method of sbcreatecontrol, sbcreatecontrol1 that
can take flags (M_WAITOK), and allocate large messages if needed. It also
returns the allocated pointer instead of copying the data to the passed
pointer. Implement sbcreatecontrol() using that.
2013-06-27 18:53:17 +00:00
christos
45ab582ccf - add m_add() that puts an mbuf to end of a chain
- m_append() and m_align() with their family
- remove parameters from prototypes
2013-06-27 17:47:18 +00:00
roy
5bec235cc5 Check valid lengths of RDNSS and DNSSL options when rtadvd receives RA/RS.
rtadvd doesn't actually look into the option itself, but it may do in the
future to warn about consistency.
2013-06-27 15:46:40 +00:00
martin
3e2422d481 Simplify with sy_invoke() 2013-06-27 15:27:46 +00:00
matt
5c85b99a56 Only print CBAR on those cortex with CBAR 2013-06-27 14:58:55 +00:00
christos
e2d1c3abce remove file that did not go before. 2013-06-27 14:52:58 +00:00
christos
59f914cb33 SSD cards is stupid. 2013-06-27 14:51:30 +00:00
mrg
6bc40c33c4 export ENABLE_SHARED again, for mknative. 2013-06-27 14:44:22 +00:00
mrg
42579898fb delete generated by our build files that break r/o builds. 2013-06-27 14:43:29 +00:00
martin
8d76df8028 Check for needed authentication even before redirecting. 2013-06-27 13:11:11 +00:00
martin
19574f3ec5 Fix debug output for redirects 2013-06-27 13:00:43 +00:00
wiz
bf38682790 Remove clang workaround, problem was fixed using upstream commit. 2013-06-27 12:44:58 +00:00